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.scss | |
parent | b6e136776ac73319140bea81e68a4e03c5269dc0 (diff) |
highlight plugin updates; support for line numbers and highlighting specific lines
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/css/reveal.scss b/css/reveal.scss index 8c14529..2592f4a 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -1549,7 +1549,6 @@ $controlsArrowAngleActive: 36deg; } - /********************************************* * PLAYBACK COMPONENT *********************************************/ @@ -1571,6 +1570,29 @@ $controlsArrowAngleActive: 36deg; /********************************************* + * 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 *********************************************/ |