aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorhakimel <hakim.elhattab@gmail.com>2013-01-23 15:26:22 -0500
committerhakimel <hakim.elhattab@gmail.com>2013-01-23 15:26:43 -0500
commita041f9c64a34eaa750acd874bdf7027b7015bc29 (patch)
tree8e173bbbeee3a47a250dd949106e12f627443080 /css/reveal.css
parent3daacbc32134b89870e74c1d66fb86e4c8feca9c (diff)
downloadfreenode-live-2017-presentation-a041f9c64a34eaa750acd874bdf7027b7015bc29.tar
freenode-live-2017-presentation-a041f9c64a34eaa750acd874bdf7027b7015bc29.tar.gz
limit video size to size of slide (closes #308)
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 0680fa5..0074889 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -189,8 +189,9 @@ body {
font-style: italic;
}
-/* Preserve aspect ratio and scale image so it's bound within the section */
+/* Ensure certain elements are never larger than the slide itself */
.reveal img,
+.reveal video,
.reveal iframe {
max-width: 100%;
max-height: 100%;