diff options
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index ab732a4..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; } @@ -1590,10 +1591,18 @@ $controlsArrowAngleActive: 36deg; vertical-align: top; } -.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { +.reveal .hljs.has-highlights tr:not(.highlight-line) { opacity: 0.4; } +.reveal .hljs:not(:first-child).fragment { + position: absolute; + top: 0; + left: 0; + width: 100%; + box-sizing: border-box; +} + /********************************************* * ROLLING LINKS |