From 883d076cce34992ae3ac6783645916e6392452c3 Mon Sep 17 00:00:00 2001 From: ifraimka Date: Tue, 7 May 2024 19:10:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BD=D0=B5=D1=81=D1=82=D0=B8=20=D0=BC?= =?UTF-8?q?=D0=B8=D0=BD=D0=BE=D1=80=D0=BD=D1=8B=D0=B5=20=D0=B8=D1=81=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=20?= =?UTF-8?q?=D1=81=D1=82=D0=B8=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/global.scss | 29 +++++++++++++++++-- src/components/Footer/Footer.styles.scss | 9 +++--- src/pages/Main/Main.styles.scss | 6 +++- .../Main/components/News/News.styles.scss | 1 - src/pages/Root/Root.styles.scss | 11 +++++-- 5 files changed, 44 insertions(+), 12 deletions(-) diff --git a/src/assets/styles/global.scss b/src/assets/styles/global.scss index 5caa9ee..5b422a1 100644 --- a/src/assets/styles/global.scss +++ b/src/assets/styles/global.scss @@ -15,7 +15,9 @@ body { -moz-osx-font-smoothing: grayscale; } -body, input, textarea { +body, +input, +textarea { font-family: Montserrat; } @@ -32,12 +34,13 @@ a { display: block; width: fit-content; padding: 16px 24px; + margin: 0 auto; border-radius: 8px; - + font-size: 20px; font-weight: 600; line-height: 24px; - + color: $btn-primary-text; background: $btn-primary-bg; background-size: 200%; @@ -46,4 +49,24 @@ a { .btn:hover { background-position: 100%; +} + +.list { + margin-top: 0.5em; +} + +.image { + border-radius: 8px; +} + +p { + font-size: 20px; + font-weight: 400; + line-height: 30px; +} + +header h1 { + font-size: 36px; + font-weight: 600; + line-height: 44px; } \ No newline at end of file diff --git a/src/components/Footer/Footer.styles.scss b/src/components/Footer/Footer.styles.scss index d2eedcd..a7b9bbf 100755 --- a/src/components/Footer/Footer.styles.scss +++ b/src/components/Footer/Footer.styles.scss @@ -7,7 +7,7 @@ height: 100px; padding: 0 10%; - margin: 0; + margin: 2em 0 0; background: $bg-footer; .logo-container { @@ -27,11 +27,12 @@ max-height: 70%; height: 70%; - color: $text-secondary; - font-size: 16px; - font-weight: 400; p { + color: $text-secondary; + font-size: 16px; + font-weight: 400; + line-height: 16px; margin: 0; } } diff --git a/src/pages/Main/Main.styles.scss b/src/pages/Main/Main.styles.scss index 323bab0..4b0e00b 100644 --- a/src/pages/Main/Main.styles.scss +++ b/src/pages/Main/Main.styles.scss @@ -8,6 +8,7 @@ height: 100vh; padding: 0 10%; + margin: 0; color: $text-secondary; background-image: url(/assets/images/car.jpeg); @@ -22,7 +23,6 @@ display: flex; flex-direction: column; - h1 { font-size: 60px; font-weight: 600; @@ -35,6 +35,10 @@ font-weight: 400; line-height: 36px; } + + .btn { + margin: 0; + } } } } \ No newline at end of file diff --git a/src/pages/Main/components/News/News.styles.scss b/src/pages/Main/components/News/News.styles.scss index cd9dbde..4e99145 100755 --- a/src/pages/Main/components/News/News.styles.scss +++ b/src/pages/Main/components/News/News.styles.scss @@ -17,7 +17,6 @@ width: 100%; height: 100%; object-fit: cover; - border-radius: 8px; } } } diff --git a/src/pages/Root/Root.styles.scss b/src/pages/Root/Root.styles.scss index db85967..f17a169 100755 --- a/src/pages/Root/Root.styles.scss +++ b/src/pages/Root/Root.styles.scss @@ -1,14 +1,19 @@ @import "../../assets/styles/theme.scss"; #page { - margin-top: calc($navbar-height + 3 * $navbar-padding-tb); + margin-top: calc($navbar-height + 5 * $navbar-padding-tb); + + .header, .content { + margin-left: 10%; + margin-right: 10%; + } .content { background: $bg-primary; .block { - margin: 0 10% 32px; - + margin-bottom: 32px; + h1 { font-family: Montserrat; font-size: 36px;