mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
fix: case where main menu toggle and title not visible in dark mode
Apply new SCSS $sta-dark-menu-* vars Fix #1819
This commit is contained in:
parent
34a16bef39
commit
d953106116
1 changed files with 10 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
|||
&.active,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $sta-dark-menu-text;
|
||||
color: $sta-dark-menu-text-active;
|
||||
}
|
||||
|
||||
&.active {
|
||||
|
@ -99,6 +99,11 @@
|
|||
position: relative; // For z-index clickable mobile logo.
|
||||
z-index: 1030;
|
||||
}
|
||||
|
||||
.dark .navbar-toggler {
|
||||
color: $sta-dark-menu-text;
|
||||
}
|
||||
|
||||
.navbar-toggler:focus,
|
||||
.navbar-toggler:active {
|
||||
outline: none !important;
|
||||
|
@ -140,6 +145,10 @@
|
|||
z-index: 1030; // For z-index clickable mobile logo.
|
||||
}
|
||||
|
||||
.dark .navbar-brand {
|
||||
color: $sta-dark-menu-title;
|
||||
}
|
||||
|
||||
// Dynamically fit logo image to space available.
|
||||
// No need to explicitly set a size for each breakpoint.
|
||||
// See https://caniuse.com/#feat=mdn-css_properties_width_stretch .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue