use content-gap instead of gap for header

This commit is contained in:
Reorx 2022-09-08 21:46:44 +08:00
parent ce83fcc8ed
commit e4f4f1d660
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
/* same as .post-header */ /* same as .post-header */
.page-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 { .mark-line {

View File

@ -1,5 +1,5 @@
.post-header { .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 { .post-title {

View File

@ -94,7 +94,7 @@ body.type-newsletter.layout-archives {
.main { .main {
border: var(--main-border); border: var(--main-border);
background-color: var(--theme); background-color: var(--theme);
margin-top: var(--gap); margin-top: var(--content-gap);
padding-top: 0; padding-top: 0;
padding-bottom: var(--icon-length); padding-bottom: var(--icon-length);
min-height: calc(100vh - var(--header-height) - var(--footer-height) - var(--content-gap)); min-height: calc(100vh - var(--header-height) - var(--footer-height) - var(--content-gap));