From a5c6722dbb9d254486ffe341b3e62c6bdb778bbd Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Tue, 10 Oct 2023 14:17:31 -0400 Subject: [PATCH] Mobile CSS fixes --- themes/v2/assets/css/style.scss | 6 ++++++ themes/v2/layouts/partials/head.html | 1 + 2 files changed, 7 insertions(+) diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss index a3eaf3c..5a86493 100644 --- a/themes/v2/assets/css/style.scss +++ b/themes/v2/assets/css/style.scss @@ -7,6 +7,12 @@ body { color: #333; } +@media only screen and (max-width: 600px) { + body { + padding: 10px; + } +} + h1, h2, h3 { font-size: 1em; margin: 1em 0; diff --git a/themes/v2/layouts/partials/head.html b/themes/v2/layouts/partials/head.html index dc7392e..3d12892 100644 --- a/themes/v2/layouts/partials/head.html +++ b/themes/v2/layouts/partials/head.html @@ -3,4 +3,5 @@ {{ .Site.Title }} {{ $css := resources.Get "css/style.scss" | toCSS | minify | fingerprint }} +