Skip to content

Commit

Permalink
try conditional css
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Oct 2, 2021
1 parent 1b5d2bc commit 617280a
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/css/watermark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@
background-position: center;
}

/* See: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-color-schemes */
:root {
--md-primary-fg-color: #ff0000;
@media screen and (max-width: 76.1875em) {
.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;
}

0 comments on commit 617280a

Please sign in to comment.