From f0f48bd9b06ffdd22f264ca5f644666347944ceb Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 3 Apr 2014 10:51:27 +0200 Subject: [PATCH] use flexbox for vertically centered printing #862 --- css/print/pdf.css | 9 +++++++++ 1 file changed, 9 insertions(+) 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; +}