From 2f4132dc0275dbe1a29971e8eb9a9f0a991fa86b Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 21 Jan 2022 02:27:39 +0100 Subject: [PATCH] improve font size --- assets/scss/_start.scss | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/assets/scss/_start.scss b/assets/scss/_start.scss index 795d782..20b8481 100644 --- a/assets/scss/_start.scss +++ b/assets/scss/_start.scss @@ -5,7 +5,7 @@ div.start { display: flex; .left { flex: 45%; - text-align: center; + text-align: left; background: rgba(128,128,128,0.15); padding: 12px; box-shadow: 0px 0px 2px 8px rgba(128,128,128,0.1); @@ -17,13 +17,12 @@ div.start { max-width: 100%; } - a { - color: $font_default; - } - p { - color: $font_default; - font-size: $font_size_default; + font-size: $font_size_default; + color: $font_default; + } + a { + color: $font_default; } code { @@ -45,7 +44,7 @@ div.start { .right, .left { flex: 50%; } - p, a { + p { font-size: $font_size_default_large; } code { @@ -66,7 +65,7 @@ div.start { @media (max-width: $mobile_view) { div.start { display: initial; - p, a { + p { font-size: $font_size_default_mobile; } code { @@ -85,7 +84,7 @@ div.start { @media (max-width: $tiny_view) { div.start { - p, a { + p { font-size: $font_size_default_tiny; } }