projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa1797
)
Ensure images are bound within the section
author
Dan Dascalescu
<ddascalescu+github@gmail.com>
Tue, 14 Aug 2012 01:55:57 +0000
(18:55 -0700)
committer
Dan Dascalescu
<ddascalescu+github@gmail.com>
Tue, 14 Aug 2012 01:55:57 +0000
(18:55 -0700)
css/main.css
patch
|
blob
|
history
diff --git
a/css/main.css
b/css/main.css
index 39c6fdb089c2b73d80f13ae82d033623a777cf38..8dba111bae4c670d34da07bb20d18fa34f419fe1 100644
(file)
--- 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;