use flexbox for vertically centered printing #862

This commit is contained in:
Hakim El Hattab 2014-04-03 10:51:27 +02:00
parent 9e78fe3ee2
commit f0f48bd9b0
1 changed files with 9 additions and 0 deletions

View File

@ -188,3 +188,12 @@ ul, ol, div, p {
.reveal small a { .reveal small a {
font-size: 16pt !important; 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;
}