From f636c420560e7251c61fe5b7dbb872f1b3420ae5 Mon Sep 17 00:00:00 2001 From: doup Date: Thu, 5 Dec 2024 16:35:51 +0100 Subject: [PATCH] Hide heading anchors by default --- sass/_utils.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sass/_utils.scss b/sass/_utils.scss index b7e9acdfab..3002a7ff92 100644 --- a/sass/_utils.scss +++ b/sass/_utils.scss @@ -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 {