Skip to content

Commit 3fc10b7

Browse files
committed
RTD theme tweaks
1 parent dc9fe17 commit 3fc10b7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/_static/custom.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,14 @@ a:visited,
246246
font-weight: normal;
247247
}
248248

249-
/* Versions panel colors */
249+
/* RTD versions box colors */
250+
/* Also make entire sidebar scrollable but add empty space to the bottom
251+
* of the colling region, rather than truncating the scrollable space */
250252
nav.wy-nav-side {
251-
padding-bottom: 2.4em !important;
253+
padding-bottom: 0em !important;
254+
}
255+
.wy-menu-vertical {
256+
margin-bottom: 3.5em !important;
252257
}
253258
.rst-versions .rst-current-version {
254259
padding: 0.66em; /* match padding for list items */
@@ -263,6 +268,8 @@ nav.wy-nav-side {
263268
}
264269
.rst-versions .rst-other-versions hr {
265270
color: var(--versions-color);
271+
border-top-color: var(--versions-color);
272+
border-bottom-color: var(--versions-color);
266273
}
267274
.rst-versions .rst-current-version .fa {
268275
color: var(--main-color);

0 commit comments

Comments
 (0)