aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-05-22 11:50:18 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-05-22 11:50:18 +0200
commitb64c35ed0b21e3bc285fbf3b5f1c7202f12b5d8e (patch)
treeac3f38d677cd66b21a103d84ac8406b889ec503e
parentfab28362ce2f46929c41cc1252281a7757b4695f (diff)
downloadfosdem-2018-presentation-b64c35ed0b21e3bc285fbf3b5f1c7202f12b5d8e.tar
fosdem-2018-presentation-b64c35ed0b21e3bc285fbf3b5f1c7202f12b5d8e.tar.gz
tweak control spacing
-rw-r--r--css/reveal.css8
-rw-r--r--css/reveal.scss9
2 files changed, 9 insertions, 8 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 7306481..cac8eb7 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -356,19 +356,19 @@ body {
.reveal:not(.has-vertical-slides) .controls .navigate-left {
bottom: 1.4em;
- right: 6.4em; }
+ right: 5.5em; }
.reveal:not(.has-vertical-slides) .controls .navigate-right {
bottom: 1.4em;
- right: 1.4em; }
+ right: 0.5em; }
.reveal:not(.has-horizontal-slides) .controls .navigate-up {
right: 1.4em;
- bottom: 6.4em; }
+ bottom: 5em; }
.reveal:not(.has-horizontal-slides) .controls .navigate-down {
right: 1.4em;
- bottom: 1.4em; }
+ bottom: 0.5em; }
.reveal.has-dark-background .controls {
color: #fff; }
diff --git a/css/reveal.scss b/css/reveal.scss
index 738b477..40ba900 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -421,21 +421,22 @@ $controlsArrowAngleActive: 36deg;
// Adjust the layout when there are no vertical slides
.reveal:not(.has-vertical-slides) .controls .navigate-left {
bottom: $controlArrowSpacing;
- right: $controlArrowSpacing*2 + $controlArrowSize;
+ right: 0.5em + $controlArrowSpacing + $controlArrowSize;
}
.reveal:not(.has-vertical-slides) .controls .navigate-right {
bottom: $controlArrowSpacing;
- right: $controlArrowSpacing;
+ right: 0.5em;
}
+// Adjust the layout when there are no horizontal slides
.reveal:not(.has-horizontal-slides) .controls .navigate-up {
right: $controlArrowSpacing;
- bottom: $controlArrowSpacing*2 + $controlArrowSize;
+ bottom: $controlArrowSpacing + $controlArrowSize;
}
.reveal:not(.has-horizontal-slides) .controls .navigate-down {
right: $controlArrowSpacing;
- bottom: $controlArrowSpacing;
+ bottom: 0.5em;
}
// Invert arrows based on background color