Commit Graph
6 Commits
Author SHA1 Message Date
Brian 319824120a Update unknown-armies.css 2016-05-06 22:56:41 -05:00
lithl edd74c1029 UA fix attempt 3 2015-03-17 21:20:18 -05:00
lithl d8b237d97d Attempt #2 to fix div.sheet-madness bug
See 13bd2503cb for details.
2015-03-11 10:09:18 -05:00
lithl c340807dc2 Revert "Attempt to fix div.sheet-madness bug"
This reverts commit 13bd2503cb.
2015-03-10 12:23:53 -05:00
lithl 13bd2503cb Attempt to fix div.sheet-madness bug
Per [this
thread](https://app.roll20.net/forum/post/1691256/css-selector-not-being-processed#post-1691256),
the first selector is not being processed. Because this sheet makes use
of the unicode character Heavy Multiplication X (0x2716), and Roll20's
CSS sanitation process throws out the entire thing if a backslash is
detected, the file must be saved as Unicode. This means the file begins
with the byte-order mark 0xFEFF.

This commit is assuming that the BOM is being inserted into the style
element right next to the ".charsheet" (or right next to the "div") at
the start, which obviously does not match any element on the page, as
there is neither an element `<0xFEFF class="charsheet">` nor an element
`<0xFEFFdiv class="sheet-madness">`. As a result, a newline has been
inserted between the BOM and "div" in the hope that the problem will not
persist.
2015-03-09 01:38:45 -05:00
Lithl 4d6c7c5d4f Created UA sheet 2014-06-09 20:15:18 -05:00