diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-23 15:52:22 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-23 21:32:16 -0500 |
commit | efbd3731c986a8555869c184cda69ff9b910ce9f (patch) | |
tree | 0fb2ab20c6618c120baac1d192ee5c5558fb1fe0 /src | |
parent | 7c62b0a53c35f2cfce07469fb771ef0aa8f2302d (diff) |
pdf support
Diffstat (limited to 'src')
-rw-r--r-- | src/main.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main.scss b/src/main.scss index be00d49..cdbc200 100644 --- a/src/main.scss +++ b/src/main.scss @@ -287,3 +287,29 @@ 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; + + h1 { + text-align: center; + margin: 0.25em 0; + } + iframe { + width: 100%; + height: 100%; + } + } +} |