Skip to content

Commit

Permalink
[INFRA] fix draft rendering css on mobile or when browser window is n…
Browse files Browse the repository at this point in the history
…arrow (#889)

* sty: fix draft rendering css

* try md-sidebar

* try nav__title

* try [for=__drawer]

* try set color via :root instead

* try conditional css and do not accept overrides

* better style and comment
  • Loading branch information
sappelhoff authored Oct 6, 2021
1 parent 251f440 commit b1df683
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/css/watermark.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/* 76.1875em are based on stylesheets: https://github.com/squidfunk/mkdocs-material/tree/master/material/assets/stylesheets */
@media screen and (max-width: 76.1875em) {
.md-nav__title[for=__drawer] {
background-color: #ff0000 !important;
}
}

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

0 comments on commit b1df683

Please sign in to comment.