aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-18 16:15:31 +0200
committern-peugnet <n.peugnet@free.fr>2022-04-18 16:30:02 +0200
commit9cf55df51b9145c4e4e31a67b393976766fad4f4 (patch)
tree02824b90bd1f1762e08e62d48824cbbb6e864d43
parent9c9899af98dafa740b6782c8b2b6b61218ff6ce9 (diff)
downloadclub1-docs-n-peugnet-fix-versions-selector-styles.tar.gz
club1-docs-n-peugnet-fix-versions-selector-styles.zip
style: fix version selector stylesn-peugnet-fix-versions-selector-styles
-rw-r--r--_static/club1.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/_static/club1.css b/_static/club1.css
index bfe6a6a..ad4fd1e 100644
--- a/_static/club1.css
+++ b/_static/club1.css
@@ -24,3 +24,17 @@
font-size: 70%;
margin: 0 .2em;
}
+
+/* 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;
+}