diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index 064d087f4..4aa706316 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -150,6 +150,12 @@ module.exports = [ icon : 'fas fa-fill-drip', gen : watercolorGen, }, + { + name : 'Watermark', + icon : 'fas fa-id-card', + gen : dedent` + {{watermark Homebrewery}}\n` + }, ] }, diff --git a/themes/5ePhb.style.less b/themes/5ePhb.style.less index 955a4639a..2e3ef96c1 100644 --- a/themes/5ePhb.style.less +++ b/themes/5ePhb.style.less @@ -265,8 +265,10 @@ body { } } //***************************** - // * ARTIST CREDIT BLOCK + // * Images Snippets // *****************************/ + + /* Arist Credit */ .artist { position : absolute; text-align : center; @@ -291,6 +293,28 @@ body { } } + /* Watermark */ + .watermark { + display : grid !important; + place-items : center; + justify-content : center; + position : absolute; + top : 0; + left : 0; + width : 100%; + height : 100%; + font-size : 120px; + text-transform : uppercase; + color : black; + mix-blend-mode : overlay; + opacity : 30%; + transform : rotate(-45deg); + z-index : 500; + p { + margin-bottom : none; + } + } + //***************************** // * MONSTER STAT BLOCK // *****************************/