diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-23 11:39:13 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-23 11:39:13 +0800 |
commit | 6bac3bbe8bd027e24fa4b1825f4105cf1585f243 (patch) | |
tree | b14cf2ea888791191a4ed1460540dd75c5c444b6 /_sass/yat | |
parent | 023d075d26974af28554660e46c9e3cb10b7efc2 (diff) |
feat: better banner title and subtitle
Adjust the margin and font weight of banner title and sub title
Diffstat (limited to '_sass/yat')
-rw-r--r-- | _sass/yat/_layout.scss | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index b351a88..2acf1f1 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -380,7 +380,11 @@ html { border-bottom: 1px solid #ebebeb; .post-title { - margin-bottom: 2px; + margin-bottom: 6px; + } + + .post-subtitle { + font-weight: lighter; } .post-meta { @@ -593,7 +597,7 @@ html { > :nth-child(1) { @include relative-font-size(3.9); letter-spacing: -1px; - margin-bottom: 16px; + margin-bottom: 0.1em; font-weight: normal; transition: 0.2s all; @@ -603,8 +607,8 @@ html { } > :nth-child(2) { - font-weight: normal; - margin-bottom: 0; + font-weight: lighter; + margin-bottom: 0.8em; transition: 0.2s all; @include media-query($on-palm) { |