mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-27 10:52:09 +00:00
3c2e4f40c4
Thanks to anonymous for feedback on contrast with astigmatism.
33 lines
521 B
CSS
33 lines
521 B
CSS
@media (prefers-color-scheme: dark) {
|
|
html {
|
|
/* "background" is short for a bunch of unnecessary CSS rules
|
|
* background-color is all I need
|
|
* I've been told that pure white on black is a bit harsh */
|
|
background-color: #0c0c0c;
|
|
color: #ececec;
|
|
}
|
|
|
|
/* IndieWeb u-photo shouldn't look like floating punctuation marks */
|
|
.u-photo {
|
|
border: 1px solid #ddc;
|
|
}
|
|
|
|
a {
|
|
color: #ed7;
|
|
}
|
|
|
|
a:visited {
|
|
color: #ddc;
|
|
}
|
|
|
|
a:active {
|
|
color: #c80;
|
|
}
|
|
|
|
blockquote,
|
|
p code,
|
|
hr,
|
|
pre {
|
|
border-color: #333;
|
|
}
|
|
}
|