Skip to content

Commit 8727a0d

Browse files
committed
more link color tweaks
1 parent f02a443 commit 8727a0d

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/css/doc.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
.doc h4 .anchor,
7272
.doc h5 .anchor,
7373
.doc h6 .anchor {
74-
color: var(--color-brand-primary);
7574
position: absolute;
7675
text-decoration: none;
7776
width: 1.75ex;
@@ -97,7 +96,9 @@
9796
.doc h4:hover .anchor,
9897
.doc h5:hover .anchor,
9998
.doc h6:hover .anchor {
99+
color: var(--color-brand-primary);
100100
visibility: visible;
101+
-webkit-text-stroke-width: initial;
101102
}
102103

103104
.doc p {
@@ -112,11 +113,10 @@
112113
color: var(--link-font-color);
113114
}
114115

115-
/*
116116
.doc a:hover {
117117
color: var(--link_hover-font-color);
118+
-webkit-text-stroke-width: 0.01em;
118119
}
119-
*/
120120

121121
.doc a.unresolved {
122122
color: var(--link_unresolved-font-color);

src/css/toc.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,17 @@
7878
}
7979

8080
.toc .toc-menu a:hover {
81-
color: var(--link-font-color);
81+
/*
82+
color: var(--link_hover-font-color);
83+
*/
84+
color: var(--doc-font-color);
8285
-webkit-text-stroke-width: 0.01em;
8386
}
8487

8588
.toc .toc-menu a.is-active {
8689
border-left-color: var(--color-brand-primary);
8790
color: var(--doc-font-color);
91+
-webkit-text-stroke-width: 0.01em;
8892
}
8993

9094
.sidebar.toc .toc-menu a:focus {

src/css/vars.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
--alt-heading-font-weight: var(--body-font-weight-bold);
9090
--section-divider-color: var(--panel-border-color);
9191
--link-font-color: #006346;
92-
--link_hover-font-color: var(--link-font-color);
92+
--link_hover-font-color: #1e634f;
9393
--link_unresolved-font-color: var(--important-color);
9494
--abstract-background: var(--color-smoke-70);
9595
--abstract-font-color: var(--color-jet-20);

0 commit comments

Comments
 (0)