when linking to an intra-document point, don't scroll too much
This commit is contained in:
@ -47,6 +47,14 @@ hr.small {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* fix in-page anchors to not be behind fixed header */
|
||||
:target:before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 50px; /* navbar height */
|
||||
margin: -50px 0 0;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user