From fd527c5d07f621c0ba986bf4005a5df03e200268 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 10 Nov 2012 16:22:10 -0500 Subject: [PATCH] tweak ie8 fallback --- css/reveal.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/css/reveal.css b/css/reveal.css index 174518e..c7f3c4c 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1117,13 +1117,22 @@ body { overflow-y: auto; } +.no-transforms .slides { + top: 0; + left: 50%; + margin: 0; + text-align: center; +} + .no-transforms .slides section { display: block!important; opacity: 1!important; position: relative!important; height: auto; min-height: auto; - margin-bottom: 100px; + top: 0; + left: -50%; + margin: 70px 0; -webkit-transform: none; -moz-transform: none; @@ -1131,6 +1140,10 @@ body { transform: none; } +.no-transforms .slides section section { + left: 0; +} + .no-transition { -webkit-transition: none; -moz-transition: none; -- 2.26.2