From 0998f88faf7e845f229d86a525cd2233d5b6ef0f Mon Sep 17 00:00:00 2001 From: Gijs Date: Sun, 6 Jun 2021 13:35:18 +0200 Subject: [PATCH] Mobile styles. --- scripts/templates/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/templates/index.html b/scripts/templates/index.html index c3e322c..45feb51 100644 --- a/scripts/templates/index.html +++ b/scripts/templates/index.html @@ -18,6 +18,10 @@ --line-height: 18pt; } + h1 { + line-height: 1.25; + } + label { display: block; margin-bottom: var(--line-height); @@ -28,6 +32,16 @@ font: inherit; } + @media screen and (max-width: 600px) { + body { + margin: 3em 1em; + } + + label { + margin-left: 11ch; + } + } +