From 6bac3bbe8bd027e24fa4b1825f4105cf1585f243 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Wed, 23 Jun 2021 11:39:13 +0800 Subject: [PATCH] feat: better banner title and subtitle Adjust the margin and font weight of banner title and sub title --- _sass/yat/_layout.scss | 12 ++++++++---- 1 file 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) {