Skip to content

Commit

Permalink
ENH: Add dark draft watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Sep 28, 2023
1 parent b3f5331 commit 84001f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/css/watermark.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
background-color: #ff0000;
}

:root {
--md-background-image: url(../images/draft_watermark.png);
--md-background-image--light: url(../images/draft_watermark.png);
--md-background-image--dark: url(../images/draft_watermark_dark.png);
}

.md-main__inner {
background-image: url(../images/draft_watermark.png);
background-image: var(--md-background-image);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: contain, cover;
Expand Down
Binary file added src/images/draft_watermark_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 84001f1

Please sign in to comment.