Skip to content

Commit

Permalink
try set color via :root instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Oct 2, 2021
1 parent 07e80b8 commit 1b5d2bc
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/css/watermark.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
.md-nav__title[for=__drawer] {
background-color: #ff0000;
}

.md-header {
background-color: #ff0000;
}

.md-main__inner {
background-image: url(../images/draft_watermark.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: contain, cover;
background-position: center;
}

/* See: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-color-schemes */
:root {
--md-primary-fg-color: #ff0000;
}

0 comments on commit 1b5d2bc

Please sign in to comment.