Skip to content

Commit

Permalink
try conditional css and do not accept overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Oct 2, 2021
1 parent 1b5d2bc commit fc1f272
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/css/watermark.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
@media screen and (max-width: 76.1875em) {
.md-nav__title[for=__drawer] {
background-color: #ff0000 !important;
}
}

.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 fc1f272

Please sign in to comment.