From c720edefc8b6a05e7f0effe5588817751c3ecc26 Mon Sep 17 00:00:00 2001 From: devartes Date: Mon, 9 Jan 2023 17:38:34 -0300 Subject: [PATCH] =?UTF-8?q?style:=20remo=C3=A7=C3=A3o=20de=20repeti=C3=A7?= =?UTF-8?q?=C3=A3o=20desnecess=C3=A1ria=20de=20font-family=20e=20font-styl?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer/Footer.module.scss | 19 +------------------ src/components/Header/Header.module.scss | 6 ------ src/components/Main/Main.module.scss | 24 ------------------------ src/global.scss | 7 ++++++- 4 files changed, 7 insertions(+), 49 deletions(-) diff --git a/src/components/Footer/Footer.module.scss b/src/components/Footer/Footer.module.scss index b8ac50c..964df6d 100644 --- a/src/components/Footer/Footer.module.scss +++ b/src/components/Footer/Footer.module.scss @@ -132,7 +132,7 @@ footer { @media (max-width: 376px) { transform: unset; width: 100%; - + } & img { height: 20.2px; @@ -281,7 +281,6 @@ footer { min-width: 106px; height: 66px; } - } } } @@ -298,8 +297,6 @@ footer { column-gap: 13px; display: flex; align-items: center; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 10px; line-height: 12px; @@ -461,8 +458,6 @@ footer { } & a { text-decoration: none; - font-family: "Roboto"; - font-style: normal; color: $primary-200; } } @@ -471,8 +466,6 @@ footer { font-size: 14px; line-height: 16px; text-transform: uppercase; - font-family: "Roboto"; - font-style: normal; color: $primary-200; @media (min-width: 2500px) { font-size: 28px; @@ -557,8 +550,6 @@ footer { } &__Site { & a { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -668,8 +659,6 @@ footer { } &__Message { margin: 0 0 8px; - font-family: "Roboto"; - font-style: normal; font-weight: 500; font-size: 18px; line-height: 21px; @@ -698,8 +687,6 @@ footer { border: 1px solid $primary-300; border-radius: 4px; margin-right: 8px; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -719,8 +706,6 @@ footer { width: auto; } &::placeholder { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -738,8 +723,6 @@ footer { background: $black; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); border-radius: 4px; - font-family: "Roboto"; - font-style: normal; font-weight: 700; font-size: 12px; line-height: 14px; diff --git a/src/components/Header/Header.module.scss b/src/components/Header/Header.module.scss index 8791baf..5128754 100644 --- a/src/components/Header/Header.module.scss +++ b/src/components/Header/Header.module.scss @@ -152,8 +152,6 @@ header { } &::placeholder { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -204,8 +202,6 @@ header { background: $black; } & a { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -331,8 +327,6 @@ header { & li { list-style: none; & a { - font-family: "Roboto"; - font-style: normal; font-weight: 500; font-size: 14px; line-height: 16px; diff --git a/src/components/Main/Main.module.scss b/src/components/Main/Main.module.scss index d4312d9..c859d6c 100644 --- a/src/components/Main/Main.module.scss +++ b/src/components/Main/Main.module.scss @@ -55,8 +55,6 @@ main { } &__InstitucionalLink { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 12px; line-height: 14px; @@ -125,8 +123,6 @@ main { & a { width: auto; height: 39px; - font-family: "Roboto"; - font-style: normal; font-size: 16px; line-height: 19px; text-decoration: none; @@ -155,8 +151,6 @@ main { } h2 { - font-family: "Roboto"; - font-style: normal; font-weight: 700; font-size: 24px; line-height: 28px; @@ -174,8 +168,6 @@ main { } p { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 13px; line-height: 15px; @@ -202,8 +194,6 @@ main { flex-direction: column; &__Field { width: 100%; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -211,8 +201,6 @@ main { display: flex; flex-direction: column; & label { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -231,8 +219,6 @@ main { border: 1px solid $secundary-200; border-radius: 25px; padding: 15px 20px; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -244,8 +230,6 @@ main { line-height: 33px; } &::placeholder { - font-family: "Roboto"; - font-style: normal; font-weight: 400; color: $secundary-100; font-size: 14px; @@ -257,8 +241,6 @@ main { } } &__Error { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 12px; line-height: 14px; @@ -280,8 +262,6 @@ main { } } &__Success { - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 12px; line-height: 14px; @@ -298,8 +278,6 @@ main { align-items: center; justify-content: center; flex-direction: row; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 14px; line-height: 16px; @@ -332,8 +310,6 @@ main { background: $black; border-radius: 25px; color: $white; - font-family: "Roboto"; - font-style: normal; font-weight: 400; font-size: 16px; line-height: 19px; diff --git a/src/global.scss b/src/global.scss index e974274..a1bce60 100644 --- a/src/global.scss +++ b/src/global.scss @@ -1,5 +1,10 @@ @import "variaveis.scss"; +*{ + font-family: "Roboto"; + font-style: normal; +} + body { box-sizing: border-box; margin: 0; @@ -9,4 +14,4 @@ body { html,body { height: 100%; -} \ No newline at end of file +}