Skip to content

Commit

Permalink
DOC-12226 disambiguate code links
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
osfameron committed May 31, 2024
1 parent 56ba7c0 commit 4305b51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ code {
color: var(--color-brand-gray1);
}

a code {
color: var(--color-link);
background-color: transparent;
}

html code {
hyphens: none;
}
Expand Down

0 comments on commit 4305b51

Please sign in to comment.