Offset scroll padding for sticky nav

This commit is contained in:
Sam Carlton 2022-03-06 12:50:23 -06:00
parent b708e42d24
commit 46e994a42d

View file

@ -61,6 +61,9 @@ html {
box-sizing: border-box; box-sizing: border-box;
background: #191a1d; background: #191a1d;
/* height of sticky header = 80px */
scroll-padding-top: 100px;
} }
*, *,
@ -85,6 +88,9 @@ html {
* @import "utilities/skew-transforms"; * @import "utilities/skew-transforms";
*/ */
.container {
max-width: 1140px;
}
.ease { .ease {
transition-property: all; transition-property: all;