Skip to content

Commit aacbf6f

Browse files
committed
fix: visible links on old browsers
older browsers don't support light-dark, so links appear the same color as normal text. this makes linked text underlined on unsupported browsers to make it more visible
1 parent d0b281d commit aacbf6f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ a:hover {
196196
text-decoration: underline;
197197
}
198198

199+
@supports not (light-dark()) {
200+
a {
201+
text-decoration: underline;
202+
}
203+
}
204+
199205
mark {
200206
border-radius: 0.375rem;
201207
padding: 0.125rem 0.25rem;

0 commit comments

Comments
 (0)