From e4f4f1d6608cee4997f5ee67a486424ade29c6b6 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 8 Sep 2022 21:46:44 +0800 Subject: [PATCH] use content-gap instead of gap for header --- assets/css/common/main.css | 2 +- assets/css/common/post-single.css | 2 +- assets/css/extended/newsletter.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/common/main.css b/assets/css/common/main.css index 8d798f5..893081f 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -15,7 +15,7 @@ /* same as .post-header */ .page-header { - margin: var(--gap) 0 calc(var(--content-gap) * 1.5); + margin: var(--content-gap) 0 calc(var(--content-gap) * 1.5); } .mark-line { diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 03104b6..7095192 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -1,5 +1,5 @@ .post-header { - margin: var(--gap) 0 calc(var(--content-gap) * 1.5); + margin: var(--content-gap) 0 calc(var(--content-gap) * 1.5); } .post-title { diff --git a/assets/css/extended/newsletter.scss b/assets/css/extended/newsletter.scss index 97bfa9c..a1a8fef 100644 --- a/assets/css/extended/newsletter.scss +++ b/assets/css/extended/newsletter.scss @@ -94,7 +94,7 @@ body.type-newsletter.layout-archives { .main { border: var(--main-border); background-color: var(--theme); - margin-top: var(--gap); + margin-top: var(--content-gap); padding-top: 0; padding-bottom: var(--icon-length); min-height: calc(100vh - var(--header-height) - var(--footer-height) - var(--content-gap));