From 8a66568a39519fd2d08c4086850dcf41f3c3cd36 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Wed, 10 Nov 2021 11:53:02 -0500 Subject: [PATCH] Add better support for mobile viewports --- _layouts/landing.liquid | 1 + static/style.css | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_layouts/landing.liquid b/_layouts/landing.liquid index 0e64993..40849a2 100644 --- a/_layouts/landing.liquid +++ b/_layouts/landing.liquid @@ -2,6 +2,7 @@ + {{ site.title }} diff --git a/static/style.css b/static/style.css index 7816e78..dc7c13a 100644 --- a/static/style.css +++ b/static/style.css @@ -40,7 +40,7 @@ header p:first-of-type { font-size: 2em; } h1 { - font-size: 5em; + font-size: min(5em, 14.413vw); margin-top: 15px; margin-bottom: 15px; } @@ -52,6 +52,9 @@ header { align-content: center; background-color: #280C3F; } +header p { + margin: 0 20px; +} /* Flag Styling */ .flag {