Use dark-syntax.css only when dark mode is selected.
This commit is contained in:
parent
b8eadc8b1e
commit
28122c3c31
1 changed files with 85 additions and 82 deletions
|
@ -1,3 +1,5 @@
|
|||
/* Dark mode. */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
pre { line-height: 125%; }
|
||||
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
|
@ -80,3 +82,4 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
|
|||
.vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
||||
.vm { color: #f8f8f2 } /* Name.Variable.Magic */
|
||||
.il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue