From 2f7f6f25de64af7967f3c8bc9b4be315adc184ea Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:03:00 +0800 Subject: [PATCH] Rename custom property for paragraph margin size --- _site/assets/css/main.css | 8 ++++---- _site/feed.xml | 2 +- src/assets/css/main.css | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_site/assets/css/main.css b/_site/assets/css/main.css index ced827ff..e586ff60 100644 --- a/_site/assets/css/main.css +++ b/_site/assets/css/main.css @@ -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 { diff --git a/_site/feed.xml b/_site/feed.xml index d97ba203..0dfd177a 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -4,7 +4,7 @@ Leilukin's personal website. - 2024-04-23T15:26:25Z + 2024-04-23T16:02:34Z https://leilukin.neocities.org Leilukin diff --git a/src/assets/css/main.css b/src/assets/css/main.css index ced827ff..e586ff60 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -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 {