diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-05 23:44:45 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-05 23:45:00 +0100 |
commit | 4b76a856b2841fb197acc982ed168bc52db6ea3d (patch) | |
tree | bb92327990d20b262dca7f597453c8ae7bfee16d /layouts/_default/single.html | |
parent | f9e5452a0046e6e47425f0c58d438d0f573fece9 (diff) | |
download | hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.gz hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.tar.bz2 hugo-minimalist-theme-4b76a856b2841fb197acc982ed168bc52db6ea3d.zip |
add tailwind and do some replacements
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cad6a35..00132c3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,11 +1,11 @@ {{ define "main" }} - <header class="mw7 center"> - <h1 class="baskerville f1 lh-title mv3 ph1"> + <header class="max-w-screen-md mx-auto"> + <h1 class="baskerville f1 lh-title my-4 px-1"> {{ .Title }} </h1> {{ with .Params.subtitle }} - <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3> + <h3 class="f3 baskerville my-4 p-1">{{ . }}</h3> {{ end }} {{ partial "meta_links.html" . }} @@ -15,7 +15,7 @@ {{ partial "leading_image.html" . }} </header> - <div class="main-content mw7 center lh-copy f5 f4-ns ph1"> + <div class="main-content max-w-screen-md mx-auto lh-copy f5 f4-ns px-1"> {{ .Content }} </div> {{ partial "image-gallery" . }} @@ -23,7 +23,7 @@ {{ if .Site.Params.tipping }} {{ partial "tipping" . }} {{ end }} - <div class="f5 f4-ns lh-copy pv2"> + <div class="f5 f4-ns lh-copy py-2"> {{ if in (slice "post" "talk") .Section }} {{ range .Params.authors }} {{ $name := . }} |