Increase margin-block-start of code blocks

This commit is contained in:
Helen Chong 2025-02-17 19:53:40 +08:00
parent 46c0041b67
commit 75cb1d095e
2 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,10 @@
{% set cssFiles = [
"global",
"a11y-syntax-highlighting-dark",
"general",
"content",
"plugins",
"components",
"a11y-syntax-highlighting-dark",
"pridesymbols",
"utility"
] %}

View File

@ -26,8 +26,10 @@ content-wrapper,
.content > * + .h2,
.content__section > * + .h2 { margin-block-start: 2em; }
.content > * + :not([class]),
.content__section > * + :not([class]) { margin-block-start: var(--sz-paragraph-margin); }
.content > * + :not([class]:not([class*="language-"])),
.content__section > * + :not([class]:not([class*="language-"])) {
margin-block-start: var(--sz-paragraph-margin);
}
.content ul:not([class]), .content ol:not([class]) {
display: grid;