diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
commit | c123fc189929429164bf7268a9e7d5974884499f (patch) | |
tree | 2b33979e9df4ed36d77e23f9a9571fad4f90935c /layouts/partials/header.html | |
parent | ecb7569b3c047f6e6845f8a49f6eee3d6762a968 (diff) | |
download | hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.gz hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.bz2 hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.zip |
more translations
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b18f748..394f274 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,6 @@ -<nav class="header w-full w3-theme-d3 w3-theme-border cf "> - <div class="max-w-screen-md mx-auto pl-2"> - <!-- <a href="{{ site.BaseURL | relLangURL }}" class="block fl"> --> - <a href="{{ site.BaseURL | relLangURL }}" class="block fl"> +<nav class="header w-full bg-lime-700 cf "> + <div class="max-w-screen-md mx-auto pl-2 text-white"> + <a href="{{ site.BaseURL | relLangURL }}" class="block float-left"> {{ with resources.Get .Site.Params.logo }} <img height="{{ site.Params.logo_height }}" @@ -16,14 +15,14 @@ {{ .Site.Title }} </span> </a> - <input class="menu-btn dn" type="checkbox" id="menu-btn" /> - <label class="fr dn-ns m-2 p-4 menu-icon" for="menu-btn"> - <span class="navicon bg-near-white"></span> + <input class="menu-btn hidden" type="checkbox" id="menu-btn" /> + <label class="float-right md:hidden m-2 p-4 menu-icon" for="menu-btn"> + <span class="navicon bg-white"></span> </label> - <ul class="m-0 p-0 list overflow-hidden font-sans leading-none"> + <ul class="m-0 p-0 overflow-hidden font-sans leading-none"> {{ range .Site.Menus.main }} - <li class="fl-ns w3-hover-theme"> - <a class="block p-4 near-white" href="{{ .PageRef | relLangURL }}"> + <li class="md:float-left hover:bg-lime-500"> + <a class="block p-4" href="{{ .PageRef | relLangURL }}"> {{ .Pre }} {{- T .Name | title -}} </a> |