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 aaf68ef9d6
commit c1baf1f6f2
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;