diff options
author | Hakim El Hattab | 2017-05-22 11:50:18 +0200 |
---|---|---|
committer | Hakim El Hattab | 2017-05-22 11:50:18 +0200 |
commit | b64c35ed0b21e3bc285fbf3b5f1c7202f12b5d8e (patch) | |
tree | ac3f38d677cd66b21a103d84ac8406b889ec503e /css/reveal.scss | |
parent | fab28362ce2f46929c41cc1252281a7757b4695f (diff) |
tweak control spacing
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 9 |
1 files changed, 5 insertions, 4 deletions
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 |