aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-10-10 12:11:27 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-10-10 12:11:35 +0200
commit7547b893d4421c193974a9e68989cfa20669ac11 (patch)
tree2809b8b2d4f7a93ca67b85ade2028c11481dd5f5 /css
parente76855e257d0f901c7a8a51630458f0d9dbaefcc (diff)
downloadfreenode-live-2017-presentation-7547b893d4421c193974a9e68989cfa20669ac11.tar
freenode-live-2017-presentation-7547b893d4421c193974a9e68989cfa20669ac11.tar.gz
fixes ff overview rendering bug #1649
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css5
-rw-r--r--css/reveal.scss10
2 files changed, 14 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css
index c879c03..dbabfcb 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1001,6 +1001,8 @@ body {
perspective-origin: 50% 50%;
-webkit-perspective: 700px;
perspective: 700px; }
+ .reveal.overview .slides {
+ -moz-transform-style: preserve-3d; }
.reveal.overview .slides section {
height: 100%;
top: 0 !important;
@@ -1028,7 +1030,8 @@ body {
overflow: visible; }
.reveal.overview .backgrounds {
-webkit-perspective: inherit;
- perspective: inherit; }
+ perspective: inherit;
+ -moz-transform-style: preserve-3d; }
.reveal.overview .backgrounds .slide-background {
opacity: 1;
visibility: visible;
diff --git a/css/reveal.scss b/css/reveal.scss
index c5ff05a..f6a37ad 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1028,6 +1028,12 @@ body {
perspective-origin: 50% 50%;
perspective: 700px;
+ .slides {
+ // Fixes overview rendering errors in FF48+, not applied to
+ // other browsers since it degrades performance
+ -moz-transform-style: preserve-3d;
+ }
+
.slides section {
height: 100%;
top: 0 !important;
@@ -1060,6 +1066,10 @@ body {
.backgrounds {
perspective: inherit;
+
+ // Fixes overview rendering errors in FF48+, not applied to
+ // other browsers since it degrades performance
+ -moz-transform-style: preserve-3d;
}
.backgrounds .slide-background {