From e25e361c09ee5e32085be38238acf637dc02c1f4 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 26 Aug 2023 19:00:15 +0800 Subject: [PATCH] Add style for spoilers --- css/style-main.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/css/style-main.css b/css/style-main.css index f1a4f9a6..1d7a5243 100644 --- a/css/style-main.css +++ b/css/style-main.css @@ -429,15 +429,25 @@ article, .content-container { margin: 1.5rem 0; } -.qna-accordion__question { +.qna-accordion__question{ font-weight: 700; } + .qna-accordion__answer { padding: 0.75rem 1.5rem; margin-top: 0.5rem; background: hsla(0, 0%, 100%, 0.15); } +/* Spoiler Accordion */ +.spoiler-accordion__hint { + font-weight: 700; +} + +.spoiler-accordion__spoiler { + padding: 0 1.5rem; +} + /* Embedded YouTube video */ .full-width-youtube-video { position: relative;