diff options
author | Dan Dascalescu | 2012-08-13 18:55:57 -0700 |
---|---|---|
committer | Dan Dascalescu | 2012-08-13 18:55:57 -0700 |
commit | 41796f33715bd1cdb8735d70152039c87c00a723 (patch) | |
tree | 2cb3b99fd38d5c8afad0af5e6f243941e88c6eba /css | |
parent | 6fa17971b5b9393a38c4a93f9dda7cf4062508e0 (diff) |
Ensure images are bound within the section
Diffstat (limited to 'css')
-rw-r--r-- | css/main.css | 6 |
1 files changed, 6 insertions, 0 deletions
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; |