From: bep Date: Fri, 22 May 2015 18:18:34 +0000 (+0200) Subject: docs: avoid navbar hiding when jumping to in-page anchor X-Git-Tag: v0.14~20 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be71fda559605ddf91c071431981f8e1f4d57598;p=brevno-suite%2Fhugo docs: avoid navbar hiding when jumping to in-page anchor --- diff --git a/docs/static/css/style.css b/docs/static/css/style.css index 66bb45b7..89f4f1ec 100755 --- 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; }