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.
This commit is contained in:
Hauke 2023-03-31 18:03:56 +02:00 committed by GitHub
parent d67462d0f3
commit 2210bf20b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,8 +83,7 @@
} }
.post-content del { .post-content del {
text-decoration: none; text-decoration: line-through;
background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0 50%/1px 1px repeat-x;
} }
.post-content dl, .post-content dl,
@ -400,4 +399,4 @@ h1>a>svg {
img.in-text { img.in-text {
display: inline; display: inline;
margin: auto; margin: auto;
} }