diff --git a/docs/_static/custom.css b/docs/_static/custom.css index c759ee20f6..581a39cbb2 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -105,6 +105,10 @@ padding: 40px; } +.bd-container { + padding-top: var(--pst-header-height); +} + .section p { line-height: 1.8rem; } @@ -185,3 +189,24 @@ dt:target, span.highlighted { max-width: 100%; font-size: 0.9rem; } + +html[data-theme="dark"] { + --pst-color-text-base: var(--pst-color-text-muted); + --pst-color-sidebar-link-active: var(--pst-color-link); +} + +html[data-theme="dark"] .container-xl { + background-color: #3B3B3B; +} + +html[data-theme="dark"] .editthispage a { + color: var(--pst-color-link); +} + +html[data-theme="dark"] .bd-sidebar { + border-right: 3px solid #ffffff1a; +} + +html[data-theme="dark"] .navbar-light>.container-xl { + background-color: var(--pst-color-surface); +} diff --git a/docs/about/whats_new.rst b/docs/about/whats_new.rst index b8a8f0b0bd..036159269d 100644 --- a/docs/about/whats_new.rst +++ b/docs/about/whats_new.rst @@ -9,6 +9,7 @@ v1.9.next ========= - Fix typos in docs (:pull:`1577`) +- Merge in 1.8.x branch changes. (:pull:`1568`, :pull:`1579`) v1.9.0-rc4 (15th April 2024) ============================ @@ -66,8 +67,11 @@ v1.9.0-rc1 (27th March 2024) v1.8.next ========= +- Update readthedocs stylesheet for dark theme (:pull:`1579`) + v1.8.18 (27th March 2024) ========================= + - Add dataset cli tool ``find-duplicates`` to identify duplicate indexed datasets (:pull:`1517`) - Make solar_day() timezone aware (:pull:`1521`) - Warn if non-eo3 dataset has eo3 metadata type (:pull:`1523`) diff --git a/wordlist.txt b/wordlist.txt index 88e497a6aa..836b87d7c3 100644 --- a/wordlist.txt +++ b/wordlist.txt @@ -441,6 +441,7 @@ stacker stacspec stdlib str +stylesheet subcommands sudo sv