aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-09 00:00:12 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-09 00:00:12 +0200
commit15a77de868a966ac583cc3b6ace8bf5803e36185 (patch)
tree1e47d9a0da8a86b776d52246474a5dbe8b762282 /layouts/partials/head.html
parent5346283419f792276c22dc4d4c4b1b2c6f357073 (diff)
downloadhugo-minimalist-theme-15a77de868a966ac583cc3b6ace8bf5803e36185.tar.gz
hugo-minimalist-theme-15a77de868a966ac583cc3b6ace8bf5803e36185.tar.bz2
hugo-minimalist-theme-15a77de868a966ac583cc3b6ace8bf5803e36185.zip
Improve sidebar
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html21
1 files changed, 14 insertions, 7 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 45eb8db..511a8c4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -17,9 +17,16 @@
#sidebar {
position:fixed;
z-index: 1;
+ display: none;
}
+
+ #sidebar a {
+ text-shadow: 1px 3px 1px rgba(0,0,0,0.9);
+ }
+
.post-header {
- text-shadow: 0 2px 1px rgba(0,0,0,0.9);}
+ text-shadow: 0 2px 1px rgba(0,0,0,0.9);
+ }
pre {
background: #3f3f3f;
@@ -27,10 +34,10 @@
padding: 0.5em;}
</style>
<script>
-function w3_open() {
- document.getElementById("sidebar").style.display = "block";
-}
-function w3_close() {
- document.getElementById("sidebar").style.display = "none";
-}
+ function w3_open() {
+ document.getElementById("sidebar").style.display = "block";
+ }
+ function w3_close() {
+ document.getElementById("sidebar").style.display = "none";
+ }
</script>