From: Owen Versteeg Date: Thu, 2 Aug 2012 13:22:44 +0000 (-0300) Subject: Made the slideshow responsive X-Git-Tag: 2.0.0~59^2^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cae363e7a5dff66e563ebe9c2639f0d8e746e8b6;p=reveal.js.git Made the slideshow responsive Woohoo! The slideshow now responds to resizing of the browser nicely! --- diff --git a/css/main.css b/css/main.css index 6117fbc..966ebb7 100644 --- a/css/main.css +++ b/css/main.css @@ -455,13 +455,12 @@ body { .reveal .slides { position: absolute; - width: 900px; - height: 600px; - + width: 60%; + height: 60%; left: 50%; top: 50%; - margin-left: -450px; - margin-top: -320px; + margin-left: -30%; + margin-top: -47%; padding: 20px 0px; text-align: center;