From 81d2a009e04284936c849554b9b62905f52daa9a Mon Sep 17 00:00:00 2001 From: ifraimka Date: Fri, 17 May 2024 16:43:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=84=D1=83=D1=82=D0=B5=D1=80=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BA=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=B8=D1=85=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D0=B0=D1=85,=20?= =?UTF-8?q?=D0=BE=D0=B1=D1=89=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/global.scss | 17 +++++++++++++++ src/assets/styles/theme.scss | 2 +- src/components/Footer/Footer.jsx | 2 +- src/components/Footer/Footer.styles.scss | 2 +- src/pages/Root/Root.jsx | 5 +---- src/pages/Root/Root.styles.scss | 27 ------------------------ 6 files changed, 21 insertions(+), 34 deletions(-) diff --git a/src/assets/styles/global.scss b/src/assets/styles/global.scss index 5b422a1..2acc17b 100644 --- a/src/assets/styles/global.scss +++ b/src/assets/styles/global.scss @@ -56,6 +56,7 @@ a { } .image { + max-width: 100%; border-radius: 8px; } @@ -69,4 +70,20 @@ header h1 { font-size: 36px; font-weight: 600; line-height: 44px; + margin-top: 0; +} + +#root { + display: flex; + min-height: 100vh; + flex-direction: column; + justify-content: flex-start; + + #page { + margin-bottom: 2em; + } + + #footer { + margin-top: auto; + } } \ No newline at end of file diff --git a/src/assets/styles/theme.scss b/src/assets/styles/theme.scss index 0ae58f3..765088c 100644 --- a/src/assets/styles/theme.scss +++ b/src/assets/styles/theme.scss @@ -8,7 +8,7 @@ $bg-image: rgba(0, 0, 0, .75); $text-primary: black; $text-secondary: white; -$text-card-project: #767676; +$text-card-project: white; $text-card-project-bg: rgba(255, 255, 255, 0.75); $shadow-primary: rgba(0, 0, 0, 0.25); diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 62d6d6f..7fc7f24 100755 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -41,7 +41,7 @@ function Footer({ links = mockLinks, contacts = mockContacts }) { }, []); return ( -