aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-11-10 10:02:19 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-11-10 10:02:19 -0500
commit794ad868093849bf4dbcd6d45ccc5f3b8b6fb76c (patch)
treeffc06e32956e5539590dd0e9d4a15413054c4d58 /css/reveal.css
parent691099c6a25861405f067d3b1f7c669c4642a535 (diff)
downloadfosdem-2018-presentation-794ad868093849bf4dbcd6d45ccc5f3b8b6fb76c.tar
fosdem-2018-presentation-794ad868093849bf4dbcd6d45ccc5f3b8b6fb76c.tar.gz
corrections to vertical centering (#70), added to docs, upgrade to 2.2
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css20
1 files changed, 10 insertions, 10 deletions
diff --git a/css/reveal.css b/css/reveal.css
index c654505..5f6a023 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -490,10 +490,10 @@ body {
*********************************************/
.reveal {
+ position: relative;
width: 100%;
height: 100%;
- min-height: 600px;
- position: relative;
+ min-height: 640px; /* min height + 40 to account for padding */
}
.reveal .slides {
@@ -504,9 +504,9 @@ body {
left: 50%;
top: 50%;
padding: 20px 0px;
+
overflow: visible;
z-index: 1;
-
text-align: center;
-webkit-transition: -webkit-perspective .4s ease;
@@ -520,10 +520,10 @@ body {
-ms-perspective: 600px;
perspective: 600px;
- -webkit-perspective-origin: 0% 0%;
- -moz-perspective-origin: 0% 0%;
- -ms-perspective-origin: 0% 0%;
- perspective-origin: 0% 0%;
+ -webkit-perspective-origin: 0% -25%;
+ -moz-perspective-origin: 0% -25%;
+ -ms-perspective-origin: 0% -25%;
+ perspective-origin: 0% -25%;
}
.reveal .slides>section,
@@ -566,14 +566,14 @@ body {
}
.reveal .slides>section {
- margin-left: -50%;
- margin-top: -50%;
+ left: -50%;
+ top: -50%;
}
.reveal.center,
.reveal.center .slides {
- padding: 0;
min-height: auto;
+ padding: 0;
}