line number styling tweaks

This commit is contained in:
Hakim El Hattab 2019-03-12 13:21:27 +01:00
parent 553a174cc7
commit cfc2f9cf9c
2 changed files with 15 additions and 11 deletions

View File

@ -1442,17 +1442,19 @@ body {
.reveal .hljs table {
margin: initial; }
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25; }
.reveal .hljs-ln-code,
.reveal .hljs-ln-numbers {
padding: 0;
border: 0; }
.reveal .hljs-ln-numbers {
padding-right: 10px;
text-align: right; }
opacity: 0.6;
padding-right: 0.75em;
text-align: right;
vertical-align: top; }
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25; }
/*********************************************
* ROLLING LINKS

View File

@ -1577,10 +1577,6 @@ $controlsArrowAngleActive: 36deg;
margin: initial;
}
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25;
}
.reveal .hljs-ln-code,
.reveal .hljs-ln-numbers {
padding: 0;
@ -1588,8 +1584,14 @@ $controlsArrowAngleActive: 36deg;
}
.reveal .hljs-ln-numbers {
padding-right: 10px;
opacity: 0.6;
padding-right: 0.75em;
text-align: right;
vertical-align: top;
}
.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
opacity: 0.25;
}