From b923054bd35eeb684009abacca0a3eb90d9c863d Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 10 Oct 2021 15:14:36 -0500 Subject: [PATCH] Enable the section header link icon --- assets/css/bobastyle.css | 11 +++++++---- layouts/_default/_markup/render-heading.html | 2 -- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 1a7ad4d..35f92c4 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -49,20 +49,23 @@ color: inherit; } -/* this took too much work but doesn't quite fit the theme .section-header { position: relative; } -.section-header a { +.section-header a:hover { text-decoration: none; } .section-header-link { position: absolute; - left: -30px; + left: -20px; +} + +.section-header-link svg { + width: 15px; + height: 15px; } -*/ diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 012c920..606ebf6 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -1,9 +1,7 @@ - {{/* this took too much work but doesn't quite fit the theme {{ partial "icon.html" "link" }} - */}} {{ .Text | safeHTML }}