Expand table of contents and show background colors while printing

This commit is contained in:
2021-11-18 17:47:31 -06:00
parent d0c216165e
commit 217e54c1b5
3 changed files with 36 additions and 5 deletions

View File

@ -2,7 +2,6 @@
.chroma {
color: black;
}
/* Background */ .chroma { background-color: #f8f8f8 }
/* Other */ .chroma .x { color: #000000 }
/* Error */ .chroma .err { color: #a40000 }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
@ -85,3 +84,13 @@
/* GenericUnderline */ .chroma .gl { color: #000000; text-decoration: underline }
/* TextWhitespace */ .chroma .w { color: #f8f8f8; text-decoration: underline }
}
@media (prefers-color-scheme: light) {
/* Background */ .chroma { background-color: #f8f8f8 }
}
@media print {
.chroma {
background-color: white;
}
}