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/search.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/search.html')
-rw-r--r-- | layouts/_default/search.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 41596de..e297398 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -1,7 +1,7 @@ {{ define "main" }} - <div class="mw7 center pa1"> + <div class="max-w-screen-md mx-auto p-1"> <header> - <h2 class="baskerville f2 lh-title mv3 ph1"> + <h2 class="baskerville f2 lh-title my-4 px-1"> {{ T "search" }} </h2> </header> @@ -11,25 +11,25 @@ id="search-query" name="q" placeholder="{{ T "search_placeholder" }}" - class="near-black pa2 w-100" + class="near-black p-2 w-100" /> </form> - <div id="search-results" class="mv2"> - <p class="pa3 f4 fw6 tc">{{ T "search_request" }}</p> + <div id="search-results" class="my-2"> + <p class="p-4 f4 fw6 tc">{{ T "search_request" }}</p> </div> </div> <template id="no-match"> - <p class="bg-washed-red pa3 dark-red f4 fw6 tc br2 b--light-red ba"> + <p class="bg-washed-red p-4 dark-red f4 fw6 tc br2 b--light-red ba"> {{ T "no_match_found" }} </p> </template> <template id="search-result-template"> - <article class="pv2 bt bb b--black-10 search_summary"> - <a class="link dim near-black search_link" href=""> + <article class="py-2 bt bb b--black-10 search_summary"> + <a class="dim near-black search_link" href=""> <time class="fr f6 lh-copy ph4 search_time"></time> - <h3 class="f3 baskerville mv1 lh-title search_title"></h3> + <h3 class="f3 baskerville my-1 lh-title search_title"></h3> <div class="f5 lh-copy search_snippet"></div> </a> </article> |