subtle adjustments

This commit is contained in:
Reorx 2022-09-08 21:08:03 +08:00
parent deb675dace
commit e14673bee7
3 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,9 @@
.page-header, .page-header,
.post-header { .post-header {
margin: 32px 0; margin: calc(var(--gap) * 4/3) 0;
}
.post-header {
margin-top: calc(var(--gap) * 1/3);
} }
.post-title { .post-title {

View File

@ -127,10 +127,6 @@ body.type-newsletter.layout-archives {
.first-entry { .first-entry {
margin-bottom: 0; margin-bottom: 0;
@media screen and (max-width: $small) {
margin-top: calc(var(--icon-length));
}
} }
h1 { h1 {
@ -284,7 +280,7 @@ body.type-newsletter.kind-page {
} }
.newsletter-sub { .newsletter-sub {
margin-top: var(--gap); margin-top: calc(var(--content-gap) * 1.5);
background-color: var(--signature-bg-dim); background-color: var(--signature-bg-dim);
padding: 1em; padding: 1em;
.notice { .notice {

View File

@ -56,7 +56,7 @@
{{- if $isNewsletter }} {{- if $isNewsletter }}
<div class="newsletter-sub"> <div class="newsletter-sub">
<div class="notice"> <div class="notice">
感谢你能读到这里,如果觉得有趣的话,可以在下方输入邮箱进行订阅。 感谢你能读到这里,如果觉得有趣的话,欢迎在下方输入邮箱进行订阅。
</div> </div>
{{- partial "newsletter_sub_form.html"}} {{- partial "newsletter_sub_form.html"}}
</div> </div>