diff --git a/docs/conf.py b/docs/conf.py index a8f101141..bd17da0e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -310,3 +310,4 @@ texinfo_documents = [ def setup(app): app.add_js_file("js/script.js") app.add_css_file("css/dark.css") + app.add_css_file("css/light.css") diff --git a/docs/resources/css/dark.css b/docs/resources/css/dark.css index c746e76cf..2ed958429 100644 --- a/docs/resources/css/dark.css +++ b/docs/resources/css/dark.css @@ -1196,6 +1196,10 @@ color: rgb(166, 158, 146); } + .wy-menu-vertical li.toctree-l3.current a { + background-color: #363636; + } + .wy-menu-vertical li ul li a { color: rgb(208, 204, 198); } diff --git a/docs/resources/css/light.css b/docs/resources/css/light.css new file mode 100644 index 000000000..ae3debc91 --- /dev/null +++ b/docs/resources/css/light.css @@ -0,0 +1,7 @@ +@media (prefers-color-scheme: light) { + + .wy-menu-vertical li.toctree-l3.current a { + background-color: #c9c9c9; + } + +}