From 46e994a42dfea841fe33dbbd16e662a907fc0785 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sun, 6 Mar 2022 12:50:23 -0600 Subject: [PATCH] Offset scroll padding for sticky nav --- assets/css/tailwind.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index b9855d6..0e111a6 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -61,6 +61,9 @@ html { box-sizing: border-box; background: #191a1d; + + /* height of sticky header = 80px */ + scroll-padding-top: 100px; } *, @@ -85,6 +88,9 @@ html { * @import "utilities/skew-transforms"; */ + .container { + max-width: 1140px; + } .ease { transition-property: all;