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 = [ {% set cssFiles = [
"global", "global",
"a11y-syntax-highlighting-dark",
"general", "general",
"content", "content",
"plugins", "plugins",
"components", "components",
"a11y-syntax-highlighting-dark",
"pridesymbols", "pridesymbols",
"utility" "utility"
] %} ] %}

View File

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