mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 19:02:38 +00:00
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into SnippetsReorg
This commit is contained in:
@@ -148,7 +148,7 @@ const genAction = function(){
|
||||
'Turnbuckle Roll'
|
||||
]);
|
||||
|
||||
return `***${name}.*** *Melee Weapon Attack:* +4 to hit, reach 5ft., one target. *Hit* 5 (1d6 + 2) `;
|
||||
return `***${name}.*** *Melee Weapon Attack:* +4 to hit, reach 5 ft., one target. *Hit:* 5 (1d6 + 2) `;
|
||||
};
|
||||
|
||||
|
||||
@@ -161,8 +161,8 @@ module.exports = {
|
||||
*${getType()}, ${getAlignment()}*
|
||||
___
|
||||
**Armor Class** :: ${_.random(10, 20)} (chain mail, shield)
|
||||
**Hit Points** :: ${_.random(1, 150)}(1d4 + 5)
|
||||
**Speed** :: ${_.random(0, 50)}ft.
|
||||
**Hit Points** :: ${_.random(1, 150)} (1d4 + 5)
|
||||
**Speed** :: ${_.random(0, 50)} ft.
|
||||
___
|
||||
| STR | DEX | CON | INT | WIS | CHA |
|
||||
|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
.useSansSerif() {
|
||||
font-family : 'ScalySansRemake';
|
||||
font-size : 0.318cm;
|
||||
line-height : 1.2em;
|
||||
p,dl,ul,ol { line-height : 1.2em; }
|
||||
ul, ol { padding-left : 1em; }
|
||||
em { font-style : italic; }
|
||||
@@ -306,12 +305,12 @@
|
||||
margin-left : -0.16cm;
|
||||
background-color : var(--HB_Color_MonsterStatBackground);
|
||||
background-image : @monsterBlockBackground;
|
||||
background-blend-mode : overlay;
|
||||
border-style : solid;
|
||||
border-width : 7px 6px;
|
||||
border-image : @monsterBorderImage 14 round;
|
||||
border-image-outset : 0px 2px;
|
||||
box-shadow : 1px 4px 14px #888888;
|
||||
background-blend-mode : overlay;
|
||||
}
|
||||
|
||||
position : relative;
|
||||
@@ -336,9 +335,9 @@
|
||||
|
||||
//Triangle dividers
|
||||
hr {
|
||||
visibility : visible;
|
||||
height : 6px;
|
||||
margin : 0.12cm 0cm;
|
||||
visibility : visible;
|
||||
background-image : @redTriangleImage;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
@@ -356,8 +355,8 @@
|
||||
}
|
||||
|
||||
.bonus {
|
||||
float: right;
|
||||
padding-right: 0.5em;
|
||||
float : right;
|
||||
padding-right : 0.5em;
|
||||
}
|
||||
|
||||
// Monster Ability table
|
||||
@@ -457,8 +456,8 @@
|
||||
// * EXTRAS
|
||||
// *****************************/
|
||||
hr {
|
||||
margin : 0px;
|
||||
visibility : hidden;
|
||||
margin : 0px;
|
||||
}
|
||||
//Text indent right after table
|
||||
table + p { text-indent : 1em; }
|
||||
@@ -526,10 +525,10 @@
|
||||
content : '';
|
||||
background-image : @classTableDecoration,
|
||||
@classTableDecoration;
|
||||
filter : drop-shadow(0px 0px 1px #C8C5C080);
|
||||
background-repeat : no-repeat, no-repeat;
|
||||
background-position : top, bottom;
|
||||
background-size : contain, contain;
|
||||
filter : drop-shadow(0px 0px 1px #C8C5C080);
|
||||
transform : translateY(-50%) translateX(-50%);
|
||||
}
|
||||
&.decoration.wide::before {
|
||||
@@ -546,39 +545,40 @@
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
.frontCover { position : absolute; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.245cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.9cm;
|
||||
color : white;
|
||||
text-shadow : unset;
|
||||
text-transform : uppercase;
|
||||
-webkit-text-stroke: 0.2cm black;
|
||||
paint-order:stroke;
|
||||
margin-top : 1.55cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.245cm;
|
||||
font-weight : normal;
|
||||
line-height : 1.9cm;
|
||||
color : white;
|
||||
text-transform : uppercase;
|
||||
text-shadow : unset;
|
||||
-webkit-text-stroke : 0.2cm black;
|
||||
paint-order : stroke;
|
||||
}
|
||||
h2 {
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
letter-spacing : 0.1cm;
|
||||
-webkit-text-stroke: 0.14cm black;
|
||||
paint-order:stroke;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 0.85cm;
|
||||
font-weight : normal;
|
||||
color : white;
|
||||
letter-spacing : 0.1cm;
|
||||
-webkit-text-stroke : 0.14cm black;
|
||||
paint-order : stroke;
|
||||
}
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
visibility : visible;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
filter : drop-shadow(0 0 3px black);
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
filter : drop-shadow(0 0 3px black);
|
||||
}
|
||||
.banner {
|
||||
position : absolute;
|
||||
@@ -601,19 +601,19 @@
|
||||
filter : drop-shadow(2px 2px 2px black);
|
||||
}
|
||||
.footnote {
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1.3cm;
|
||||
left : 0;
|
||||
width : 70%;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.496cm;
|
||||
color : white;
|
||||
text-align : center;
|
||||
-webkit-text-stroke: 0.1cm black;
|
||||
paint-order:stroke;
|
||||
position : absolute;
|
||||
right : 0;
|
||||
bottom : 1.3cm;
|
||||
left : 0;
|
||||
width : 70%;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
font-family : 'Overpass';
|
||||
font-size : 0.496cm;
|
||||
color : white;
|
||||
text-align : center;
|
||||
-webkit-text-stroke : 0.1cm black;
|
||||
paint-order : stroke;
|
||||
}
|
||||
.logo {
|
||||
position : absolute;
|
||||
@@ -621,10 +621,7 @@
|
||||
right : 0;
|
||||
left : 0;
|
||||
filter : drop-shadow(0 0 0.075cm black);
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
img { height : 2cm; }
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
@@ -634,8 +631,9 @@
|
||||
columns : 1;
|
||||
text-align : center;
|
||||
&::after { display : none; }
|
||||
.insideCover { position : absolute; }
|
||||
h1 {
|
||||
margin-top : 1.2cm;
|
||||
margin-top : 1.55cm;
|
||||
margin-bottom : 0;
|
||||
font-family : 'NodestoCapsCondensed';
|
||||
font-size : 2.1cm;
|
||||
@@ -652,10 +650,10 @@
|
||||
hr {
|
||||
position : relative;
|
||||
display : block;
|
||||
visibility : visible;
|
||||
width : 12cm;
|
||||
height : 0.5cm;
|
||||
margin : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
@@ -666,26 +664,23 @@
|
||||
bottom : 1cm;
|
||||
left : 0;
|
||||
height : 2cm;
|
||||
img {
|
||||
width : 100%;
|
||||
height : 2cm;
|
||||
}
|
||||
img { height : 2cm; }
|
||||
}
|
||||
}
|
||||
// *****************************
|
||||
// * BACK COVER
|
||||
// *****************************/
|
||||
.page:has(.backCover) {
|
||||
padding : 2.25cm 1.3cm 2cm 1.3cm;
|
||||
color : #FFFFFF;
|
||||
columns : 1;
|
||||
padding : 2.25cm 1.3cm 2cm 1.3cm;
|
||||
line-height : 1.4em;
|
||||
color : #FFFFFF;
|
||||
columns : 1;
|
||||
&::after { display : none; }
|
||||
.columnWrapper { width : 7.6cm; }
|
||||
.backCover {
|
||||
position : absolute;
|
||||
inset : 0;
|
||||
z-index : -1;
|
||||
width : 11cm;
|
||||
background-image : @backCover;
|
||||
background-repeat : no-repeat;
|
||||
background-size : contain;
|
||||
@@ -708,12 +703,12 @@
|
||||
height : 100%;
|
||||
}
|
||||
hr {
|
||||
visibility : visible;
|
||||
width : 4.5cm;
|
||||
height : 0.53cm;
|
||||
margin-top : 1.1cm;
|
||||
margin-right : auto;
|
||||
margin-left : auto;
|
||||
visibility : visible;
|
||||
background-image : @horizontalRule;
|
||||
background-size : 100% 100%;
|
||||
border : none;
|
||||
@@ -737,7 +732,6 @@
|
||||
img {
|
||||
position : relative;
|
||||
z-index : 0;
|
||||
width : 100%;
|
||||
height : 1.5cm;
|
||||
}
|
||||
p {
|
||||
@@ -801,11 +795,9 @@
|
||||
.monster { --TOC: exclude; }
|
||||
|
||||
.page:has(.partCover) {
|
||||
--TOC: exclude;
|
||||
& h1 {
|
||||
--TOC: include;
|
||||
}
|
||||
}
|
||||
--TOC : exclude;
|
||||
& h1 { --TOC : include; }
|
||||
}
|
||||
|
||||
.page {
|
||||
&:has(.toc)::after { display : none; }
|
||||
@@ -871,9 +863,7 @@
|
||||
.useColumns(0.96, @fillMode: balance);
|
||||
}
|
||||
}
|
||||
.toc.wide li {
|
||||
break-inside: auto;
|
||||
}
|
||||
.toc.wide li { break-inside : auto; }
|
||||
}
|
||||
|
||||
// *****************************
|
||||
@@ -898,9 +888,7 @@
|
||||
|
||||
.page h1 + * { margin-top : 0; }
|
||||
|
||||
.page .descriptive.wide + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
.page .descriptive.wide + * { margin-top : 0; }
|
||||
|
||||
//*****************************
|
||||
// * RUNE TABLE
|
||||
@@ -915,8 +903,8 @@
|
||||
width : 1.3cm;
|
||||
height : 1.3cm;
|
||||
font-weight : normal;
|
||||
text-transform : uppercase;
|
||||
vertical-align : middle;
|
||||
text-transform : uppercase;
|
||||
outline : 1px solid #000000;
|
||||
}
|
||||
th {
|
||||
|
||||
Reference in New Issue
Block a user