aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-10-31 09:20:12 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-10-31 09:20:12 +0100
commitbc2477bf107193c0a6e2988bbc5c5828e7c32a68 (patch)
tree07c4f52146d7026571afba8517956e20b26669b4 /css
parent2b61dde83bd4882dae17acfa041b82dfeb9adb04 (diff)
downloadperl-software-in-gnu-guix-bc2477bf107193c0a6e2988bbc5c5828e7c32a68.tar
perl-software-in-gnu-guix-bc2477bf107193c0a6e2988bbc5c5828e7c32a68.tar.gz
fix no-transform mode
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css23
-rw-r--r--css/reveal.scss25
2 files changed, 25 insertions, 23 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 809d159..b024bd0 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -963,34 +963,35 @@ body {
.no-transforms {
overflow-y: auto; }
+.no-transforms .reveal {
+ overflow: visible; }
+
.no-transforms .reveal .slides {
position: relative;
width: 80%;
- height: auto !important;
+ max-width: 1280px;
+ height: auto;
top: 0;
- left: 50%;
- margin: 0;
+ margin: 0 auto;
text-align: center; }
.no-transforms .reveal .controls,
.no-transforms .reveal .progress {
- display: none !important; }
+ display: none; }
.no-transforms .reveal .slides section {
- display: block !important;
- opacity: 1 !important;
- position: relative !important;
+ display: block;
+ opacity: 1;
+ position: relative;
height: auto;
min-height: 0;
top: 0;
- left: -50%;
+ left: 0;
+ margin: 10vh 0;
margin: 70px 0;
-webkit-transform: none;
transform: none; }
-.no-transforms .reveal .slides section section {
- left: 0; }
-
.reveal .no-transition,
.reveal .no-transition * {
transition: none !important; }
diff --git a/css/reveal.scss b/css/reveal.scss
index 2a50ccc..eeed56b 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1037,37 +1037,38 @@ $controlsArrowAngleActive: 36deg;
overflow-y: auto;
}
+.no-transforms .reveal {
+ overflow: visible;
+}
+
.no-transforms .reveal .slides {
position: relative;
width: 80%;
- height: auto !important;
+ max-width: 1280px;
+ height: auto;
top: 0;
- left: 50%;
- margin: 0;
+ margin: 0 auto;
text-align: center;
}
.no-transforms .reveal .controls,
.no-transforms .reveal .progress {
- display: none !important;
+ display: none;
}
.no-transforms .reveal .slides section {
- display: block !important;
- opacity: 1 !important;
- position: relative !important;
+ display: block;
+ opacity: 1;
+ position: relative;
height: auto;
min-height: 0;
top: 0;
- left: -50%;
+ left: 0;
+ margin: 10vh 0;
margin: 70px 0;
transform: none;
}
-.no-transforms .reveal .slides section section {
- left: 0;
-}
-
.reveal .no-transition,
.reveal .no-transition * {
transition: none !important;