1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:55:57 +00:00

Fied lists in stat blocks

This commit is contained in:
Scott Tolksdorf
2016-06-05 13:47:59 -04:00
parent 0d25a972ba
commit 3e796501e2
3 changed files with 5 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
- Adding in a new Class table div block. The old Class table block used weird stacking of HTML elements, resulting is difficult to control behaviour and poor interactiosn with the rest of the page. This new block is much easier to style and work with.
- Added in a new wide table snippet
- Added in a new auto-incremeting page number snippet
- Lists in monster stat blocks should be fixed now
### Saturday, 04/06/2016 - v2.2.0

View File

@@ -7,7 +7,7 @@ var renderer = new Markdown.Renderer();
//Processes the markdown within an HTML block if it's just a class-wrapper
renderer.html = function (html) {
if(_.startsWith(html, '<div class=') && _.endsWith(_.trim(html), '</div>')){
if(_.startsWith(_.trim(html), '<div class=') && _.endsWith(_.trim(html), '</div>')){
var openTag = html.substring(0, html.indexOf('>')+1);
html = html.substring(html.indexOf('>')+1);
html = html.substring(0, html.lastIndexOf('</div>'));

View File

@@ -216,13 +216,13 @@ body {
font-weight : 400;
border-bottom : 1px solid @headerText;
}
hr+ul{
color : @headerText;
}
ul{
.useSansSerif();
padding-left : 1em;
font-size : 0.352cm;
color : @headerText;
text-indent : -1em;
list-style-type : none;
}
// Monster Ability table
hr+table{