diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 16:51:40 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-06 16:51:40 +0200 |
commit | 4f6f1bbab09aea55e8b357fd6c4b23d9361b3b3b (patch) | |
tree | 54cf1d784236c49f6f6fe6e2c1c04ecc30bcb3c1 /layouts | |
parent | 225a25bc7236ea4b9168ee1ac5ea0dbeb9ac5e79 (diff) | |
download | hugo-minimalist-theme-4f6f1bbab09aea55e8b357fd6c4b23d9361b3b3b.tar.gz hugo-minimalist-theme-4f6f1bbab09aea55e8b357fd6c4b23d9361b3b3b.tar.bz2 hugo-minimalist-theme-4f6f1bbab09aea55e8b357fd6c4b23d9361b3b3b.zip |
Simplify footer and header
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 10 | ||||
-rw-r--r-- | layouts/partials/header.html | 12 |
2 files changed, 9 insertions, 13 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e781e63..77a7276 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,5 @@ -<footer class="bg-black"> - <div class="w-100 ph3 pv3 tc near-white"> - {{ with .Site.GetPage "footer.md" }} - {{ .Content }} - {{ end }} - </div> +<footer class="bg-black w-100 pa3 tc near-white"> + {{ with .Site.GetPage "footer.md" }} + {{ .Content }} + {{ end }} </footer> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5f4c582..0778292 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@ <nav class="header w-100 w3-theme-d3 w3-theme-border z-2 cf"> - <div class="mw7 center"> + <div class="mw7 center pl2"> <a href="{{ site.BaseURL }}" class="db fl link"> {{ with resources.Get .Site.Params.logo }} @@ -9,18 +9,16 @@ <span class="near-white pl2 pt0 f2 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"> <span class="navicon bg-near-white"></span> </label> - <ul class="ma0 pa0 list overflow-hidden br w3-theme-border"> + <ul class="ma0 pa0 list overflow-hidden sans-serif"> {{ range .Site.Menus.main }} - <li class="fl-ns bl bb br2 w3-hover-theme w3-theme-border "> - <a class="db f6 pa3 link near-white grow" - href="{{ .URL }}">{{$text := print .Name | safeHTML }} {{ $text }} + <li class="fl-ns w3-hover-theme"> + <a class="db f6 pa3 link near-white" + href="{{ .URL }}">{{ .Name | safeHTML }} </a> </li> {{ end }} |