0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 10:12:40 +00:00

Merge remote-tracking branch 'upstream/master' into Style-Editor-Menu-and-comments

This commit is contained in:
Gazook89
2021-09-05 15:11:58 -05:00
51 changed files with 1266 additions and 591 deletions

View File

@@ -6,7 +6,7 @@ const MonsterBlockGen = require('./monsterblock.gen.js');
const ClassFeatureGen = require('./classfeature.gen.js');
const CoverPageGen = require('./coverpage.gen.js');
const TableOfContentsGen = require('./tableOfContents.gen.js');
const dedent = require('dedent-tabs').default;
module.exports = [
@@ -184,6 +184,14 @@ module.exports = [
icon : 'far fa-file-word',
gen : CoverPageGen,
},
{
name : 'Artist Credit',
icon : 'fas fa-signature',
gen : '<div class=\'artist\' style=\'top:90px;right:30px;\'>\n' +
'##### Starry Night\n' +
'[Van Gogh](https://www.vangoghmuseum.nl/en)\n' +
'</div>\n'
},
]
},
@@ -277,7 +285,7 @@ module.exports = [
/**************** PRINT *************/
{
groupName : 'Page',
groupName : 'Print',
icon : 'fas fa-print',
view : 'style',
snippets : [
@@ -286,8 +294,8 @@ module.exports = [
icon : 'far fa-file',
gen : ['/* A4 Page Size */',
'.phb {',
' width : 210mm;',
' height : 296.8mm;',
' width : 210mm;',
' height : 296.8mm;',
'}'
].join('\n')
},
@@ -296,10 +304,10 @@ module.exports = [
icon : 'far fa-file',
gen : ['/* Square Page Size */',
'.phb {',
' width:5.25in;',
' height:5.25in;',
' padding:.5in;',
' columns:unset;',
' width : 125mm;',
' height : 125mm;',
' padding : 12.5mm;',
' columns : unset;',
'}',
''
].join('\n')
@@ -307,13 +315,16 @@ module.exports = [
{
name : 'Ink Friendly',
icon : 'fas fa-tint',
gen : ['/* Ink Friendly */',
'.phb, .phb blockquote, .phb hr+blockquote {',
' background : white;',
' box-shadow : 0px 0px 3px;',
'}',
''
].join('\n')
gen : dedent`
/* Ink Friendly */
.phb, .phb blockquote, .phb hr+blockquote {
background : white;
box-shadow : 0px 0px 3px;
}
.phb img {
visibility : hidden;
}`
},
]
},