From 1c005ec5a45061a86a9a8dc75949d79a02cacff0 Mon Sep 17 00:00:00 2001 From: Robin Moffatt Date: Wed, 1 Nov 2023 14:30:34 +0000 Subject: [PATCH] Tweak heading anchors --- themes/story/layouts/_default/single.html | 2 +- themes/story/static/css/story.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/story/layouts/_default/single.html b/themes/story/layouts/_default/single.html index e31d020..44cef3a 100644 --- a/themes/story/layouts/_default/single.html +++ b/themes/story/layouts/_default/single.html @@ -2,7 +2,7 @@ {{ define "main" }} {{ end }} diff --git a/themes/story/static/css/story.css b/themes/story/static/css/story.css index 2c54d42..113507d 100644 --- a/themes/story/static/css/story.css +++ b/themes/story/static/css/story.css @@ -417,4 +417,5 @@ img[src~="3dbook"] { .hljs-link { text-decoration: underline; } -a.headline-hash {opacity: 40%; text-decoration: none;} \ No newline at end of file +a.headline-hash {opacity: 20%; text-decoration: none; font-size:80%; transition: opacity 0.5s;} +a.headline-hash:hover {opacity: 100%; font-size:100%;} \ No newline at end of file