fix: only apply gradient when the sidebar is out

This commit is contained in:
Neil Hanlon 2024-02-19 16:54:03 -05:00
parent 9c50313da5
commit 95e2d48c7a
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -1,8 +1,10 @@
:root { :root {
@media screen and (max-width: 76.234375em) {
.md-nav__title[for="__drawer"] { .md-nav__title[for="__drawer"] {
background: linear-gradient(135deg, #10b981 0%, #1055b9 100%); background: linear-gradient(135deg, #10b981 0%, #1055b9 100%);
} }
} }
}
[data-md-color-scheme="resf"] { [data-md-color-scheme="resf"] {
--md-accent-fg-color: #0e7391; --md-accent-fg-color: #0e7391;