Skip to content

Commit

Permalink
Hide heading anchors by default
Browse files Browse the repository at this point in the history
  • Loading branch information
doup committed Dec 5, 2024
1 parent 289aea0 commit f636c42
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sass/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ body:not(.show_drafts) .public_draft:not(.active_draft) {
color: #737373;
text-shadow: none;
font-weight: 500;
opacity: 0;
transition: opacity $duration;
}

h1,
h2,
h3,
h4,
h5,
h6 {
&:hover .anchor-link {
opacity: 1;
}
}

.public_draft>div>a {
Expand Down

0 comments on commit f636c42

Please sign in to comment.