From a462ffb310f7cf0e4b0bafa565cd5a6d3cade3dc Mon Sep 17 00:00:00 2001 From: somrat-gyver Date: Sun, 5 Jul 2020 09:49:50 +0600 Subject: [PATCH] modifed sidebar style --- assets/css/style.css | 14 +++++++++++--- layouts/partials/default.html | 6 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 4311212..bac5382 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -719,6 +719,14 @@ tbody { /* /single page */ /* side list */ +.sidebar{ + background-color: var(--white-color); + position: sticky; + top: 50px; + margin-bottom: 30px; + padding: 40px 10px 20px 10px; +} + .sidelist { display: block; } @@ -865,12 +873,12 @@ code { content: "\e6bc"; font-size: 25px; height: 30px; - width: 50px; - background: #fff; + width: 40px; + background-color: var(--white-color); color: inherit; text-align: right; z-index: 1; - left: -15px; + left: -5px; top: -3px; } diff --git a/layouts/partials/default.html b/layouts/partials/default.html index 8075bed..001555f 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -3,12 +3,12 @@
-
+