diff options
author | Hakim El Hattab | 2016-10-12 11:19:21 +0200 |
---|---|---|
committer | Hakim El Hattab | 2017-05-16 09:45:37 +0200 |
commit | 2a0a6cbabce1c584dd8cc90b435a6cdddfedfbdb (patch) | |
tree | 45c3920ccb995e87fc640eb74c82d1728c18c4c3 /css/reveal.scss | |
parent | 54a2137c0d20905aa3190b7009735d1171295be0 (diff) |
reduce control spacing
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index d2945ec..4a3c1a9 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -238,7 +238,7 @@ body { .reveal .controls { $size: 52px; $length: floor($size * 0.6); - $spacing: 20px; + $spacing: 8px; $thickness: 6px; $angle: 44deg; $angleHover: 40deg; @@ -374,6 +374,8 @@ body { } @mixin bottom-right-controls() { + $innerSpacing: 20px; + & { top: auto; bottom: $spacing; @@ -392,19 +394,19 @@ body { } .navigate-left { - right: $size + $spacing*2; - bottom: $spacing; + right: $size + $innerSpacing*2; + bottom: $innerSpacing; } .navigate-right { right: 0; - bottom: $spacing; + bottom: $innerSpacing; } .navigate-up { - right: $spacing; - bottom: $size + $spacing*2; + right: $innerSpacing; + bottom: $size + $innerSpacing*2; } .navigate-down { - right: $spacing; + right: $innerSpacing; bottom: 0; } } |