Skip to content

Commit

Permalink
Restyle links to only colour underline
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Feb 1, 2025
1 parent 8c910ee commit ad089ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions assets/css/extended/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,16 @@ main {
/* box-shadow behaves weirdly in some situations, so let's use the more appropriate
* text-underline-offset property to achieve the same look. */
.post-content a, .post-content a > code {
color: color-mix(in srgb, var(--secondary) 35%, var(--content));
box-shadow: none;
text-decoration: underline;
text-decoration-color: color-mix(in srgb, var(--secondary), transparent 40%);
}

a:hover {
color: var(--secondary);
transition-duration: 70ms;
}

:is(.post-header, .post-content, .post-footer) a:active {
filter: brightness(75%);
transition-duration: 70ms;
}

.post-content blockquote {
background-color: color-mix(in srgb,var(--secondary), var(--theme) 96%);
max-width: fit-content;
Expand Down

0 comments on commit ad089ae

Please sign in to comment.