1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-26 02:22:09 +00:00
seirdy.one/assets/css/dark.css
Rohan Kumar acad7a018f
CSS: respect browser default font size
Switch from pixels to %. Required some other changes to happen
2021-06-26 19:35:49 -07:00

32 lines
516 B
CSS

@media (prefers-color-scheme: dark) {
html {
/* "background" is short for a bunch of unnecessary CSS rules
* background-color is all I need */
background-color: #000;
color: #eee; /* I've been told that pure white on black is a bit harsh */
}
/* IndieWeb u-photo shouldn't look like floating punctuation marks */
.u-photo {
border: 1px solid #ddc;
}
a {
color: #ed5;
}
a:visited {
color: #ddc;
}
a:active {
color: #c80;
}
blockquote,
p code,
hr,
pre {
border-color: #333;
}
}