chore: improve doc nav styling (#6125)

Makes the main doc navigation elements (sections + root pages)
bold, and reduces the size of child elements to make the main
elements stand out better and child elements wrap less.

Fixes styling part of #5338.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
This commit is contained in:
Tim deBoer 2024-03-08 09:03:43 -05:00 committed by GitHub
parent 73c5676c0c
commit f5afd66efb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,6 +149,19 @@ li.footer__item a svg {
display: none;
}
/* main nav items bold */
.theme-doc-sidebar-item-link-level-1 {
font-weight: bold;
}
li.theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible {
font-weight: bold;
}
/* child nav slightly smaller */
li.theme-doc-sidebar-item-category-level-1 > .menu__list {
font-size: 0.85em;
}
@media (min-width: 1200px) {
.navbar__title {
font-size: 2em;