first version of multi-step code highlights

This commit is contained in:
Hakim El Hattab
2019-04-05 07:59:28 +02:00
parent c636b88b2d
commit 7eb2cec6b6
5 changed files with 169 additions and 22 deletions

View File

@ -1456,6 +1456,16 @@ body {
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) 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; }
/*********************************************
* ROLLING LINKS
*********************************************/

View File

@ -1594,6 +1594,18 @@ $controlsArrowAngleActive: 36deg;
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;
}
/*********************************************
* ROLLING LINKS