refinements for multi-step code highlights

This commit is contained in:
Hakim El Hattab 2019-04-05 19:49:17 +02:00
parent 7eb2cec6b6
commit e9ba289e80
3 changed files with 57 additions and 56 deletions

View File

@ -1453,12 +1453,9 @@ body {
text-align: right;
vertical-align: top; }
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
.reveal .hljs.has-highlights tr:not(.highlight-line) {
opacity: 0.4; }
.reveal .hljs .highlight-line .hljs-ln-numbers {
font-weight: 600; }
.reveal .hljs:not(:first-child).fragment {
position: absolute;
top: 0;

View File

@ -1590,20 +1590,16 @@ $controlsArrowAngleActive: 36deg;
vertical-align: top;
}
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
.reveal .hljs.has-highlights tr:not(.highlight-line) {
opacity: 0.4;
}
.reveal .hljs .highlight-line .hljs-ln-numbers {
font-weight: 600;
}
.reveal .hljs:not(:first-child).fragment {
position: absolute;
top: 0;
left: 0;
width: 100%;
box-sizing: border-box;
top: 0;
left: 0;
width: 100%;
box-sizing: border-box;
}

File diff suppressed because one or more lines are too long