From 9cf55df51b9145c4e4e31a67b393976766fad4f4 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 18 Apr 2022 16:15:31 +0200 Subject: style: fix version selector styles --- _static/club1.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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; +} -- cgit v1.2.3