mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +00:00
Lighten inks, inline footer nav on widescreen
- I felt dark-mode links were still a bit harsh, so I lightened them. - Improved perceptual contrast of the purple visited links by making the background color slightly less blue. - On widescreen, make footer links inline. They happen to be about the same width as the global nav, which makes this work well.
This commit is contained in:
parent
f10de9f2e2
commit
223fcd42c3
2 changed files with 5 additions and 4 deletions
|
@ -8,16 +8,16 @@
|
|||
.skip {
|
||||
/* "background" is short for a bunch of unnecessary CSS rules
|
||||
* background-color is all I need */
|
||||
background-color: #0e0e0b;
|
||||
background-color: #0f0f0b;
|
||||
}
|
||||
|
||||
/* Only color <a> if it's a link; if href is empty, let it be. */
|
||||
a:link {
|
||||
color: #ffeab3;
|
||||
color: #ffeaba;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #ffdfff;
|
||||
color: #ffe3f9;
|
||||
}
|
||||
|
||||
a:active {
|
||||
|
|
|
@ -79,7 +79,8 @@ h1 {
|
|||
/* single-line nav on widescreen and print.
|
||||
* Single-line nav on print saves almost half a page. */
|
||||
@media print, (min-width: 32em) {
|
||||
header nav li {
|
||||
header nav li,
|
||||
footer nav li {
|
||||
display: inline;
|
||||
|
||||
/* inline-end doesn't work in netsurf. -right should stil make sense
|
||||
|
|
Loading…
Reference in a new issue