aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-22 01:00:11 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-22 01:00:11 +0100
commit9deaf6143846049e6b3d1c3d1d3ea830132a82c2 (patch)
treedce1dd5e5ff2a9c7aad969e8abc5a47d8433fc72 /layouts
parent110ecfe2b5b9b513a2519a8682a5cf6f2bce78fa (diff)
downloadhugo-minimalist-theme-9deaf6143846049e6b3d1c3d1d3ea830132a82c2.tar.gz
hugo-minimalist-theme-9deaf6143846049e6b3d1c3d1d3ea830132a82c2.tar.bz2
hugo-minimalist-theme-9deaf6143846049e6b3d1c3d1d3ea830132a82c2.zip
some accessibilitytitan.io
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html5
-rw-r--r--layouts/partials/meta_links.html2
2 files changed, 4 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html
index d249f23..f67835b 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -5,7 +5,7 @@
<div class="max-w-screen-md mx-auto px-1 mv4">
<h1 class="text-center baskerville">{{ .Title }}</h1>
- <p class="text-xl baskerville">{{ T "maybe_look" }}</p>
+ <h2 class="baskerville">{{ T "maybe_look" }}</h2>
{{ $query := where (where (where (where site.RegularPages.ByDate.Reverse "Title" "!=" "") "Kind" "in" (slice "page" "section")) "Params.private" "!=" true) "Permalink" "!=" "" }}
{{ $count := len $query }}
@@ -26,7 +26,8 @@
{{ time.Format $dateFormat .Date }}
</time>
{{ .Title }}
- <sup class="bg-lime-500 text-white uppercase p-1 rounded-full"
+ <sup
+ class="bg-lime-700 text-white font-bold uppercase p-1.5 rounded-full"
>{{ .Section }}</sup
>
</a>
diff --git a/layouts/partials/meta_links.html b/layouts/partials/meta_links.html
index 69e2a94..52a81f0 100644
--- a/layouts/partials/meta_links.html
+++ b/layouts/partials/meta_links.html
@@ -2,7 +2,7 @@
<div class="px-8 text-right">
{{ range $key, $val := . }}
<a
- class="inline-block text-sm border border-current rounded-lg mx-1 px-2 py-1 text-lime-500 hover:bg-lime-500 uppercase"
+ class="inline-block text-sm border border-current rounded-lg mx-1 px-2 py-1 text-lime-700 hover:bg-lime-700 hover:text-white uppercase"
href="{{ . }}"
target="_blank"
rel="noopener"