From f60149b5724c37d772f7277eb480fb1e0cf1e92a Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Sun, 7 Jul 2019 19:45:02 -0700 Subject: [PATCH] Lighter side bar --- docs/assets/theme.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/assets/theme.css b/docs/assets/theme.css index fcb628dfe..6a3289204 100644 --- a/docs/assets/theme.css +++ b/docs/assets/theme.css @@ -45,8 +45,8 @@ p { /* No-one likes lines that are 400 characters long. */ div.rst-content {max-width: 54em;} -.wy-side-nav-search, .wy-nav-top { - background-color: var(--sidebar-dark) !important; +.wy-side-nav-search, .wy-nav-top, .wy-menu-vertical li.current { + background-color: transparent; } .wy-side-nav-search a.icon-home { width: 100%; @@ -93,7 +93,7 @@ a.icon-home:before { border-right: 1em solid white; } -.rst-versions, .rst-versions .rst-current-version { background: var(--sidebar); !important; } +.rst-versions, .rst-versions .rst-current-version { background: #47375d; } .wy-menu-vertical span { color: white !important; font-size: 1.2em; @@ -103,7 +103,7 @@ a.icon-home:before { .wy-nav-side { - background: var(--sidebar); + background-image: linear-gradient(0deg, #47375d 0%, #7C5685 100%); font-weight: 300 !important; } @@ -123,10 +123,6 @@ footer {display: none;} color: var(--off-white) !important; } -.wy-menu-vertical li.current { - background: var(--sidebar) !important; -} - .toctree-l2 a:first-child {display: none;} /* ------------------------------------------------------------ */