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

@@ -82,5 +82,20 @@ figcaption {
/* ===== Pre-formatted Blocks ===== */
pre {
padding: 0.5rem;
margin-block: 1.5rem;
}
/* ===== Note Blocks ===== */
:is(aside, section):is([role='note'], .info, .highlight, .warning, .problem) > :first-child {
margin-block-start: 0.25rem;
}
:is(aside, section):is([role='note'], .info, .highlight, .warning, .problem) > :last-child {
margin-block-end: 0.25rem;
}