From e1e15521525b829e143447c461b595fdd7149bc3 Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Mon, 3 May 2021 12:40:56 +0100 Subject: [PATCH] Add strikethrough styling for complete milestones --- v3/index.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/v3/index.html b/v3/index.html index dcfa283..bddf0d1 100644 --- a/v3/index.html +++ b/v3/index.html @@ -14,6 +14,29 @@ .content-wrapper { top: 2em; } + s { + text-decoration-color:rgba(0, 255, 0, 0.5) + } + @media (min-width: 600px) { + s { + position: relative; + text-decoration: none; + } + s::after { + content: ""; + line-height: 1em; + margin-top: calc(0.125em / 2 * -1); + position: absolute; + right: 0; + top: 50%; + bottom: 0; + left: 0; + border-top: 0.125em solid rgba(0, 255, 0, 0.5); + height: calc(50% - 1px); + width: 100%; + transform: rotateZ(-1deg); + } + }