diff options
Diffstat (limited to 'src/main.scss')
-rw-r--r-- | src/main.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main.scss b/src/main.scss index be00d49..fadd75b 100644 --- a/src/main.scss +++ b/src/main.scss @@ -287,3 +287,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%; + } + } +} |