diff --git a/shared/homebrewery/phb_style/phb.blocks.less b/shared/homebrewery/phb_style/phb.blocks.less index bdf2eb282..19757fe93 100644 --- a/shared/homebrewery/phb_style/phb.blocks.less +++ b/shared/homebrewery/phb_style/phb.blocks.less @@ -43,6 +43,7 @@ } &.wide{ column-count : 2; + column-fill:auto; } } .note{ @@ -161,38 +162,44 @@ } .wide{ column-span : all; - -webkit-column-span : all; - -moz-column-span : all; +} +.fullPage{ + column-span : all; + height: 100%; } .oneColumn{ column-count : 1; + column-fill:auto; // column-gap : 1cm; } .twoColumn{ column-count : 2; + column-fill:auto; //column-fill: auto; ////column-gap : 1cm; } .threeColumn{ column-count : 3; + column-fill:auto; //column-gap : 1cm; } .fourColumn{ column-count : 4; //column-gap : 1cm; + column-fill:auto; } .columnSplit{ visibility : hidden; -webkit-column-break-bfore : always; break-before : column; } -.brushed{ - border-image-outset : 25px 17px; - border-image-repeat : round; - border-image-slice : 1250 1250 1250 1250; - border-image-width : 1250px; - border-image-source : url('http : //i.imgur.com/nzPYZyD.png'); -} +// .brushed{ +// border-image-outset : 25px 17px; +// border-image-repeat : round; +// border-image-slice : 1250 1250 1250 1250; +// border-image-width : 1250px; +// border-image-source : url('http://i.imgur.com/nzPYZyD.png'); +// } //basics .left{ text-align : left; diff --git a/shared/homebrewery/phb_style/phb.elements.less b/shared/homebrewery/phb_style/phb.elements.less index 37b161e01..00b518a93 100644 --- a/shared/homebrewery/phb_style/phb.elements.less +++ b/shared/homebrewery/phb_style/phb.elements.less @@ -61,6 +61,7 @@ blockquote{ img{ z-index : -1; display: block; + mix-blend-mode:multiply; &.center{ margin-right: auto; diff --git a/shared/homebrewery/snippets/brew/spell.snippet.js b/shared/homebrewery/snippets/brew/spell.snippet.js index 658dfc176..3a0088b16 100644 --- a/shared/homebrewery/snippets/brew/spell.snippet.js +++ b/shared/homebrewery/snippets/brew/spell.snippet.js @@ -37,5 +37,16 @@ module.exports = { ${description} }}`; + }, + + spellList : ()=>{ + const levels = ['Cantrips (0 Level)', '2nd Level', '3rd Level', '4th Level', '5th Level', '6th Level', '7th Level', '8th Level', '9th Level']; + + const content = _.map(levels, (level)=>{ + const spells = _.map(Data.rand('spellNames', 15, 5), (spell)=>`- ${spell}`).join('\n'); + return `##### ${level} \n${spells} \n`; + }).join('\n'); + + return `{{fourColumn,fullPage\n${content}\n}}`; } } \ No newline at end of file