1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Adjust spacing of section headers to account for nav bar (fix #986)

This commit is contained in:
David Tolnay
2015-10-12 19:58:48 -07:00
parent 664b8e26f0
commit 73b8413d10

View File

@ -72,15 +72,25 @@ body {
/* manual.liquid ******************************************/ /* manual.liquid ******************************************/
section {
padding-top: 24px;
}
h3 code { h3 code {
border: 0; border: 0;
font-size: 20px; font-size: 20px;
} }
section {
/* Adjust spacing so that anchors are not hidden behind nav bar */
position: relative;
top: -50px;
padding-top: 50px;
margin-bottom: -50px;
h2 {
margin-top: 50px;
}
h3 {
margin-top: 32px;
}
}
@media(max-width: 991px){ @media(max-width: 991px){
#navcolumn { #navcolumn {
/* Put nav column above manual content */ /* Put nav column above manual content */