mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
[docs] Style ReadTheDocs version selector (#12457)
Style the ReadTheDocs version selector (see https://docs.readthedocs.io/en/stable/flyout-menu.html) inline with the rest of the theme.
This commit is contained in:
parent
8f97fd276a
commit
93e4eea307
27
doc/_themes/sphinx13/static/sphinx13.css
vendored
27
doc/_themes/sphinx13/static/sphinx13.css
vendored
@ -15,7 +15,7 @@
|
||||
body {
|
||||
font-family: var(--fonts-sans-serif);
|
||||
margin: 0 auto;
|
||||
color: var(--colour-text);
|
||||
color: var(var(--colour-text));
|
||||
}
|
||||
|
||||
.pageheader {
|
||||
@ -422,6 +422,31 @@ div.viewcode-block:target {
|
||||
}
|
||||
}
|
||||
|
||||
/* ReadtheDocs docs selector */
|
||||
/* see https://docs.readthedocs.io/en/stable/flyout-menu.html */
|
||||
.rst-versions.rst-badge {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid var(--colour-sphinx-blue);
|
||||
border-radius: 3px;
|
||||
color: var(--colour-sphinx-blue);
|
||||
}
|
||||
.rst-versions .rst-current-version {
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 3px 3px 0 0;
|
||||
color: var(--colour-sphinx-blue);
|
||||
}
|
||||
.rst-versions .rst-current-version .fa {
|
||||
color: var(--colour-sphinx-blue);
|
||||
}
|
||||
.rst-versions .rst-other-versions {
|
||||
border-top: 1px solid var(--colour-sphinx-blue);
|
||||
background-color: #f7f7f7;
|
||||
color: var(--colour-text);
|
||||
}
|
||||
.rst-versions .rst-other-versions dd a {
|
||||
color: var(--colour-sphinx-blue);
|
||||
}
|
||||
|
||||
|
||||
/* Landing page */
|
||||
.sphinx-tagline * {
|
||||
|
Loading…
Reference in New Issue
Block a user