mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +00:00
Re-do dark stylesheet to avoid overstim
Use the updated weights for APCA.
This commit is contained in:
parent
f8cc34f37b
commit
0548f7d66c
2 changed files with 11 additions and 13 deletions
|
@ -1,36 +1,34 @@
|
|||
@media (prefers-color-scheme: dark) {
|
||||
/* I've been told that pure white on black is a bit harsh */
|
||||
html {
|
||||
color: #eee;
|
||||
color: #e9e9e9;
|
||||
}
|
||||
|
||||
html {
|
||||
/* "background" is short for a bunch of unnecessary CSS rules
|
||||
* background-color is all I need */
|
||||
background-color: #0f0f0b;
|
||||
}
|
||||
|
||||
/* Small text needs better contrast */
|
||||
sup a {
|
||||
background-color: #000;
|
||||
background-color: #111;
|
||||
}
|
||||
|
||||
/* Only color <a> if it's a link; if href is empty, let it be. */
|
||||
a:link {
|
||||
color: #ffeaba;
|
||||
color: #f1e6af;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #c80;
|
||||
color: #b93;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #f9dafa;
|
||||
color: #ffd6ff;
|
||||
}
|
||||
|
||||
sup a:link {
|
||||
color: #f3f0cb;
|
||||
}
|
||||
|
||||
/* Small text needs better contrast */
|
||||
sup a:visited {
|
||||
color: #fae4ff;
|
||||
color: #ffdfff;
|
||||
}
|
||||
|
||||
:not(pre) > code,
|
||||
|
|
|
@ -31,7 +31,7 @@ html {
|
|||
* minimal adjustment.
|
||||
* Only do this on screen, since printouts already improve legibility
|
||||
* and cost paper + ink. */
|
||||
font-size: 106%;
|
||||
font-size: 105%;
|
||||
|
||||
max-width: 45em;
|
||||
padding: 0 2%;
|
||||
|
|
Loading…
Reference in a new issue