aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-04-27 15:53:02 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-04-27 15:53:02 +0200
commit4ba0d733458408ee666163792c0dc13ebec41ac4 (patch)
tree23a8bc39606be3f2c290929082d0149f210c20f0 /css
parentde41f6cf50a04ee8d8cdca2254ea919e1130590b (diff)
downloadperl-software-in-gnu-guix-4ba0d733458408ee666163792c0dc13ebec41ac4.tar
perl-software-in-gnu-guix-4ba0d733458408ee666163792c0dc13ebec41ac4.tar.gz
add , adds wrapper element around background images/videos/iframes
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css9
-rw-r--r--css/reveal.scss11
2 files changed, 16 insertions, 4 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 05c2e8d..ac095f4 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1015,10 +1015,15 @@ body {
visibility: hidden;
overflow: hidden;
background-color: transparent;
+ transition: all 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
+
+.reveal .slide-background-content {
+ position: absolute;
+ width: 100%;
+ height: 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
- background-size: cover;
- transition: all 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
+ background-size: cover; }
.reveal .slide-background.stack {
display: block; }
diff --git a/css/reveal.scss b/css/reveal.scss
index 065a0a1..efb4114 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1091,11 +1091,18 @@ $controlsArrowAngleActive: 36deg;
overflow: hidden;
background-color: rgba( 0, 0, 0, 0 );
+
+ transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+ }
+
+ .reveal .slide-background-content {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
-
- transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
}
.reveal .slide-background.stack {