From b0ebf8d34c57a4dc81c7e92f809b0dea73241121 Mon Sep 17 00:00:00 2001 From: Massimo Scagliola Date: Wed, 10 Apr 2024 09:26:32 +0200 Subject: [PATCH] replaced anchor with hash --- static/css/style.css | 10 ++++++---- .../mini/layouts/_default/_markup/render-heading.html | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 427822d..0056306 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -119,11 +119,13 @@ pre { .markdown-image img { max-width: 100%; } -.anchor { - font-size: 1rem; - visibility: hidden; - color:silver; +.anchor { + opacity: 0; + /* color:silver; */ + transition: 200ms; } +.anchor:hover {opacity: 1} + h1:hover a, h2:hover a, h3:hover a { diff --git a/themes/mini/layouts/_default/_markup/render-heading.html b/themes/mini/layouts/_default/_markup/render-heading.html index 714cf12..e74612f 100644 --- a/themes/mini/layouts/_default/_markup/render-heading.html +++ b/themes/mini/layouts/_default/_markup/render-heading.html @@ -1 +1 @@ -{{ .Text | safeHTML }} 🔗 \ No newline at end of file +{{ .Text | safeHTML }} # \ No newline at end of file