Adjust accordion paragraph and padding

This commit is contained in:
Helen Chong 2024-04-19 20:15:23 +08:00
parent e9c1be54d1
commit db5eb08030
1 changed files with 7 additions and 3 deletions

View File

@ -422,14 +422,18 @@ main {
} }
.qna-accordion__answer { .qna-accordion__answer {
padding: 0.7rem 1.5rem; padding: 0.7em 1.3em 1.5em;
margin-top: 0.5rem; margin-top: 0.5em;
background: hsla(0, 0%, 100%, 0.15); background: hsla(0, 0%, 100%, 0.15);
} }
.qna-accordion__answer p + p {
margin-top: 1em;
}
/* Spoiler Accordion */ /* Spoiler Accordion */
.spoiler-accordion { .spoiler-accordion {
padding: 0.5rem 0; padding: 0.5em 0;
} }
.spoiler-accordion__hint { .spoiler-accordion__hint {