From d3cf01e93866b45a6d09fcb6166a41ff9e99f52f Mon Sep 17 00:00:00 2001 From: bronkuu Date: Thu, 16 Apr 2026 20:46:07 +0200 Subject: [PATCH] moved section to components.css --- components.css | 5 +++++ index.html | 2 +- style.css | 6 ------ 3 files changed, 6 insertions(+), 7 deletions(-) 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);