From: Duje Mihanović Date: Sat, 8 Jun 2024 12:48:20 +0000 (+0200) Subject: CSS updates X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/static/gitweb.css?a=commitdiff_plain;h=89b24558f7130aea631d588e12ee9ccaaf76582f;p=dujemihanovic.xyz.git CSS updates --- diff --git a/assets/css/style.css b/assets/css/style.css index 12416d5..a8d72f6 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -4,13 +4,17 @@ body { padding: 0 10px; } +main { + line-height: 1.5; +} + nav { text-align: center; } nav ul { list-style: none; - padding: 3px 5px; + padding: 0 5px; } nav a { @@ -28,18 +32,11 @@ nav li { } p { - margin: 12px 0; + margin: 1em 0; } ul { - padding: 0 40px; - margin: 5px 0; -} - -main { - max-width: 1000px; - margin: 0 auto; - text-align: justify; + padding: 0 2em; } code { diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 65d22e8..15dd634 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@ {{ print .Page.Title }} | {{ print .Site.Title }} {{ $style := resources.Get "css/style.css" | resources.Minify }} - + {{ $index := $.Site.GetPage "/" }} {{ range $index.AlternativeOutputFormats }} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}