aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css5
-rw-r--r--css/reveal.scss3
2 files changed, 5 insertions, 3 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 12a1d43..c6ab0b1 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1442,7 +1442,7 @@ body {
.reveal .hljs table {
margin: initial; }
-.reveal .hljs.highlight-lines tr:not(.highlight-line) {
+.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25; }
.reveal .hljs-ln-code,
@@ -1451,7 +1451,8 @@ body {
border: 0; }
.reveal .hljs-ln-numbers {
- padding-right: 10px; }
+ padding-right: 10px;
+ text-align: right; }
/*********************************************
* ROLLING LINKS
diff --git a/css/reveal.scss b/css/reveal.scss
index 2592f4a..9b0ddd6 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1577,7 +1577,7 @@ $controlsArrowAngleActive: 36deg;
margin: initial;
}
-.reveal .hljs.highlight-lines tr:not(.highlight-line) {
+.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25;
}
@@ -1589,6 +1589,7 @@ $controlsArrowAngleActive: 36deg;
.reveal .hljs-ln-numbers {
padding-right: 10px;
+ text-align: right;
}