0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 09:52:41 +00:00

Adding stlying to make the spell blocks a little tighter

This commit is contained in:
Scott
2016-01-17 10:09:34 -05:00
parent d5ceed55e4
commit 4a773d0a92
3 changed files with 37 additions and 19 deletions

View File

@@ -330,4 +330,8 @@
-ms-column-break-inside : avoid; -ms-column-break-inside : avoid;
column-break-inside : avoid; column-break-inside : avoid;
} }
//Better spacing for spell blocks
h4+p+hr+ul{
margin-top:-0.5em
}
} }

View File

@@ -283,7 +283,7 @@ table {
padding-left: 0.1em; padding-left: 0.1em;
} }
.phb table tbody tr td { .phb table tbody tr td {
padding: 0.2em 0em; padding: 0.2em 0.1em;
} }
.phb table tbody tr:nth-child(odd) { .phb table tbody tr:nth-child(odd) {
background-color: #e0e5c1; background-color: #e0e5c1;
@@ -480,3 +480,6 @@ table {
-ms-column-break-inside: avoid; -ms-column-break-inside: avoid;
column-break-inside: avoid; column-break-inside: avoid;
} }
.phb h4 + p + hr + ul {
margin-top: -0.5em;
}

View File

@@ -1,10 +1,14 @@
module.exports = { module.exports = {
goblin : { goblin : {
hp : 40, size : 'small',
mov: 30, type : 'beast',
cr : 0.25, alignment : 'unaligned',
ac : 13, stats : {
attr : { hp : 40,
mov: 30,
ac : 13,
},
scores : {
str : 8, str : 8,
con : 8, con : 8,
dex : 8, dex : 8,
@@ -12,21 +16,28 @@ module.exports = {
wis : 8, wis : 8,
cha : 8 cha : 8
}, },
attacks : { attr : {
dagger : { skills : ['Stealth +5'],
atk : "1d20-5", lang : ['common'],
dmg : "1d4+5", cr : 0.25,
type : "pierce",
notes : "Super cool"
},
bow : {
atk : "1d20+2",
dmg : "6d6",
rng : "30"
}
}, },
abilities : { abilities : {
"pack tactics" : "Does a thing" "pack tactics" : "Does a thing",
"fancy dance" : "dances fancy"
},
actions : {
bite : {
type : "Melee weapon attack",
atk : "+4 to hit",
rng : "5ft",
target : "one target",
dmg : "4 (1d4 + 2) piercing damage",
desc: ""
},
scare : {
uses : "1/day",
desc : "scares you"
}
}, },
items : ['rat on a stick'] items : ['rat on a stick']
}, },