Browse Source

use flexbox for vertically centered printing #862

Hakim El Hattab 11 years ago
parent
commit
f0f48bd9b0
1 changed files with 9 additions and 0 deletions
  1. 9 0
      css/print/pdf.css

+ 9 - 0
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;
+}