mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
docs: avoid navbar hiding when jumping to in-page anchor
This commit is contained in:
parent
0d65ca27fd
commit
be71fda559
1 changed files with 9 additions and 0 deletions
9
docs/static/css/style.css
vendored
9
docs/static/css/style.css
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue