refinements for multi-step code highlights

main
Hakim El Hattab 4 years ago
parent 7eb2cec6b6
commit e9ba289e80
  1. 5
      css/reveal.css
  2. 14
      css/reveal.scss
  3. 86
      plugin/highlight/highlight.js

@ -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;

@ -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
Loading…
Cancel
Save