From 2210bf20b3650b77dc9fdb9d279bc8e8af606993 Mon Sep 17 00:00:00 2001 From: Hauke Date: Fri, 31 Mar 2023 18:03:56 +0200 Subject: [PATCH 01/11] change del element decoration to line-through (#1181) According to caniuse.com only around 69% of mobile user and 22% desktop users use a browser that supports this element. Therefore this change uses text-decoration: line-through to archive the same effect across browsers. --- assets/css/common/post-single.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index ba6e5a23..47b9888c 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -83,8 +83,7 @@ } .post-content del { - text-decoration: none; - background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0 50%/1px 1px repeat-x; + text-decoration: line-through; } .post-content dl, @@ -400,4 +399,4 @@ h1>a>svg { img.in-text { display: inline; margin: auto; -} \ No newline at end of file +} From a636c9eaee7e2d8603dd6e1f983c8a9ff27577ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= <7347374+cljoly@users.noreply.github.com> Date: Sat, 1 Apr 2023 19:28:19 +0100 Subject: [PATCH 02/11] Add RSS icon to archive pages (#1156) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the setting “ShowRssButtonInSectionTermList” is true, I think it makes sense to also show the RSS icon by the title in archive pages, as we do for other article lists. This reuses the code of `layouts/_default/list.html`. --- layouts/_default/archives.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index e400e2c5..c6d40aeb 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -1,7 +1,19 @@ {{- define "main" }}