aboutsummaryrefslogtreecommitdiff
path: root/docs/_static
diff options
context:
space:
mode:
authorJosh B <[email protected]>2020-06-08 19:21:44 +1000
committerRapptz <[email protected]>2020-12-18 21:18:53 -0500
commit8d635b765dd8bccee0fd82f61dd25f90e61e5c85 (patch)
tree5b996cf8b33fe82590e66628017a532053e228d4 /docs/_static
parentFix sidebar active link selection (diff)
downloaddiscord.py-8d635b765dd8bccee0fd82f61dd25f90e61e5c85.tar.xz
discord.py-8d635b765dd8bccee0fd82f61dd25f90e61e5c85.zip
Set colours for active sidebar elements
Diffstat (limited to 'docs/_static')
-rw-r--r--docs/_static/style.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css
index 3ea443c4..b55443da 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 {