summaryrefslogtreecommitdiffhomepage
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css13
-rw-r--r--css/reveal.scss9
2 files changed, 12 insertions, 10 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 91ee6dc..fb47296 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -227,7 +227,7 @@ body {
bottom: 12px;
right: 12px;
left: auto;
- z-index: 1;
+ z-index: 11;
color: #000;
pointer-events: none;
font-size: 10px; }
@@ -312,7 +312,8 @@ body {
transform: rotate(90deg); }
.reveal .controls .navigate-down {
right: 3.2em;
- bottom: 0;
+ bottom: -1.4em;
+ padding-bottom: 1.4em;
-webkit-transform: translateY(10px);
transform: translateY(10px); }
.reveal .controls .navigate-down .controls-arrow {
@@ -395,18 +396,18 @@ body {
right: auto; }
.reveal .controls[data-controls-layout="edges"] .navigate-left {
top: 50%;
- left: 8px;
+ left: 0.8em;
margin-top: -1.8em; }
.reveal .controls[data-controls-layout="edges"] .navigate-right {
top: 50%;
- right: 8px;
+ right: 0.8em;
margin-top: -1.8em; }
.reveal .controls[data-controls-layout="edges"] .navigate-up {
- top: 8px;
+ top: 0.8em;
left: 50%;
margin-left: -1.8em; }
.reveal .controls[data-controls-layout="edges"] .navigate-down {
- bottom: 8px;
+ bottom: -0.3em;
left: 50%;
margin-left: -1.8em; } }
diff --git a/css/reveal.scss b/css/reveal.scss
index a6cb9bc..a7b148c 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -263,7 +263,7 @@ $controlsArrowAngleActive: 36deg;
bottom: $spacing;
right: $spacing;
left: auto;
- z-index: 1;
+ z-index: 11;
color: #000;
pointer-events: none;
font-size: 10px;
@@ -355,7 +355,8 @@ $controlsArrowAngleActive: 36deg;
.navigate-down {
right: $controlArrowSpacing + $controlArrowSize/2;
- bottom: 0;
+ bottom: -$controlArrowSpacing;
+ padding-bottom: $controlArrowSpacing;
transform: translateY( 10px );
.controls-arrow {
@@ -452,7 +453,7 @@ $controlsArrowAngleActive: 36deg;
// Edge aligned controls layout
@media screen and (min-width: 500px) {
- $spacing: 8px;
+ $spacing: 0.8em;
.reveal .controls[data-controls-layout="edges"] {
& {
@@ -489,7 +490,7 @@ $controlsArrowAngleActive: 36deg;
}
.navigate-down {
- bottom: $spacing;
+ bottom: $spacing - $controlArrowSpacing + 0.3em;
left: 50%;
margin-left: -$controlArrowSize/2;
}