From dd2910445e55ba587bd0b5ff9b7296997a074453 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 4 Nov 2022 20:59:17 +0100 Subject: Have the post title contain a permalink The use of the section sign § as a permalink marker has been bugging us for a while now. Whilst being fairly well highlighted it is very hard to click on account of being so small. Some other sites usually "hide" the permalink behind the date, but that feels very counterintuitive to us. Instead, use the most prominent feature of the banner, the title. Make sure to underline it so that people know it's clickable. Whilst we're there, also remove the special handling for related posts (no need anymore now to reveal the post number on the page). Since we were using the 'bold-hover' class in this particular element only, also remove it. --- sass/style.sass | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sass') diff --git a/sass/style.sass b/sass/style.sass index 1553227..dfb837c 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -52,10 +52,6 @@ a.tag &::before content: "#" -a.bold-hover:hover - text-decoration: none - text-shadow: 0px 0px 1px var(--fg-href) - h3.related margin: 0 @@ -70,6 +66,9 @@ h2.title &::before @include spacer + a + color: inherit + pre border: 1px solid var(--border-color-light) box-shadow: 0px 0px 2px var(--border-color-light) -- cgit v1.2.3-2-gb3c3