1
0
Fork 0

make contact text larger
All checks were successful
Hugo / build (push) Successful in -12s

This commit is contained in:
brooke 2024-09-12 19:51:31 -04:00
parent 38ffc7b25c
commit 9471119394
2 changed files with 3 additions and 3 deletions

View file

@ -5,11 +5,11 @@
alt="{{ .Params.logoAlt }}" src="{{ .Params.logo }}" loading="lazy" /></a>
<nav class="place-self-center h-8 flex justify-end gap-4 text-[#464f6d] pr-0 sm:pr-6">
{{ range .Site.Menus.main }}
<a class="relative inline-block p-2 -translate-y-1 uppercase font-semibold py-2 text-gray-900 overflow-hidden group" href="{{ .URL }}"
<a class="relative inline-block p-2 -translate-y-2 uppercase text-lg font-semibold py-2 text-gray-900 overflow-hidden group" href="{{ .URL }}"
aria-label="{{ .Identifier }}">
{{ $text := print .Name | safeHTML }} {{ $text }}
<span
class="absolute inset-0 h-7 translate-y-2 bg-[#d8e2f3] transition-transform duration-300 transform -translate-x-full group-hover:translate-x-0 z-[-1]"></span>
class="absolute inset-0 h-7 translate-y-3 bg-[#d8e2f3] transition-transform duration-300 transform -translate-x-full group-hover:translate-x-0 z-[-1]"></span>
</a>
{{ end }}
</nav>

File diff suppressed because one or more lines are too long