diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5048eea..b18f748 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,7 @@ -<nav class="header w-100 w3-theme-d3 w3-theme-border z-2 cf"> - <div class="mw7 center pl2"> - <a href="{{ site.BaseURL | relLangURL }}" class="db fl link"> +<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"> {{ with resources.Get .Site.Params.logo }} <img height="{{ site.Params.logo_height }}" @@ -11,21 +12,18 @@ {{ end }} - <span class="near-white pl2 pt0 f2 berkshire-swash"> + <span class="pl-2 text-4xl leading-normal berkshire-swash"> {{ .Site.Title }} </span> </a> <input class="menu-btn dn" type="checkbox" id="menu-btn" /> - <label class="fr dn-ns ma2 pa3 menu-icon" for="menu-btn"> + <label class="fr dn-ns m-2 p-4 menu-icon" for="menu-btn"> <span class="navicon bg-near-white"></span> </label> - <ul class="ma0 pa0 list overflow-hidden avenir"> + <ul class="m-0 p-0 list overflow-hidden font-sans leading-none"> {{ range .Site.Menus.main }} <li class="fl-ns w3-hover-theme"> - <a - class="db f6 pa3 link near-white" - href="{{ .PageRef | relLangURL }}" - > + <a class="block p-4 near-white" href="{{ .PageRef | relLangURL }}"> {{ .Pre }} {{- T .Name | title -}} </a> @@ -35,7 +33,7 @@ {{ if .IsTranslated }} <select name="lang" - class="mv2 pv1 tc ba b--black-20 br2 w3-theme-d3 mw3 " + class="my-2 py-1 tc ba b--black-20 br2 w3-theme-d3 mw3 " onchange="self.location=options[selectedIndex].value" > <option value="{{ .Permalink }}"> |