mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-22 14:22:53 +02:00
more succinct syntax for code block line highlights
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user