Skip to content

Commit

Permalink
css: Fix anchors styling (#120)
Browse files Browse the repository at this point in the history
`<a>` tags may also be used as anchors, so target only tags with `href`
attributes to style links.
  • Loading branch information
wismill authored Mar 11, 2024
1 parent 56183f4 commit 38c3c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/assets/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ ul {
padding-left: 1.5em;
}

a {
a[href] {
color: var(--fg-accent);
text-decoration: none;
}

a:hover {
a[href]:hover {
text-decoration: underline;
}

Expand Down

0 comments on commit 38c3c75

Please sign in to comment.