diff options
author | Hakim El Hattab | 2016-01-08 10:58:13 +0100 |
---|---|---|
committer | Hakim El Hattab | 2016-01-08 10:58:13 +0100 |
commit | 52aec94800dd092a81d3de0439f95a32cba8a8cf (patch) | |
tree | d95d7eaa5cb576e2c1f0a9841df9bb5daecc60cb /css/reveal.scss | |
parent | ddd0e85f4196fb37e336157b92bf58f0365f061c (diff) |
center help overlay with flexbox
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index 5a66671..da1fb22 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -1204,6 +1204,7 @@ html:-moz-full-screen-ancestor { .reveal .overlay .viewport { position: absolute; + display: flex; top: 40px; right: 0; bottom: 0; @@ -1240,8 +1241,8 @@ html:-moz-full-screen-ancestor { .reveal .overlay.overlay-help .viewport .viewport-inner { width: 600px; - margin: 0 auto; - padding: 60px; + margin: auto; + padding: 20px 20px 80px 20px; text-align: center; letter-spacing: normal; } @@ -1253,13 +1254,13 @@ html:-moz-full-screen-ancestor { .reveal .overlay.overlay-help .viewport .viewport-inner table { border: 1px solid #fff; border-collapse: collapse; - font-size: 14px; + font-size: 16px; } .reveal .overlay.overlay-help .viewport .viewport-inner table th, .reveal .overlay.overlay-help .viewport .viewport-inner table td { width: 200px; - padding: 10px; + padding: 14px; border: 1px solid #fff; vertical-align: middle; } |