diff --git a/components.css b/components.css index 3fa0913..4890e21 100644 --- a/components.css +++ b/components.css @@ -36,4 +36,9 @@ h2{ p { color: var(--on-background); line-height: 1.5rem; +} + +section { + padding: 1rem 2rem; + margin: 0 auto; } \ No newline at end of file diff --git a/index.html b/index.html index 848193e..d73727b 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + diff --git a/style.css b/style.css index 8ec4fb2..04efae8 100644 --- a/style.css +++ b/style.css @@ -7,7 +7,6 @@ body { } nav { - /* positioning and look */ position: sticky; top: 0; z-index: 50; @@ -55,11 +54,6 @@ nav > div { } } -section { - padding: 1rem 2rem; - margin: 0 auto; -} - .hero { max-width: var(--max-content-width); height: calc(100vh - var(--nav-height) - 2rem);