aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f061a00..45eb8db 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,6 +14,10 @@
<!-- CSS -->
<style>
+ #sidebar {
+ position:fixed;
+ z-index: 1;
+ }
.post-header {
text-shadow: 0 2px 1px rgba(0,0,0,0.9);}
@@ -22,3 +26,11 @@
color: #dcdcdc;
padding: 0.5em;}
</style>
+<script>
+function w3_open() {
+ document.getElementById("sidebar").style.display = "block";
+}
+function w3_close() {
+ document.getElementById("sidebar").style.display = "none";
+}
+</script>