Skip to content

Commit 6f242cf

Browse files
committed
improve text contrast of links
1 parent f638479 commit 6f242cf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
--about-muted: var(--muted-text);
1515
--switcher-color: invert(100%) sepia(2%) saturate(122%) hue-rotate(243deg)
1616
brightness(113%) contrast(90%);
17+
--highlight-color: #4ede00;
18+
--highlight2-color: #007f04;
1719
}
1820

1921
:root[data-theme="light"] {
@@ -33,6 +35,8 @@
3335
--about-muted: #808080;
3436
--switcher-color: invert(6%) sepia(1%) saturate(751%) hue-rotate(314deg)
3537
brightness(101%) contrast(71%);
38+
--highlight-color: #0066ff;
39+
--highlight2-color: #143398;
3640
}
3741

3842
:root {
@@ -304,3 +308,11 @@ body {
304308
padding-top: 50px;
305309
background-color: var(--main-bg);
306310
}
311+
312+
.policy a:link {
313+
color: var(--highlight-color);
314+
}
315+
316+
.policy a:visited {
317+
color: var(--highlight2-color);
318+
}

0 commit comments

Comments
 (0)