Skip to content

Commit d597406

Browse files
committed
Fix CSS
1 parent ea3705a commit d597406

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/_static/custom.css

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#version_switcher a[data-version-name*="stable"] {
22
background-color: #e2ffe2;
33
}
4+
5+
#version_switcher
6+
a:not([data-version-name*="stable"]):not([data-version-name="dev"]) {
7+
color: #ff8282;
8+
}

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@
124124
# "left_sidebar_end": ["custom-template.html", "sidebar-ethical-ads.html"],
125125
# "footer_items": ["copyright", "sphinx-version", ""]
126126
"switcher": {
127-
# "json_url": "/_static/switcher.json",
128-
"json_url": "https://pydata-sphinx-theme.readthedocs.io/en/latest/_static/switcher.json",
127+
"json_url": "/_static/switcher.json",
128+
# "json_url": "https://pydata-sphinx-theme.readthedocs.io/en/latest/_static/switcher.json",
129129
"url_template": "https://pydata-sphinx-theme.readthedocs.io/en/{version}/",
130130
"version_match": version_match,
131131
},

0 commit comments

Comments
 (0)