From: Duje Mihanović Date: Sun, 6 Aug 2023 14:08:03 +0000 (+0200) Subject: More phone-friendly X-Git-Url: https://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=a41a31170717620f96dc59c6a486e6ea7c1c5a2f;p=dujemihanovic.xyz.git More phone-friendly --- 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 @@