when linking to an intra-document point, don't scroll too much
This commit is contained in:
parent
9bf17b2c40
commit
f012084123
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This file lists all non-trivial changes to Beautiful Jekyll. I often make small changes to documentation, to the demo site, or to the general look-and-feel. These and other minor changes will not be listed here.
|
This file lists all non-trivial changes to Beautiful Jekyll. I often make small changes to documentation, to the demo site, or to the general look-and-feel. These and other minor changes will not be listed here.
|
||||||
|
|
||||||
|
**2020-04-28** Fix issue: linking to a specific part of a page resulted in scrolling too far (#69)
|
||||||
|
|
||||||
**2020-04-28** Add YAML option `nav-short` to have navbar permanently collapsed
|
**2020-04-28** Add YAML option `nav-short` to have navbar permanently collapsed
|
||||||
|
|
||||||
**2020-04-28** Add social network link: Calendly
|
**2020-04-28** Add social network link: Calendly
|
||||||
|
@ -47,6 +47,14 @@ hr.small {
|
|||||||
border-radius: 3px;
|
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 {
|
.main-content {
|
||||||
padding-top: 80px;
|
padding-top: 80px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user