aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-03-26 15:48:28 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-03-26 15:48:28 +0100
commit1de159c4f4dd83118805499858b21b830428d9ce (patch)
tree253578abef79509f5bc79e1ff6e19cb6860520e8 /css/reveal.css
parentccbeaf4c32a70cfd89c5af5c8c65b0b90f0c9252 (diff)
downloadperl-software-in-gnu-guix-1de159c4f4dd83118805499858b21b830428d9ce.tar
perl-software-in-gnu-guix-1de159c4f4dd83118805499858b21b830428d9ce.tar.gz
start work on video backgrounds #751
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 8e50653..9254414 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1344,6 +1344,17 @@ body {
visibility: visible !important;
}
+/* Video backgrounds */
+.reveal .slide-background video {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ max-width: none;
+ max-height: none;
+ top: 0;
+ left: 0;
+}
+
/* Immediate transition style */
.reveal[data-background-transition=none]>.backgrounds .slide-background,
.reveal>.backgrounds .slide-background[data-background-transition=none] {