fix: Fix duplicate navbar appearing in mdbook output

This commit is contained in:
Matthew Binning 2026-03-22 16:43:33 -07:00
parent d0e6fabf9e
commit fa2a790354
2 changed files with 16 additions and 2 deletions

View file

@ -5,14 +5,25 @@
.navbar {
background-color: #5d4037 !important;
box-shadow: 0 2px 4px rgba(62, 39, 35, 0.3) !important;
position: sticky !important;
position: fixed !important;
top: 0 !important;
z-index: 1000 !important;
left: 0 !important;
right: 0 !important;
z-index: 200 !important;
border-bottom: 2px solid #4e342e !important;
margin: 0 !important;
padding: 0 !important;
}
/* Push mdbook chrome below the fixed navbar */
.sidebar {
top: 3.5rem !important;
}
.page-wrapper {
padding-top: 3.5rem !important;
}
.nav-container {
max-width: 1200px !important;
margin: 0 auto !important;