aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-07 00:50:07 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-07 00:50:07 +0100
commitb5ab9dd2e3d417477427103e6ea268cc11d61fd1 (patch)
tree94f92581516539d61f94f939c451940256d28639 /layouts/partials/header.html
parent5065870f6459503263bfdccc99c19983b6a44adc (diff)
downloadhugo-minimalist-theme-b5ab9dd2e3d417477427103e6ea268cc11d61fd1.tar.gz
hugo-minimalist-theme-b5ab9dd2e3d417477427103e6ea268cc11d61fd1.tar.bz2
hugo-minimalist-theme-b5ab9dd2e3d417477427103e6ea268cc11d61fd1.zip
translation dropdown tailwind
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 8394764..33f5ad2 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,5 +1,7 @@
<nav class="bg-lime-700">
- <div class="max-w-screen-md mx-auto text-white flex justify-between">
+ <div
+ class="max-w-screen-md mx-auto text-white flex justify-between items-center"
+ >
<a href="{{ site.BaseURL | relLangURL }}" class="">
{{ with resources.Get .Site.Params.logo }}
<img
@@ -14,7 +16,7 @@
</span>
</a>
<input class="menu-btn hidden" type="checkbox" id="menu-btn" />
- <label class="menu-icon m-2 p-4 md:hidden" for="menu-btn">
+ <label class="menu-icon p-2 md:hidden" for="menu-btn">
<span class="navicon bg-white"></span>
</label>
<div
@@ -31,7 +33,7 @@
{{ if .IsTranslated }}
<select
name="lang"
- class="my-2 py-1 tc ba b--black-20 br2 w3-theme-d3 mw3 "
+ class="mr-2 p-1 text-center border border-black-20 rounded-md bg-white text-black"
onchange="self.location=options[selectedIndex].value"
>
<option value="{{ .Permalink }}">