mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/css: steal element's link text color
This commit is contained in:
parent
d70529acda
commit
9e5f34aaca
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
||||||
--inverted-text-color: var(--background-color);
|
--inverted-text-color: var(--background-color);
|
||||||
--secondary-text-color: #888;
|
--secondary-text-color: #888;
|
||||||
--semisecondary-text-color: #555;
|
--semisecondary-text-color: #555;
|
||||||
|
--link-text-color: #0467dd;
|
||||||
|
--visited-link-text-color: var(--link-text-color);
|
||||||
|
|
||||||
--primary-color: #00c853;
|
--primary-color: #00c853;
|
||||||
--primary-color-dark: #00b24a;
|
--primary-color-dark: #00b24a;
|
||||||
|
@ -69,6 +71,7 @@
|
||||||
--inverted-text-color: var(--background-color);
|
--inverted-text-color: var(--background-color);
|
||||||
--secondary-text-color: #888;
|
--secondary-text-color: #888;
|
||||||
--semisecondary-text-color: #bbb;
|
--semisecondary-text-color: #bbb;
|
||||||
|
--link-text-color: #4187eb;
|
||||||
|
|
||||||
--primary-color: #00b24a;
|
--primary-color: #00b24a;
|
||||||
--primary-color-dark: #00c853;
|
--primary-color-dark: #00c853;
|
||||||
|
@ -174,6 +177,11 @@ button, a.button {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: var(--link-text-color);
|
||||||
|
|
||||||
|
&:visited {
|
||||||
|
color: var(--visited-link-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
&:hover:not(.button) {
|
&:hover:not(.button) {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
Loading…
Add table
Reference in a new issue