diff options
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> |