aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDan Dascalescu <ddascalescu+github@gmail.com>2012-08-13 18:55:57 -0700
committerDan Dascalescu <ddascalescu+github@gmail.com>2012-08-13 18:55:57 -0700
commit41796f33715bd1cdb8735d70152039c87c00a723 (patch)
tree2cb3b99fd38d5c8afad0af5e6f243941e88c6eba /css
parent6fa17971b5b9393a38c4a93f9dda7cf4062508e0 (diff)
downloadperl-software-in-gnu-guix-41796f33715bd1cdb8735d70152039c87c00a723.tar
perl-software-in-gnu-guix-41796f33715bd1cdb8735d70152039c87c00a723.tar.gz
Ensure images are bound within the section
Diffstat (limited to 'css')
-rw-r--r--css/main.css6
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;