From 8ac9850afdd8213579d66252c0ca5fdd307715b1 Mon Sep 17 00:00:00 2001 From: Douglas Nobrega Date: Wed, 12 Oct 2022 00:18:32 -0300 Subject: [PATCH] Ajustes nos tamanhos de tela --- ...o-M3Academy 1.png => Logo-M3Academy-1.png} | Bin assets/images/m3-logo.png | Bin 0 -> 1537 bytes assets/styles/style.css | 81 ++++++++++++------ index.html | 10 ++- 4 files changed, 59 insertions(+), 32 deletions(-) rename assets/images/{Logo-M3Academy 1.png => Logo-M3Academy-1.png} (100%) create mode 100644 assets/images/m3-logo.png diff --git a/assets/images/Logo-M3Academy 1.png b/assets/images/Logo-M3Academy-1.png similarity index 100% rename from assets/images/Logo-M3Academy 1.png rename to assets/images/Logo-M3Academy-1.png diff --git a/assets/images/m3-logo.png b/assets/images/m3-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2978a6efb66e5057c2bdc195a56c836608800129 GIT binary patch literal 1537 zcmV+c2LAbpP) z6jc<*&wl&W#JW;ssY;5XK0qLi4T>S6#-x5E+6Og?VtmkqsELY3O$>=dAJ7L3#IN`w z4@M#&(VA!sAts^;F$OG35w&P*MH*_$R@io75C79UOSjwIopX0*w%z5Q{4&$cnKLv0 zxik0PGgG2E7Bjbj?ciT92GTj4&LP7S%H;emaVc;D41!(YX^^0ENjTx#9V7fuFIY|I zf^ecSaESfa3smpINiOH=>5lAvgH)fof~u$2vMcp!<^WYs3(-0oWTjrs{1FUMbrb>% zWu-373hW#6vV(VIEoWUQkg=|C>Bki!TISwFo2w=sRAMI z^H{tLE++qU5;WpiM_tXt0ZEKB<43@);5srU=1WZ71-5}sBp)h~Q!dC-@EBMDuB53K zHUoOW4)D3;M$Qab$~pdKFbhNq>_`5VTXhb29b83r`UuDMkZTkUWGVQX%}l^XGUHh1 zw7C474}dPV*B)>W`5@#?fG^ozN5DL{b3QlEj7?4AAsZB(I<;~6${c3bs;#cs*P$X>1u4S{>93}L${c%RGD0WjZf z2aRkTuO$tGC1fGQ&jx$BJbeP@YId@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00001 diff --git a/assets/styles/style.css b/assets/styles/style.css index df6dc5b..3b44d69 100644 --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -19,6 +19,8 @@ body { } .page-header-logo { + width: 100%; + height: 43px; display: block; } @@ -28,7 +30,9 @@ body { } .top-infocard { - padding: 73px 80px; + display: flex; + flex-direction: column; + padding: 73px 0; } .top-infocard-text { @@ -62,41 +66,43 @@ body { margin-top: 20px; } +.top-infocard-images { + max-width: 315px; +} + .top-infocard-image { + width: 100%; margin-top: 73px; } +/**/ + .top-cards { display: flex; - align-items: center; justify-content: center; - padding: 179px 0 80px; - gap: 21px; + gap: 40px; + padding: 74px 0; } -.top-card { +.top-card{ display: flex; flex-direction: column; align-items: center; - justify-content: center; - background: #FFFFFF; + padding: 26px 26px 34px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); - padding: 35px 26px 34px; - max-width: 350px; } .top-card-image { display: block; - margin-bottom: 27px; + margin-bottom: 26px; } .top-card-description { + max-width: 300px; + text-align: center; font-size: 16px; line-height: 24px; - text-align: center; - margin-top: 27px; } - .middle-images { display: flex; align-items: center; @@ -184,6 +190,11 @@ body { background: #000000; } +.bottom-text-image { + width: 100%; + display: block; +} + .footer-icons { display: flex; list-style: none; @@ -237,20 +248,11 @@ body { .middle-images { display: flex; + flex-direction: column; gap: 15px; padding: 0 20px; } - .middle-image { - } - - .middle-image-two { - margin-top: 10px; - } - - /* - */ - .bottom-card { display: flex; flex-direction: column; @@ -331,7 +333,7 @@ body { } -@media screen and (min-width: 769px) and (max-width: 1200px) { +@media screen and (min-width: 769px) and (max-width: 992px) { .top-infocard, .top-cards { display: flex; align-items: center; @@ -341,19 +343,42 @@ body { width: 100%; } - .bottom-card { + .top-cards { + padding: 0 10px; + gap: 21px; + } + .middle-images { + gap: 39px; + padding: 0 72px; } } @media screen and (min-width:993px) and (max-width: 1280px) { .top-infocard { - justify-content: center; + display: flex; + align-items: center; } +} - .bottom-text-image { - width: 100%; +@media screen and (min-width: 1281px) and (max-width: 1440px) { + .top-infocard { + display: flex; + align-items: center; + } +} + +@media screen and (min-width: 1441px) and (max-width: 2000px) { + .top-infocard { + display: flex; + align-items: center; } } + + + + + + diff --git a/index.html b/index.html index 9b3f9a5..1474fea 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ @@ -42,12 +42,14 @@ tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.

+ +
Card do top Card do top -
+ -
+
Primeiro card do topo

@@ -68,7 +70,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.

-
+