From 8d635b765dd8bccee0fd82f61dd25f90e61e5c85 Mon Sep 17 00:00:00 2001 From: Josh B Date: Mon, 8 Jun 2020 19:21:44 +1000 Subject: [PATCH] Set colours for active sidebar elements --- docs/_static/style.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/_static/style.css b/docs/_static/style.css index 3ea443c48..b55443da3 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -70,7 +70,7 @@ Historically however, thanks to: --table-header-background: #f5f5f5; --table-text: #000; --table-border: #ddd; - --mobile-active-toc: ; + --mobile-active-toc: #212121; --active-toc: #dbdbdb; --scrollbar: rgba(0,0,0,0.2); --scrollbar-hover: rgba(0,0,0,0.4); @@ -120,8 +120,8 @@ Historically however, thanks to: --table-header-background: #f5f5f5; --table-text: #000; --table-border: #ddd; - --mobile-active-toc: ; - --active-toc: #dbdbdb; + --mobile-active-toc: #212121; + --active-toc: #212121; --scrollbar: rgba(0,0,0,0.5); --scrollbar-hover: rgba(0,0,0,0.7); } @@ -912,7 +912,9 @@ div.code-block-caption { } .active { - color: var(--active-toc); + background-color: var(--active-toc); + border-left: none; + position: relative; } #sidebar a:hover {