Made the slideshow responsive
authorOwen Versteeg <stereotypicalapps@live.com>
Thu, 2 Aug 2012 13:22:44 +0000 (10:22 -0300)
committerOwen Versteeg <stereotypicalapps@live.com>
Thu, 2 Aug 2012 13:22:44 +0000 (10:22 -0300)
Woohoo! The slideshow now responds to resizing of the browser nicely!

css/main.css

index 6117fbc66b37d7e8f9afedf15488cccd41e3f684..966ebb75e2c2e5e75b9d0f8e9a1434e480e8afa6 100644 (file)
@@ -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;