diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-03 10:51:27 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-03 10:51:27 +0200 |
commit | f0f48bd9b06ffdd22f264ca5f644666347944ceb (patch) | |
tree | 19a1e617f306314deb6f04f8f0bb0c5f136576cc | |
parent | 9e78fe3ee215beb426ae7f44eb729a9be8bfddf6 (diff) | |
download | perl-software-in-gnu-guix-f0f48bd9b06ffdd22f264ca5f644666347944ceb.tar perl-software-in-gnu-guix-f0f48bd9b06ffdd22f264ca5f644666347944ceb.tar.gz |
use flexbox for vertically centered printing #862
-rw-r--r-- | css/print/pdf.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css index 41f70c6..bf90b3d 100644 --- a/css/print/pdf.css +++ b/css/print/pdf.css @@ -188,3 +188,12 @@ ul, ol, div, p { .reveal small a { font-size: 16pt !important; } + +.reveal.center .slides section:not(.stack) { + display: flex !important; + flex-direction: column; + align-items: center; + justify-content: center; + padding-top: 2em !important; + padding-bottom: 2em !important; +} |