Skip to content

Commit

Permalink
Merge pull request scipy#18303 from tupui/doc_css_toctree
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Apr 16, 2023
2 parents 07d3ae8 + dff8b78 commit f4a2dc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/_static/scipy.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion doc/source/_templates/sidebar-nav-bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
</div>
</nav>

0 comments on commit f4a2dc3

Please sign in to comment.