]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/commitdiff
More phone-friendly
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sun, 6 Aug 2023 14:08:03 +0000 (16:08 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sun, 6 Aug 2023 14:09:58 +0000 (16:09 +0200)
assets/css/style.css
layouts/_default/baseof.html

index 92c70f247726ecf59b6919fee90a21bb864aeef6..a8a39840e2e64c16b83a2190a4ab0a18deaeccd0 100644 (file)
@@ -1,6 +1,7 @@
 body {
-       width: 100%;
+       max-width: 800px;
        margin: 0 auto;
+       padding: 0 10px;
 }
 
 nav {
index a772c48004891aa9906b653c6b1cb5930fd8fd15..78033ff8fc925c6ce8ba04e938d33c37d04c64c6 100644 (file)
@@ -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>