Skip to content

Commit 4305b51

Browse files
committed
DOC-12226 disambiguate code links
Code links are hard to see because they look like code, and not like links. We override `a code` to reset the link formatting for this case.
1 parent 56ba7c0 commit 4305b51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/css/base.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ code {
7272
color: var(--color-brand-gray1);
7373
}
7474

75+
a code {
76+
color: var(--color-link);
77+
background-color: transparent;
78+
}
79+
7580
html code {
7681
hyphens: none;
7782
}

0 commit comments

Comments
 (0)