diff options
author | Hakim El Hattab | 2019-03-08 15:07:59 +0100 |
---|---|---|
committer | Hakim El Hattab | 2019-03-08 15:07:59 +0100 |
commit | cef864a7be9abe6e53810a83f6a577e83433cc66 (patch) | |
tree | 9702d5aee3fa889ef41258ce4f5a3d654b5fad5f /css/reveal.css | |
parent | b6e136776ac73319140bea81e68a4e03c5269dc0 (diff) |
highlight plugin updates; support for line numbers and highlighting specific lines
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css index 335fe82..12a1d43 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1437,6 +1437,23 @@ body { visibility: hidden; } /********************************************* + * CODE HIGHLGIHTING + *********************************************/ +.reveal .hljs table { + margin: initial; } + +.reveal .hljs.highlight-lines 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; } + +/********************************************* * ROLLING LINKS *********************************************/ .reveal .roll { |