diff options
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/css/reveal.css b/css/reveal.css index 1b9651b..0ca77e7 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -3,7 +3,7 @@ * http://revealjs.com * MIT licensed * - * Copyright (C) 2019 Hakim El Hattab, http://hakim.se + * Copyright (C) 2020 Hakim El Hattab, http://hakim.se */ /********************************************* * GLOBAL STYLES @@ -77,29 +77,29 @@ body { text-decoration: line-through; } .reveal .slides section .fragment.fade-up { - -webkit-transform: translate(0, 20%); - transform: translate(0, 20%); } + -webkit-transform: translate(0, 40px); + transform: translate(0, 40px); } .reveal .slides section .fragment.fade-up.visible { -webkit-transform: translate(0, 0); transform: translate(0, 0); } .reveal .slides section .fragment.fade-down { - -webkit-transform: translate(0, -20%); - transform: translate(0, -20%); } + -webkit-transform: translate(0, -40px); + transform: translate(0, -40px); } .reveal .slides section .fragment.fade-down.visible { -webkit-transform: translate(0, 0); transform: translate(0, 0); } .reveal .slides section .fragment.fade-right { - -webkit-transform: translate(-20%, 0); - transform: translate(-20%, 0); } + -webkit-transform: translate(-40px, 0); + transform: translate(-40px, 0); } .reveal .slides section .fragment.fade-right.visible { -webkit-transform: translate(0, 0); transform: translate(0, 0); } .reveal .slides section .fragment.fade-left { - -webkit-transform: translate(20%, 0); - transform: translate(20%, 0); } + -webkit-transform: translate(40px, 0); + transform: translate(40px, 0); } .reveal .slides section .fragment.fade-left.visible { -webkit-transform: translate(0, 0); transform: translate(0, 0); } @@ -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; } } @@ -1453,9 +1454,16 @@ body { text-align: right; 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 *********************************************/ |