diff --git a/commands/initfiles/src/assets/css/main.css b/commands/initfiles/src/assets/css/main.css index eda2c2e..bd24136 100644 --- a/commands/initfiles/src/assets/css/main.css +++ b/commands/initfiles/src/assets/css/main.css @@ -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 } diff --git a/docs/src/assets/css/main.css b/docs/src/assets/css/main.css index 2c3c998..7cba357 100644 --- a/docs/src/assets/css/main.css +++ b/docs/src/assets/css/main.css @@ -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 }