Rename custom property for paragraph margin size

This commit is contained in:
Helen Chong 2024-04-24 00:03:00 +08:00
parent 8dd83691d0
commit 2f7f6f25de
3 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@
--ff-primary: 'Noto Sans';
--ms-paragraph-margin: 1.15em;
--sz-paragraph-margin: 1.15em;
}
/* ------------------- */
@ -199,7 +199,7 @@ blockquote {
}
blockquote > * + :not([class]) {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
button:hover {
@ -308,7 +308,7 @@ main {
.content > * + :not([class]),
.content__section > * + :not([class]),
.article > * + :not([class]) {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
.sidebar--sticky {
@ -465,7 +465,7 @@ main {
/* Spoiler Accordion */
* + .spoiler-accordion {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
.spoiler-accordion {

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
<link href="https://leilukin.neocities.org"/>
<updated>2024-04-23T15:26:25Z</updated>
<updated>2024-04-23T16:02:34Z</updated>
<id>https://leilukin.neocities.org</id>
<author>
<name>Leilukin</name>

View File

@ -36,7 +36,7 @@
--ff-primary: 'Noto Sans';
--ms-paragraph-margin: 1.15em;
--sz-paragraph-margin: 1.15em;
}
/* ------------------- */
@ -199,7 +199,7 @@ blockquote {
}
blockquote > * + :not([class]) {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
button:hover {
@ -308,7 +308,7 @@ main {
.content > * + :not([class]),
.content__section > * + :not([class]),
.article > * + :not([class]) {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
.sidebar--sticky {
@ -465,7 +465,7 @@ main {
/* Spoiler Accordion */
* + .spoiler-accordion {
margin-top: var(--ms-paragraph-margin);
margin-top: var(--sz-paragraph-margin);
}
.spoiler-accordion {