mirror of
https://github.com/facundoolano/jorge.git
synced 2024-11-16 07:47:40 +01:00
fix link colors in dark mode
This commit is contained in:
parent
520402ec5f
commit
53c4b61cfb
2 changed files with 24 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue