web/css: steal element's link text color

This commit is contained in:
Tulir Asokan 2024-11-04 15:13:14 +01:00
parent d70529acda
commit 9e5f34aaca

View file

@ -8,6 +8,8 @@
--inverted-text-color: var(--background-color);
--secondary-text-color: #888;
--semisecondary-text-color: #555;
--link-text-color: #0467dd;
--visited-link-text-color: var(--link-text-color);
--primary-color: #00c853;
--primary-color-dark: #00b24a;
@ -69,6 +71,7 @@
--inverted-text-color: var(--background-color);
--secondary-text-color: #888;
--semisecondary-text-color: #bbb;
--link-text-color: #4187eb;
--primary-color: #00b24a;
--primary-color-dark: #00c853;
@ -174,6 +177,11 @@ button, a.button {
a {
text-decoration: none;
color: var(--link-text-color);
&:visited {
color: var(--visited-link-text-color);
}
&:hover:not(.button) {
text-decoration: underline;