diff options
author | Hakim El Hattab | 2012-08-14 17:59:33 -0700 |
---|---|---|
committer | Hakim El Hattab | 2012-08-14 17:59:33 -0700 |
commit | d0e6e95781620f9c1638f16e049f9962ab11e33a (patch) | |
tree | 2ecc920ed28af4d956aa943678e213143117c431 /css | |
parent | fd005ea46195c95e58e065285aaad1794830ba4e (diff) | |
parent | 41796f33715bd1cdb8735d70152039c87c00a723 (diff) |
Merge pull request #115 from dandv/patch-5
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; |