mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-06 20:31:25 +00: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;
|
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{
|
label{
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue