Skip to content

Commit

Permalink
Highlight current :target entry name (roc-lang#7299)
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Kukieła <[email protected]>
  • Loading branch information
kukimik committed Dec 17, 2024
1 parent e819c95 commit a3762f6
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 a3762f6

Please sign in to comment.