1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/assets/css/dark.css
Rohan Kumar 14f2053fc1
Style: reduce horizontal scroll, element borders
All pages should now look good on screens 230px wide (DPR=1), inc. most
feature-phones running e.g. KaiOS.

Add borders to images so they look distinct from the surrounding page.
2022-02-26 17:18:44 -08:00

29 lines
424 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;
}
a {
color: #ed7;
}
a:visited {
color: #ddc;
}
a:active {
color: #c80;
}
blockquote,
:not(pre) > code,
hr,
img,
pre {
border-color: #333;
}
}