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 */
.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 {

View File

@ -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 {

View File

@ -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));