Skip to content

Commit e8a20fd

Browse files
committed
use accent color on section anchors and thicken stroke in toc
1 parent 7c22ac7 commit e8a20fd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/css/doc.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
.doc h4 .anchor,
7272
.doc h5 .anchor,
7373
.doc h6 .anchor {
74+
color: var(--color-brand-primary);
7475
position: absolute;
7576
text-decoration: none;
7677
width: 1.75ex;
@@ -111,9 +112,11 @@
111112
color: var(--link-font-color);
112113
}
113114

115+
/*
114116
.doc a:hover {
115117
color: var(--link_hover-font-color);
116118
}
119+
*/
117120

118121
.doc a.unresolved {
119122
color: var(--link_unresolved-font-color);

src/css/toc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979

8080
.toc .toc-menu a:hover {
8181
color: var(--color-brand-primary);
82+
-webkit-text-stroke-width: 0.01em;
8283
}
8384

8485
.toc .toc-menu a.is-active {

0 commit comments

Comments
 (0)