mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-08 02:28:25 -05:00
fix(styles): target correct footer class for dark mode
Add .nav-footer to the footer dark mode selectors. The actual footer element uses the class 'nav-footer' not just 'footer', so the dark mode styling wasn't being applied. Thanks to @eimlav for identifying the correct class name and providing the fix suggestion. Fixes the footer still showing in light theme when dark mode is active.
This commit is contained in:
@@ -385,9 +385,10 @@ html[data-bs-theme="dark"] .quarto-color-scheme-toggle .bi::before {
|
||||
color: #adb5bd !important;
|
||||
}
|
||||
|
||||
// Footer - support both class names Quarto might use
|
||||
// Footer - support all class names Quarto might use
|
||||
.page-footer,
|
||||
.footer,
|
||||
.nav-footer,
|
||||
footer {
|
||||
background-color: $navbar-bg-dark !important;
|
||||
border-top-color: $border-color-dark !important;
|
||||
|
||||
Reference in New Issue
Block a user