Ensure images are bound within the section
authorDan Dascalescu <ddascalescu+github@gmail.com>
Tue, 14 Aug 2012 01:55:57 +0000 (18:55 -0700)
committerDan Dascalescu <ddascalescu+github@gmail.com>
Tue, 14 Aug 2012 01:55:57 +0000 (18:55 -0700)
css/main.css

index 39c6fdb089c2b73d80f13ae82d033623a777cf38..8dba111bae4c670d34da07bb20d18fa34f419fe1 100644 (file)
@@ -108,6 +108,12 @@ body {
        font-weight: normal;
 }
 
+.reveal img {
+       /* preserve aspect ratio and scale image so it's bound within the section */
+       max-width: 100%;
+       max-height: 100%;
+} 
+
 .reveal strong, 
 .reveal b {
        font-weight: bold;