[Doc] Avoid needing two lines for header links

This commit is contained in:
Ray Speth
2023-10-08 19:18:34 -04:00
committed by Ray Speth
parent eaed836915
commit 134fce72e4
2 changed files with 21 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ div#top {
.sm-dox a {
color: var(--pst-color-text-muted) !important;
font-size: 16px;
padding: 0 8px;
}
.sm-dox a#selected {

View File

@@ -12,3 +12,23 @@ p + div.math {
display: none;
visibility: hidden;
}
/* Make extra room for header section links when page isn't wide enough */
@media(max-width: 1199.88px) {
/* Collapse search field to just a button */
button.search-button-field .search-button__default-text {
display: none;
visibility: hidden;
}
.search-button-field > :not(svg) {
display: none;
visibility: hidden;
}
/* Hide text portion of the Cantera logo */
.navbar-brand img {
width: 36px;
object-fit: cover;
object-position: left
}
}