From 41796f33715bd1cdb8735d70152039c87c00a723 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Mon, 13 Aug 2012 18:55:57 -0700 Subject: [PATCH] Ensure images are bound within the section --- css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css/main.css b/css/main.css index 39c6fdb..8dba111 100644 --- a/css/main.css +++ b/css/main.css @@ -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;