mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Offset scroll padding for sticky nav
This commit is contained in:
parent
b708e42d24
commit
46e994a42d
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue