generated from nhcarrigan/template
fix(style): give header a solid background to hide scrolling content
Sets an opaque theme-appropriate background on the header so page content no longer shows through it when scrolling.
This commit is contained in:
@@ -105,7 +105,11 @@ a[aria-current="page"] {
|
|||||||
|
|
||||||
header {
|
header {
|
||||||
color: var(--primary-color) !important;
|
color: var(--primary-color) !important;
|
||||||
background-color: var(--background-color) !important;
|
background-color: var(--witch-lavender) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="dark"] header {
|
||||||
|
background-color: var(--witch-purple) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.large {
|
.large {
|
||||||
|
|||||||
Reference in New Issue
Block a user