more succinct syntax for code block line highlights
This commit is contained in:
@ -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
|
||||
|
@ -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