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/partials/author_card.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/partials/author_card.html')
-rw-r--r-- | layouts/partials/author_card.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index e74ee98..83f59d7 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -1,18 +1,18 @@ -<article class="mw7 center pa4 flex flex-column flex-row-ns bt b--black-10"> +<article class="max-w-screen-md mx-auto pa4 flex flex-column flex-row-ns bt b--black-10"> <div class="w-10-ns tc"> <img src="{{ .avatar }}" class="br-100 w3" alt="{{ .name }}" /> </div> <div class="w-90-ns ph3-ns"> - <h5 class="f4 mv0 berkshire-swash"> - <a href="{{ (default .path .homepage) }}" class="link color-inherit"> + <h5 class="f4 my-0 berkshire-swash"> + <a href="{{ (default .path .homepage) }}" class="color-inherit"> {{ .name }} </a> </h5> - <h6 class="f5 fw3 pa0 ma0">{{ .role | markdownify }}</h6> + <h6 class="f5 fw3 p-0 m-0">{{ .role | markdownify }}</h6> <p class="f6 lh-copy"> {{ .bio }} </p> - <div class="f4 mt3"> + <div class="f4 mt-4"> {{ partial "social_links" . }} </div> </div> |