aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/taxonomy/terms.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-07 01:54:28 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-07 01:54:28 +0100
commitc4b5e3e29612c84dc270967c3181d2dddb0a82c6 (patch)
tree230822549180ecdd0aaa5db526f88ed4c758a7a5 /layouts/taxonomy/terms.html
parentb5ab9dd2e3d417477427103e6ea268cc11d61fd1 (diff)
downloadhugo-minimalist-theme-c4b5e3e29612c84dc270967c3181d2dddb0a82c6.tar.gz
hugo-minimalist-theme-c4b5e3e29612c84dc270967c3181d2dddb0a82c6.tar.bz2
hugo-minimalist-theme-c4b5e3e29612c84dc270967c3181d2dddb0a82c6.zip
Tailwind terms and use float learning bugfix clearfix
Diffstat (limited to 'layouts/taxonomy/terms.html')
-rw-r--r--layouts/taxonomy/terms.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html
index 7f7cef9..4948a6a 100644
--- a/layouts/taxonomy/terms.html
+++ b/layouts/taxonomy/terms.html
@@ -7,7 +7,7 @@
<section class="mt-4">
{{ range .Data.Terms.ByCount }}
<a
- class="dib text-black transition hover:scale-105 hover-bg-white-80 hover-near-black p-2 ba m-1 br2"
+ class="inline-block text-black transition hover:scale-105 p-2 m-1 border border-black rounded"
href="#{{ .Name | urlize }}-list"
data-tag="{{ .Name | lower }}"
>
@@ -21,22 +21,22 @@
{{ range .Data.Terms.ByCount }}
<div
id="{{ .Name | urlize }}-list"
- class="p-1 pa2-ns bb"
+ class="p-1 pa2-ns border-b-2 border-gray-300"
data-tag="{{ .Name | lower }}"
>
- <h4 class="f4 bold mx-auto lh-title">
- <a class="hover:opacity-50 color-inherit" href="{{ .Name | urlize }}">
+ <h4 class="mx-auto">
+ <a class="hover:opacity-50" href="{{ .Name | urlize }}">
{{ .Name }} ({{ .Pages | len }})
</a>
</h4>
<ul class="list">
{{ range .Pages.ByDate }}
- <li class="lh-copy transition hover:scale-105 stripe-dark p-2">
- <a class="hover:opacity-50 color-inherit block" href="{{ .RelPermalink }}">
+ <li class="transition hover:scale-105 even:bg-gray-200 p-2">
+ <a class="hover:opacity-50 block" href="{{ .RelPermalink }}">
{{ $dateFormat := .Site.Params.dateFormat | default ":date_medium" }}
<time
datetime="{{ .Date.Format "2006-01-02" }}"
- class="f6 fw3 fr ml-2"
+ class="text-sm float-right ml-2"
>
<i class="far fa-calendar"></i>
{{ time.Format $dateFormat .Date }}