From 35a402a97e1134bc3078af8777b31fd17aa9a28a Mon Sep 17 00:00:00 2001 From: WellingtonWDS Date: Fri, 7 Oct 2022 10:53:07 -0300 Subject: [PATCH] Adiciona o top infocard desktop e mobile --- styles/style.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/styles/style.css b/styles/style.css index 9fb93fa..84d97f3 100644 --- a/styles/style.css +++ b/styles/style.css @@ -28,7 +28,7 @@ body{ .top-infocard{ display: flex; - align-itens: center; + align-items: center; justify-content: center; padding: 80px 0 96px; } @@ -85,17 +85,26 @@ body{ .top-infocard-image{ width: 100%; max-width: 240px; - margin: auto; } } -@media screen and (min-width: 993px) and (max-width: 1200px) { - +@media screen and (min-width: 993px) and (max-width: 1280px) { + .top-infocard-text{ + max-width: 520px; + margin-right: 70px; + } } @media screen and (min-width: 415px){ .main-banner-mobile{ display: none; } +} + +@media screen and (max-width: 415px){ + .main-banner-mobile{ + max-width: 415px; + width: 100%; + } } \ No newline at end of file