aboutsummaryrefslogtreecommitdiff
path: root/_static
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-18 16:15:31 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-18 16:31:47 +0200
commit88b4545a9391f31104b076a519d7b13704fd465f (patch)
treeb3711806348d7bd411dfca092116fc3160b87f07 /_static
parent9d390ec88d85e0828bad0ad3e67b80205c13807d (diff)
downloadclub1-docs-88b4545a9391f31104b076a519d7b13704fd465f.tar.gz
club1-docs-88b4545a9391f31104b076a519d7b13704fd465f.zip
style: fix version selector styles
Diffstat (limited to '_static')
-rw-r--r--_static/club1.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/_static/club1.css b/_static/club1.css
index cc1f138..cdcb831 100644
--- a/_static/club1.css
+++ b/_static/club1.css
@@ -36,3 +36,17 @@ a.fa::before, a.icon::before, a button.toctree-expand::before {
font-size: 70%;
margin-left: .2rem;
}
+
+/* Highlight version selector on hover */
+.rst-current-version:hover {
+ background: rgba(255,255,255,0.1);
+}
+
+/* Fix navbar scroll until bottom */
+.rst-current-version {height: 2.5rem; /* lock version selector's height */}
+.wy-nav-side {padding-bottom: 2.5rem; /* set correct padding for the nav */}
+
+/* Disable scroll in version selector */
+.rst-versions.shift-up {
+ overflow-y: auto;
+}