From: Duje Mihanović <duje.mihanovic@skole.hr> Date: Sun, 6 Aug 2023 14:08:03 +0000 (+0200) Subject: More phone-friendly X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-favicon.png?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 @@ <head> {{ partial "meta.html" . }} {{ $style := resources.Get "css/style.css" | resources.Minify }} - <link rel="stylesheet" href="{{ $style.Permalink }}"> + <link rel="stylesheet" href="{{ $style.Permalink }}?v=1.0.0"> <!-- I'm a brainlet and don't know how to properly fetch another page's feed. If you know, please tell me. --> <link rel="alternate" type="application/rss+xml" href="{{ $.Site.BaseURL }}posts/index.xml" title="Blog | Duje MihanoviÄ's Site"> </head> @@ -17,7 +17,8 @@ <br> <footer> <p>If you appreciate my work and would like to donate, you can donate XMR to this address or use the QR code below.</p> - <p>85qXBHh99bJ62p7s8upmoqYsvHrJvZWLTD7riHFo3E2jRvdQRoiNuXKRaDMAQiJ34Kfix3KHouNCW6bbD4zniWB5QxZR9Xx</p> + <code>85qXBHh99bJ62p7s8upmoqYsvHrJvZWLTD7riHFo3E2jRvdQRoiNuXKRaDMAQiJ34Kfix3KHouNCW6bbD4zniWB5QxZR9Xx</code> + <p></p> {{ $image := resources.Get "img/donate.png" }} {{ with $image }} <img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="QR code for XMR donation"> @@ -25,7 +26,7 @@ {{ $image := resources.Get "img/rss.svg" }} <p></p> <!-- See comment above. --> - <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32px" alt="Link to RSS feed"></a> + <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32px" height="32px" alt="Link to RSS feed"></a> </footer> </body> </html>