From 116ee972afff22c37c6c52495174535bd39ee8e3 Mon Sep 17 00:00:00 2001 From: legoraft Date: Wed, 25 Sep 2024 09:17:34 +0200 Subject: [PATCH] Updated scss structure --- _sass/body.scss | 2 ++ _sass/header.scss | 7 ------- _sass/variables.scss | 9 ++++++++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/_sass/body.scss b/_sass/body.scss index 5633aa4..2fe14c1 100644 --- a/_sass/body.scss +++ b/_sass/body.scss @@ -1,3 +1,5 @@ +@import "variables"; + .content { width: 40rem; margin: 1rem auto; diff --git a/_sass/header.scss b/_sass/header.scss index 52253d1..926838c 100644 --- a/_sass/header.scss +++ b/_sass/header.scss @@ -1,12 +1,5 @@ @import "variables"; -* { - margin: 0; - padding: 0; - background-color: $background; - font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; -} - header { height: 64px; max-width: 100%; diff --git a/_sass/variables.scss b/_sass/variables.scss index 483a2a8..726bb58 100644 --- a/_sass/variables.scss +++ b/_sass/variables.scss @@ -1,3 +1,10 @@ $background: #FDFFFC; $foreground: #0D1321; -$accent: #AB92BF; \ No newline at end of file +$accent: #AB92BF; + +* { + margin: 0; + padding: 0; + background-color: $background; + font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; +} \ No newline at end of file