From 2210bf20b3650b77dc9fdb9d279bc8e8af606993 Mon Sep 17 00:00:00 2001 From: Hauke Date: Fri, 31 Mar 2023 18:03:56 +0200 Subject: [PATCH] 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 +}