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 901e52b442
CSS: corrective spacing, dark-theme coga
Yellow is a harsh color for people who deal with overstimulation; soften
it up a bit.
2022-04-21 22:31:38 -07:00

38 lines
661 B
CSS

@media (prefers-color-scheme: dark) {
/* I've been told that pure white on black is a bit harsh */
html {
color: #eee;
}
html,
.skip {
/* "background" is short for a bunch of unnecessary CSS rules
* background-color is all I need */
background-color: #0e0e0b;
}
/* Only color <a> if it's a link; if href is empty, let it be. */
a:link {
color: #ffeab3;
}
a:visited {
color: #ffdfff;
}
a:active {
color: #c80;
}
:not(pre) > code {
border-color: #555;
}
/* stylelint-disable -- hasn't heard of "prefers-contrast" yet */
@media (prefers-contrast: less) {
/* stylelint-enable */
html {
background-color: #222;
}
}
}