Skip to content

Commit 65cbb05

Browse files
authored
refresh link color; use filter to make hover color (PR #66)
1 parent e7d5ae9 commit 65cbb05

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/css/doc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ h1.page + aside.toc.embedded {
116116
}
117117

118118
.doc a:hover {
119-
color: var(--link_hover-font-color);
119+
filter: var(--link_hover-filter);
120120
}
121121

122122
.doc a.bare {

src/css/toc.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@
7878
}
7979

8080
.toc .toc-menu a:hover {
81-
/*
82-
color: var(--link_hover-font-color);
83-
*/
8481
color: var(--doc-font-color);
8582
-webkit-text-stroke-width: 0.01em;
8683
}

src/css/vars.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@
9292
--heading-font-weight: normal;
9393
--alt-heading-font-weight: var(--body-font-weight-bold);
9494
--section-divider-color: var(--panel-border-color);
95-
--link-font-color: #006346;
96-
--link_hover-font-color: #1e634f;
95+
/*
96+
--link-font-color: #048ba8; blue munsell
97+
--link-font-color: #2e86ab; blue NCS
98+
--link-font-color: #218380; celadon green
99+
*/
100+
--link-font-color: #2e86ab;
101+
--link_hover-filter: brightness(75%) saturate(150%);
97102
--link_unresolved-font-color: var(--important-color);
98103
--abstract-background: var(--color-smoke-70);
99104
--abstract-font-color: var(--color-jet-20);

0 commit comments

Comments
 (0)