diff --git a/_static/img/background_invert.jpg b/_static/img/background_invert.jpg new file mode 100644 index 00000000..5aef9f32 Binary files /dev/null and b/_static/img/background_invert.jpg differ diff --git a/index.rst b/index.rst index 5d441ae4..626c6499 100644 --- a/index.rst +++ b/index.rst @@ -18,7 +18,7 @@ Astropy .. raw:: html -
+
@@ -185,6 +185,10 @@ encouraged to submit talks, etc. and other relevant materials. background-size: cover; } + html[data-theme="dark"] body { + background-image: url("/_static/img/background_invert.jpg"); + } + h1 { display: none; } @@ -192,13 +196,6 @@ encouraged to submit talks, etc. and other relevant materials. h2 { font-size: 120%; margin-top: 30px; - /* Always light theme */ - color: var(--sst-darker-color) !important; - } - - code { - /* Always light theme */ - color: #912583; } .bd-sidebar-secondary { @@ -224,7 +221,6 @@ encouraged to submit talks, etc. and other relevant materials. p.whatsnew { margin-bottom: 0; - color: var(--sst-darkest-color); } div#container>section,