line-highlight.css (481B)
1 .reveal 2 div.sourceCode 3 pre 4 code.has-line-highlights 5 > span:not(.highlight-line) { 6 opacity: 0.4; 7 } 8 9 .reveal pre.numberSource { 10 padding-left: 0; 11 } 12 13 .reveal pre.numberSource code > span { 14 left: -2.1em; 15 } 16 17 pre.numberSource code > span > a:first-child::before { 18 left: -0.7em; 19 } 20 21 .reveal pre > code:not(:first-child).fragment { 22 position: absolute; 23 top: 0; 24 left: 0; 25 width: 100%; 26 box-sizing: border-box; 27 } 28 29 .reveal div.sourceCode pre code { 30 min-height: 100%; 31 }