Make light style work on print too.

This commit is contained in:
Jordan Bancino 2022-07-23 15:16:23 -04:00
parent a79022f7c2
commit a0ba9ebfd9

View file

@ -1,5 +1,13 @@
:root {
--border-radius: 10px;
--color-snippet: #f6f8fa;
--color-link: #0969da;
--color-bg: #ffffff;
--color-text: #24292f;
--color-table-border: #d0d7de;
--color-table-accent: #f6f8fa;
}
@media(prefers-color-scheme: dark) {
@ -14,18 +22,6 @@
}
}
@media(prefers-color-scheme: light) {
:root {
--color-snippet: #f6f8fa;
--color-link: #0969da;
--color-bg: #ffffff;
--color-text: #24292f;
--color-table-border: #d0d7de;
--color-table-accent: #f6f8fa;
}
}
body {
margin: auto;
max-width: 8.5in;
@ -45,7 +41,7 @@ body {
font-family: monospace;
white-space: pre;
overflow-x: scroll;
overflow: auto;
}
kbd {