0
0
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:
Gazook89
2021-08-02 21:12:20 -05:00
parent 6f6c4acf7e
commit 9e5451b940
8 changed files with 86 additions and 0 deletions

View File

@@ -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`;
},
},
]
},

View File

@@ -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'
},
]
},

View File

@@ -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
// *****************************/

View File

@@ -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
// *****************************/

Binary file not shown.

View File

@@ -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 {

Binary file not shown.

View File

@@ -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 {