Add style for spoilers

This commit is contained in:
Helen Chong 2023-08-26 19:00:15 +08:00
parent de81eee7bc
commit e25e361c09
1 changed files with 11 additions and 1 deletions

View File

@ -429,15 +429,25 @@ article, .content-container {
margin: 1.5rem 0; margin: 1.5rem 0;
} }
.qna-accordion__question { .qna-accordion__question{
font-weight: 700; font-weight: 700;
} }
.qna-accordion__answer { .qna-accordion__answer {
padding: 0.75rem 1.5rem; padding: 0.75rem 1.5rem;
margin-top: 0.5rem; margin-top: 0.5rem;
background: hsla(0, 0%, 100%, 0.15); 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 */ /* Embedded YouTube video */
.full-width-youtube-video { .full-width-youtube-video {
position: relative; position: relative;