diff options
author | AndrewMurrell <ImFromNASA@gmail.com> | 2017-12-24 21:16:48 -0500 |
---|---|---|
committer | AndrewMurrell <ImFromNASA@gmail.com> | 2017-12-24 21:16:48 -0500 |
commit | 37cf878b62c49d23cdc0cf09b972456bb98b2736 (patch) | |
tree | 11efcf65d45de738c4082e6658b2bc355b22f48b /src/main.scss | |
parent | 517aec2364abb99431cfe91f318b2fb109226db5 (diff) | |
parent | bdb62265c5e0f8cbaa647479e10549f324e0712c (diff) |
Merge remote-tracking branch 'ls/master'
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%; + } + } +} |