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 */
|
2021-10-04 19:30:43 +00:00
|
|
|
background-color: #0c0c0c;
|
2021-08-30 22:08:59 +00:00
|
|
|
color: #ececec;
|
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,
|
2021-01-29 20:01:58 +00:00
|
|
|
hr,
|
2022-02-27 01:18:44 +00:00
|
|
|
img,
|
2021-01-29 20:01:58 +00:00
|
|
|
pre {
|
2020-12-16 07:18:18 +00:00
|
|
|
border-color: #333;
|
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
|
|
|
}
|