From a41a31170717620f96dc59c6a486e6ea7c1c5a2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Sun, 6 Aug 2023 16:08:03 +0200 Subject: [PATCH] More phone-friendly --- assets/css/style.css | 3 ++- layouts/_default/baseof.html | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 92c70f2..a8a3984 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1,6 +1,7 @@ body { - width: 100%; + max-width: 800px; margin: 0 auto; + padding: 0 10px; } nav { diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a772c48..78033ff 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ partial "meta.html" . }} {{ $style := resources.Get "css/style.css" | resources.Minify }} - + @@ -17,7 +17,8 @@
-- 2.39.2