Skip to content

Commit

Permalink
style warning link target
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdherron committed Feb 6, 2025
1 parent cf92e08 commit 72a30d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/lib/components/ratio/ColorIssues.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,14 @@
margin-block-start: var(--gutter);
max-inline-size: 85ch;
li:has(h3:target) {
color: white;
background: var(--success);
:target {
color: var(--active);
&::after {
content: ' \25C6';
display: inline-block;
margin-inline-start: var(--shim);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/sass/patterns/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ dd {
.list-item-heading {
font-size: var(--small);
font-weight: bold;
transition: color var(--fast);
}

0 comments on commit 72a30d0

Please sign in to comment.