diff --git a/static/css/main.css b/static/css/main.css index 9c102bd..170d62e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -307,6 +307,11 @@ nav a:hover { .csm-progress { background: #a5b4fc; color: #312e81; } .csm-guidelines { background: #e0e7ff; color: #3730a3; } +/* Offset anchors for sticky header */ +h1, h2, h3, h4, h5, h6 { + scroll-margin-top: 5rem; +} + /* Shortcode-specific overrides */ .ifk-stat-num { font-family: var(--ifk-font); } .ifk-stat-label { font-family: system-ui, -apple-system, sans-serif; }