feat: better banner title and subtitle

Adjust the margin and font weight of banner title and sub title
This commit is contained in:
jeffreytse 2021-06-23 11:39:13 +08:00
parent 023d075d26
commit 6bac3bbe8b

View file

@ -380,7 +380,11 @@ html {
border-bottom: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb;
.post-title { .post-title {
margin-bottom: 2px; margin-bottom: 6px;
}
.post-subtitle {
font-weight: lighter;
} }
.post-meta { .post-meta {
@ -593,7 +597,7 @@ html {
> :nth-child(1) { > :nth-child(1) {
@include relative-font-size(3.9); @include relative-font-size(3.9);
letter-spacing: -1px; letter-spacing: -1px;
margin-bottom: 16px; margin-bottom: 0.1em;
font-weight: normal; font-weight: normal;
transition: 0.2s all; transition: 0.2s all;
@ -603,8 +607,8 @@ html {
} }
> :nth-child(2) { > :nth-child(2) {
font-weight: normal; font-weight: lighter;
margin-bottom: 0; margin-bottom: 0.8em;
transition: 0.2s all; transition: 0.2s all;
@include media-query($on-palm) { @include media-query($on-palm) {