File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ bibliography: references.bib
3232format :
3333 html :
3434 theme : cosmo
35+ css : styles/draft.css
3536 code-fold : false
3637 toc : true
3738 number-sections : true
@@ -55,6 +56,12 @@ format:
5556 - margin=1in
5657 include-in-header :
5758 text : |
59+ % Draft watermark
60+ \usepackage{draftwatermark}
61+ \SetWatermarkText{DRAFT}
62+ \SetWatermarkScale{1}
63+ \SetWatermarkColor[gray]{0.9}
64+
5865 % Required packages
5966 \usepackage{bm} % For bold math symbols
6067
Original file line number Diff line number Diff line change 1+ /* Draft watermark for HTML output */
2+ body ::before {
3+ content : "DRAFT" ;
4+ position : fixed;
5+ top : 50% ;
6+ left : 50% ;
7+ transform : translate (-50% , -50% ) rotate (-45deg );
8+ font-size : 10rem ;
9+ font-weight : bold;
10+ color : rgba (200 , 200 , 200 , 0.3 );
11+ pointer-events : none;
12+ z-index : 9999 ;
13+ white-space : nowrap;
14+ }
You can’t perform that action at this time.
0 commit comments