0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 01:22:44 +00:00

Add Watermark snippet

This commit is contained in:
Gazook89
2021-08-17 16:04:59 -05:00
parent c33083814e
commit bc7911b0bc
2 changed files with 31 additions and 1 deletions

View File

@@ -150,6 +150,12 @@ module.exports = [
icon : 'fas fa-fill-drip', icon : 'fas fa-fill-drip',
gen : watercolorGen, gen : watercolorGen,
}, },
{
name : 'Watermark',
icon : 'fas fa-id-card',
gen : dedent`
{{watermark Homebrewery}}\n`
},
] ]
}, },

View File

@@ -265,8 +265,10 @@ body {
} }
} }
//***************************** //*****************************
// * ARTIST CREDIT BLOCK // * Images Snippets
// *****************************/ // *****************************/
/* Arist Credit */
.artist { .artist {
position : absolute; position : absolute;
text-align : center; 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 // * MONSTER STAT BLOCK
// *****************************/ // *****************************/