diff options
Diffstat (limited to 'layouts/partials')
-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 }} |