2020-11-03 23:46:20 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
2020-12-13 05:05:25 +00:00
|
|
|
html {
|
2021-06-27 02:35:49 +00:00
|
|
|
/* "background" is short for a bunch of unnecessary CSS rules
|
2021-08-30 22:08:59 +00:00
|
|
|
* background-color is all I need
|
|
|
|
* I've been told that pure white on black is a bit harsh */
|
2022-04-03 06:54:39 +00:00
|
|
|
background-color: #0e0e0e;
|
|
|
|
color: #eee;
|
2020-11-23 23:47:27 +00:00
|
|
|
}
|
2020-11-03 23:46:20 +00:00
|
|
|
|
2020-11-26 06:19:52 +00:00
|
|
|
a {
|
2021-08-30 22:08:59 +00:00
|
|
|
color: #ed7;
|
2020-11-23 23:47:27 +00:00
|
|
|
}
|
2020-11-03 23:46:20 +00:00
|
|
|
|
2020-12-16 07:18:18 +00:00
|
|
|
a:visited {
|
2021-06-03 08:24:04 +00:00
|
|
|
color: #ddc;
|
2020-12-16 07:18:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
2021-06-03 08:24:04 +00:00
|
|
|
color: #c80;
|
2020-11-23 23:47:27 +00:00
|
|
|
}
|
2020-12-13 05:05:25 +00:00
|
|
|
|
2021-01-29 20:01:58 +00:00
|
|
|
blockquote,
|
2022-02-25 01:56:17 +00:00
|
|
|
:not(pre) > code,
|
2022-02-27 01:18:44 +00:00
|
|
|
img,
|
2021-01-29 20:01:58 +00:00
|
|
|
pre {
|
2022-04-03 06:54:39 +00:00
|
|
|
border-color: #444;
|
2020-11-23 23:47:27 +00:00
|
|
|
}
|
2022-03-31 00:44:39 +00:00
|
|
|
|
|
|
|
/* stylelint-disable -- hasn't heard of "prefers-contrast" yet */
|
|
|
|
@media (prefers-contrast: less) {
|
|
|
|
/* stylelint-enable */
|
|
|
|
html {
|
|
|
|
background-color: #222;
|
|
|
|
}
|
|
|
|
}
|
2020-11-03 23:46:20 +00:00
|
|
|
}
|