aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-03-08 15:07:59 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-03-08 15:07:59 +0100
commitcef864a7be9abe6e53810a83f6a577e83433cc66 (patch)
tree9702d5aee3fa889ef41258ce4f5a3d654b5fad5f /css/reveal.css
parentb6e136776ac73319140bea81e68a4e03c5269dc0 (diff)
downloadfreenode-live-2017-presentation-cef864a7be9abe6e53810a83f6a577e83433cc66.tar
freenode-live-2017-presentation-cef864a7be9abe6e53810a83f6a577e83433cc66.tar.gz
highlight plugin updates; support for line numbers and highlighting specific lines
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css17
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 {