mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 07:02:38 +00:00
Add Artist Snippet
Add Artist Snippet
This commit is contained in:
@@ -191,6 +191,18 @@ module.exports = [
|
||||
icon : 'fas fa-hat-wizard',
|
||||
gen : MagicGen.item,
|
||||
},
|
||||
{
|
||||
name : 'Artist Credit',
|
||||
icon : 'fas fa-signature',
|
||||
gen : function(){
|
||||
return dedent`
|
||||
{{artist,top:10px,left:10px
|
||||
##### Starry Night
|
||||
[Van Gogh](https://www.vangoghmuseum.nl/en)
|
||||
}}
|
||||
\n`;
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
@@ -166,6 +166,14 @@ module.exports = [
|
||||
icon : 'far fa-file-word',
|
||||
gen : CoverPageGen,
|
||||
},
|
||||
{
|
||||
name : 'Artist Credit',
|
||||
icon : 'fas fa-signature',
|
||||
gen : '<div class=\'artist\' style=\'top:20px;left:20px;\'>\n' +
|
||||
'##### Starry Night\n' +
|
||||
'[Van Gogh](https://www.vangoghmuseum.nl/en)\n' +
|
||||
'</div>\n'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
@@ -263,6 +263,32 @@ body {
|
||||
margin-bottom : 0em;
|
||||
}
|
||||
}
|
||||
//*****************************
|
||||
// * ARTIST CREDIT BLOCK
|
||||
// *****************************/
|
||||
.artist {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
font-family:'Walter Turncoat','ScalySansSmallCapsRemake', sans-serif;
|
||||
font-size:10px;
|
||||
p, p + p {
|
||||
margin:unset;
|
||||
text-indent:unset;
|
||||
line-height:1em;
|
||||
}
|
||||
h5 {
|
||||
font-size:1.3em;
|
||||
font-family:'Walter Turncoat'
|
||||
}
|
||||
a{
|
||||
color:black;
|
||||
text-decoration:unset;
|
||||
&:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//*****************************
|
||||
// * MONSTER STAT BLOCK
|
||||
// *****************************/
|
||||
|
||||
@@ -445,6 +445,34 @@ body {
|
||||
.phb pre+.descriptive{
|
||||
margin-top : 8px;
|
||||
}
|
||||
|
||||
//*****************************
|
||||
// * ARTIST CREDIT BLOCK
|
||||
// *****************************/
|
||||
.phb {
|
||||
.artist {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
font-family:'Walter Turncoat','ScalySansSmallCapsRemake', sans-serif;
|
||||
font-size:10px;
|
||||
p, p + p {
|
||||
margin:unset;
|
||||
text-indent:unset;
|
||||
line-height:1em;
|
||||
}
|
||||
h5 {
|
||||
font-size:1.3em;
|
||||
font-family:'Walter Turncoat'
|
||||
}
|
||||
a{
|
||||
color:black;
|
||||
text-decoration:unset;
|
||||
&:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//*****************************
|
||||
// * TABLE OF CONTENTS
|
||||
// *****************************/
|
||||
|
||||
BIN
themes/fonts/5e legacy/WalterTurncoat-Regular.woff2
Normal file
BIN
themes/fonts/5e legacy/WalterTurncoat-Regular.woff2
Normal file
Binary file not shown.
@@ -37,6 +37,12 @@
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Walter Turncoat';
|
||||
src: url('../fonts/5e legacy/WalterTurncoat-Regular.woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Headers */
|
||||
@font-face {
|
||||
|
||||
BIN
themes/fonts/5e/WalterTurncoat-Regular.woff2
Normal file
BIN
themes/fonts/5e/WalterTurncoat-Regular.woff2
Normal file
Binary file not shown.
@@ -55,6 +55,12 @@
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Walter Turncoat';
|
||||
src: url('../fonts/5e/WalterTurncoat-Regular.woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Headers */
|
||||
@font-face {
|
||||
|
||||
Reference in New Issue
Block a user