aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index f989b8e..e9b4597 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,13 +4,13 @@
{{ .Scratch.Set "authorPicture" (absURL .Site.Author.picture) }}
{{ end }}
-<nav id="sidebar" class="w-25-ns bg-gray" style="display:none">
+<nav id="sidebar" class="w5-ns w-100 bg-gray vh-100" style="background-image:url('{{ .Site.Params.coverImage | absURL }}');">
<a class="bg-black white link dim db pa3 tc pointer" onclick="w3_close()">
Close &times;
</a>
<div class="tc pv4">
- <a href="/#about" class="">
+ <a href="/#about" class="white link">
{{ with ($.Scratch.Get "authorPicture") }}
<img class="br-100" src="{{ . }}{{ if in . "//www.gravatar.com/avatar/" }}?s=110{{ end }}"/>
{{ end }}
@@ -23,7 +23,7 @@
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="pv2">
- <a class="link {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}active{{end}}" href="{{ .URL | relLangURL }}" title="{{ .Title }}">
+ <a class="link white db grow {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}active{{end}}" href="{{ .URL | relLangURL }}" title="{{ .Title }}">
{{ .Pre }} {{ .Name }}</a>
{{ end }}
</li>