diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-03-12 13:21:27 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-03-12 13:21:27 +0100 |
commit | cfc2f9cf9c09be971a70803db49bf0de704cd877 (patch) | |
tree | 36ff55418d926a821d8a4e642616d166ad182cc5 /css | |
parent | 553a174cc790ecb2e21e16e6ddffacf266902a5d (diff) | |
download | perl-software-in-gnu-guix-cfc2f9cf9c09be971a70803db49bf0de704cd877.tar perl-software-in-gnu-guix-cfc2f9cf9c09be971a70803db49bf0de704cd877.tar.gz |
line number styling tweaks
Diffstat (limited to 'css')
-rw-r--r-- | css/reveal.css | 12 | ||||
-rw-r--r-- | css/reveal.scss | 14 |
2 files changed, 15 insertions, 11 deletions
diff --git a/css/reveal.css b/css/reveal.css index c6ab0b1..47f561c 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1442,17 +1442,19 @@ body { .reveal .hljs table { margin: initial; } -.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { - opacity: 0.25; } - .reveal .hljs-ln-code, .reveal .hljs-ln-numbers { padding: 0; border: 0; } .reveal .hljs-ln-numbers { - padding-right: 10px; - text-align: right; } + opacity: 0.6; + padding-right: 0.75em; + text-align: right; + vertical-align: top; } + +.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { + opacity: 0.25; } /********************************************* * ROLLING LINKS diff --git a/css/reveal.scss b/css/reveal.scss index 9b0ddd6..3b4b05c 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -1577,19 +1577,21 @@ $controlsArrowAngleActive: 36deg; margin: initial; } -.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { - opacity: 0.25; -} - .reveal .hljs-ln-code, .reveal .hljs-ln-numbers { padding: 0; border: 0; } -.reveal .hljs-ln-numbers { - padding-right: 10px; +.reveal .hljs-ln-numbers { + opacity: 0.6; + padding-right: 0.75em; text-align: right; + vertical-align: top; +} + +.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { + opacity: 0.25; } |