Skip to content

Commit

Permalink
Merge pull request #7382 from kukimik/patch-3
Browse files Browse the repository at this point in the history
Highlight current :target entry name (#7299)
  • Loading branch information
Anton-4 authored Dec 17, 2024
2 parents 8f2ff51 + a3762f6 commit 5178c2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/docs/src/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ table tr td {
border-left: 2px solid var(--violet);
}

.entry-name:target {
background-color: var(--violet-bg);
}

.entry-name a {
visibility: hidden;
display: inline-block;
Expand Down

0 comments on commit 5178c2a

Please sign in to comment.