Compare commits

...

2 Commits

Author SHA1 Message Date
Helen Chong
75cb1d095e Increase margin-block-start of code blocks 2025-02-17 19:53:40 +08:00
Helen Chong
46c0041b67 Place copy code button to the left 2025-02-17 19:48:21 +08:00
3 changed files with 5 additions and 5 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

@ -109,8 +109,6 @@ a.link-btn[href^="http"]:not([href*="leilukin.com"]) { padding-right: calc(var(-
display: flex;
align-items: center;
gap: 0.2em;
margin-left: auto;
margin-right: 0;
border: 0.15em solid var(--clr-code-border);
border-radius: 0.2em;
background: var(--clr-link-btn-bg);

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;