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,
.post-header {
margin: 32px 0;
margin: calc(var(--gap) * 4/3) 0;
}
.post-header {
margin-top: calc(var(--gap) * 1/3);
}
.post-title {

View File

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

View File

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