From 88b4545a9391f31104b076a519d7b13704fd465f 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 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; +} -- cgit v1.2.3