1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-20 04:12:09 +00:00
seirdy.one/assets/css/dark.css
Rohan Kumar b224d003bb
Dark stylesheet improvement
- Replace css filter with a border
- Replacae "background" with "background-color" since "background" does
  a bunch of other things too.
2021-06-24 15:22:54 -07:00

31 lines
509 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;
}
}