From 6b062898824d2dbe3f2ea10eb79d7dbc42c9393f Mon Sep 17 00:00:00 2001 From: Emilia Date: Wed, 2 Aug 2023 13:39:26 -0400 Subject: [PATCH] Spoiler tag --- src/scss/waltuh/components/_marks.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/scss/waltuh/components/_marks.scss b/src/scss/waltuh/components/_marks.scss index d259d67..076a211 100644 --- a/src/scss/waltuh/components/_marks.scss +++ b/src/scss/waltuh/components/_marks.scss @@ -54,3 +54,17 @@ span.waltuh-gradient-underline { width: 80%; } } + +span.spoiler { + background: black; + color: transparent; + user-select: none; + + transition: background 100ms ease, + color 100ms ease; + + &:hover, &:active, &:focus { + background: inherit; + color: inherit; + } +}