Files
gitea-pages/css/custom-nav.css
2026-02-10 11:25:50 +00:00

38 lines
942 B
CSS

/* Strong high-contrast section headers in MkDocs Material nav */
/* Top-level section blocks */
.md-nav__title {
font-weight: 800;
font-size: 0.65rem;
color: #ffffff !important; /* white text */
background-color: #586ACB !important; /* strong dark blue */
padding: 6px 10px;
margin-top: 14px;
}
/* For section-like items (common in newer Material versions) */
.md-nav--primary .md-nav__item--section > .md-nav__link {
font-weight: 800;
font-size: 0.65rem;
color: #ffffff !important; /* white text */
background-color: #586ACB !important;
padding: 6px 10px;
margin-top: 10px;
}
/* For nested group headers (covers older/other layouts) */
.md-nav--primary .md-nav__item--nested > .md-nav__link {
font-weight: 800;
font-size: 0.65rem;
color: #ffffff !important;
background-color: #586ACB !important;
padding: 6px 10px;
margin-top: 10px;
}