aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html6
-rw-r--r--layouts/partials/header.html4
2 files changed, 2 insertions, 8 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f13312f..636ca06 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -24,12 +24,6 @@
<!-- CSS -->
<style>
- #sidebar {
- position:fixed;
- z-index: 1;
- display: none;
- overflow:auto;
- }
a {
text-decoration: none;
color: #357edd;
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a6a8d7b..41bfd71 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
{{ .Scratch.Set "authorPicture" (absURL .Site.Author.picture) }}
{{ end }}
-<nav id="sidebar" class="w5-ns w-100 bg-gray vh-100" style="background-image:url('{{ .Site.Params.coverImage | absURL }}');">
+<nav id="sidebar" class="w5-ns w-100 bg-gray vh-100 fixed z-2 overflow-auto dn" 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>
@@ -47,7 +47,7 @@
</nav>
-<nav class="dt w-100 border-box pa2 bg-white-40">
+<nav class="fixed z-1 dt w-100 border-box pa2 bb b--black-30 bg-near-white">
<a class="dtc dib v-mid dim " onclick="w3_open()">
<i class="fa fa-lg fa-bars black"></i>