mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-13 03:25:56 +00:00
Fied lists in stat blocks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>'));
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user