hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit be71fda559605ddf91c071431981f8e1f4d57598
parent 0d65ca27fd2c3370c83e5e243bf4c0879aefd920
Author: bep <bjorn.erik.pedersen@gmail.com>
Date:   Fri, 22 May 2015 20:18:34 +0200

docs: avoid navbar hiding when jumping to in-page anchor

Diffstat:
Mdocs/static/css/style.css | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/docs/static/css/style.css b/docs/static/css/style.css
@@ -109,6 +109,15 @@ h1,h2,h3,h4,h5{
     font-weight: 400;
 }
 
+
+h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before {
+    display: block;
+    content: " ";
+    margin-top: -75px;
+    height: 75px;
+    visibility: hidden;
+}
+
 label{
     font-weight: 300;
 }