From 023d075d26974af28554660e46c9e3cb10b7efc2 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sun, 20 Jun 2021 12:28:16 +0800 Subject: feat: better banner subtitle font size on mobile --- _sass/yat/_layout.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index 127cad3..b351a88 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -598,13 +598,18 @@ html { transition: 0.2s all; @include media-query($on-palm) { - @include relative-font-size(1.925); + @include relative-font-size(1.975); } } > :nth-child(2) { font-weight: normal; margin-bottom: 0; + transition: 0.2s all; + + @include media-query($on-palm) { + @include relative-font-size(1.175); + } } > :last-child { -- cgit v1.2.3