mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
CSS: Dark palette: switch to yellow links
The newish APCA contrast algorithm correctly reveals that blue-on-black and purple-on-black links have lower perceptual contrast than yellow-on-black links. A Fediverse survey with 19 participants revealed that others tend to prefer the older look over this one, but the number in favor was much larger than I thought; it was a 3:2 split. I decided that on my poor laptop screen facing sunlight with simulated color vision deficiencies, the yellow links are indeed easier to read so I went with them.
This commit is contained in:
parent
72b20bf6e0
commit
2abdb82cb3
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html {
|
html {
|
||||||
background: #000;
|
background: #000;
|
||||||
color: #eee;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IndieWeb u-photo shouldn't look like floating punctuation marks */
|
/* IndieWeb u-photo shouldn't look like floating punctuation marks */
|
||||||
|
@ -13,15 +13,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #8cf;
|
color: #ed5;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #d9f;
|
color: #ddc;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:active {
|
a:active {
|
||||||
color: #e3e;
|
color: #c80;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote,
|
blockquote,
|
||||||
|
|
Loading…
Reference in a new issue