Ensure images are bound within the section

edit
Dan Dascalescu 2012-08-13 18:55:57 -07:00
parent 6fa17971b5
commit 41796f3371
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ body {
font-weight: normal; 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 strong,
.reveal b { .reveal b {
font-weight: bold; font-weight: bold;