Skip to content

Commit

Permalink
style: add underline offset to links
Browse files Browse the repository at this point in the history
Co-authored-by: Lehoczky Zoltán <[email protected]>
  • Loading branch information
brc-dd and Lehoczky committed Aug 6, 2023
1 parent d818874 commit 8ff93e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
color: inherit;
font-weight: 600;
text-decoration: underline dotted;
text-underline-offset: 2px;
transition: opacity 0.25s;
}

.custom-block a:hover {
text-decoration: underline dotted;
opacity: 0.75;
}

Expand Down
5 changes: 1 addition & 4 deletions src/client/theme-default/styles/components/vp-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@

.vp-doc a:hover {
text-decoration: underline dotted;
text-underline-offset: 2px;
}

.vp-doc strong {
Expand Down Expand Up @@ -216,10 +217,6 @@
font-weight: 600;
}

.vp-doc .custom-block a:hover {
text-decoration: underline dotted;
}

.vp-doc .custom-block code {
font-size: var(--vp-custom-block-code-font-size);
font-weight: 700;
Expand Down

0 comments on commit 8ff93e5

Please sign in to comment.