more extra styles

This commit is contained in:
2023-07-01 14:51:41 -07:00
parent dc3b8ea5d8
commit 46f7424bc9
5 changed files with 196 additions and 4 deletions

View File

@@ -45,6 +45,20 @@ p {
/* ===== Note Blocks ===== */
:is(aside, section):is([role='note'], .info, .highlight, .warning, .problem) > :first-child {
margin-block-start: 0.5rem;
}
:is(aside, section):is([role='note'], .info, .highlight, .warning, .problem) > :last-child {
margin-block-end: 0.5rem;
}
/* ===== Lists ===== */
@@ -82,4 +96,6 @@ figcaption {
pre {
margin-block: 2rem;
padding-block: 0.5rem;
padding-inline: 1rem;
}