fix link colors in dark mode

This commit is contained in:
facundoolano 2024-04-02 10:38:39 -03:00
parent 520402ec5f
commit 53c4b61cfb
2 changed files with 24 additions and 2 deletions

View file

@ -64,9 +64,20 @@ li:not(:last-child) {
}
a, a:visited {
color: LinkText;
text-decoration: none;
}
/*
Set visited links to the same color as regular ones.
Hardcoding Firefox colors since I couldn't find a portable way of reusing the browser defaults.
*/
a:visited {
color:rgb(0, 0, 238);
}
@media (prefers-color-scheme: dark) {
a:visited {
color:rgb(140, 140, 255);
}
}
a:hover {
text-decoration: underline
}

View file

@ -64,9 +64,20 @@ li:not(:last-child) {
}
a, a:visited {
color: LinkText;
text-decoration: none;
}
/*
Set visited links to the same color as regular ones.
Hardcoding Firefox colors since I couldn't find a portable way of reusing the browser defaults.
*/
a:visited {
color:rgb(0, 0, 238);
}
@media (prefers-color-scheme: dark) {
a:visited {
color:rgb(140, 140, 255);
}
}
a:hover {
text-decoration: underline
}