diff --git a/doc/source/_static/scipy.css b/doc/source/_static/scipy.css index 70bf83c07607..1491bf99e6d8 100644 --- a/doc/source/_static/scipy.css +++ b/doc/source/_static/scipy.css @@ -82,7 +82,7 @@ Nat Methods 8, 441 (2011). https://doi.org/10.1038/nmeth.1618 .sd-card .sd-card-header { border: none; background-color:white; - color: #150458 !important; + color: #150458; font-size: var(--pst-font-size-h5); font-weight: bold; padding: 2.5rem 0rem 0.5rem 0rem; @@ -149,7 +149,7 @@ html[data-theme=dark] .sd-shadow-sm { html[data-theme=dark] .sd-card .sd-card-header { background-color:var(--pst-color-background); - color: #150458 !important; + color: var(--sd-color-card-text); } html[data-theme=dark] .sd-card .sd-card-footer { diff --git a/doc/source/_templates/sidebar-nav-bs.html b/doc/source/_templates/sidebar-nav-bs.html index 23714552078c..4965351f61d2 100644 --- a/doc/source/_templates/sidebar-nav-bs.html +++ b/doc/source/_templates/sidebar-nav-bs.html @@ -3,7 +3,7 @@ {% if pagename.startswith("reference") %} {{ generate_nav_html("sidebar", maxdepth=1, collapse=True, includehidden=True, titles_only=True) }} {% else %} - {{ generate_nav_html("sidebar", maxdepth=2, collapse=True, includehidden=True, titles_only=True) }} + {{ generate_nav_html("sidebar", maxdepth=2, collapse=True, titles_only=True) }} {% endif %}