From 6b38cb05e82862c2a70d67ad5302723418d7c6cb Mon Sep 17 00:00:00 2001 From: Saulo Klein Nery Date: Thu, 13 Oct 2022 15:15:44 -0300 Subject: [PATCH] docs: Declara juntos elementos com mesmos atributos --- styles/main.css | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/styles/main.css b/styles/main.css index 8090a5e..46bd9b5 100644 --- a/styles/main.css +++ b/styles/main.css @@ -21,7 +21,10 @@ body{ padding: 29px 0; } -.main-banner{ +.main-banner, +.top-infocard-image, +.middle-card-image, +.bottom-banner{ width: 100%; } @@ -65,10 +68,6 @@ body{ min-width: 16%; } -.top-infocard-image{ - width: 100%; -} - .top-cards{ display: flex; gap: 21px; @@ -90,7 +89,8 @@ body{ gap: 27px; } -.top-card-text{ +.top-card-text, +.bottom-card-text{ width: 85%; } @@ -112,10 +112,6 @@ body{ justify-content: center; } -.middle-card-image{ - width: 100%; -} - .bottom-cards{ display: flex; gap: 16px; @@ -146,10 +142,6 @@ body{ width: 20%; } -.bottom-card-text{ - width: 85%; -} - .bottom-article{ display: flex; flex-direction: column; @@ -178,10 +170,6 @@ body{ line-height: 24px; } -.bottom-banner{ - width: 100%; -} - .page-footer{ background: #000; padding: 38px 0;