diff options
Diffstat (limited to 'src/main.scss')
-rw-r--r-- | src/main.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main.scss b/src/main.scss index be00d49..0c5f0d5 100644 --- a/src/main.scss +++ b/src/main.scss @@ -126,6 +126,11 @@ article { .tag.hb { background: DimGray; } .tag.dm { background: DarkSlateGray; } .tag.wp { background: GhostWhite; color: black !important; border-color: Gray; border: solid 1.2px LightGray; } + .tag.ap { background: #C00000; } + .tag.wb { background: #CC3399; } + .tag.fr { background: #003300; } + .tag.pf { background: #FF0000; } + .tag.ld { background: #CCCC00; } border-bottom: solid 1px #c9cacc; } @@ -287,3 +292,33 @@ body.dnd { font-weight:bold; } } } + +/* D&D-style pages ************************************************************/ + +body.pdf { + position: absolute; + width: 100%; + height: 100%; + bottom: 0; + + display: flex; + flex-direction: column; + + article { + flex-grow: 2; + padding: 0; + + p { + float: left; + margin: 0.25em -100% 0.25em 0.25em; + } + h1 { + text-align: center; + margin: 0.25em 0; + } + iframe { + width: 100%; + height: 100%; + } + } +} |