From 06195676406f9240ed0949984c55f53e50e3ce77 Mon Sep 17 00:00:00 2001 From: Emerson Fully <63175980+emersonfully@users.noreply.github.com> Date: Sat, 8 Oct 2022 11:34:08 -0300 Subject: [PATCH] Adiciona o Top infocard desktop e mobile --- assets/styles/style.css | 73 +++++++++++++++++++++++++++++++++++- assets/top-infocard-img.png | Bin 0 -> 4669 bytes index.html | 16 ++++++-- 3 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 assets/top-infocard-img.png diff --git a/assets/styles/style.css b/assets/styles/style.css index 7eea34d..c4292cf 100644 --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -1,9 +1,17 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap'); + + * { margin: 0; padding: 0; box-sizing: border-box; } +body { + font-family: 'Inter', sans-serif; + color: #000; +} + .page-header { display: flex; justify-content: center; @@ -19,14 +27,75 @@ width: 100%; } +.top-infocard { + display: flex; + align-items: center; + justify-content: center; + padding: 80px 0 96px; +} + +.top-infocard-text { + margin-right: 124px; + max-width: 766px; +} + +.top-infocard-subtitle { + font-weight: 400; + font-size: 32px; + text-transform: uppercase; +} + +.top-infocard-title { + margin-bottom: 24px; + font-weight: 500; + font-size: 48px; + text-transform: uppercase; +} + +.top-infocard-description { + font-size: 16px; + line-height: 24px; +} @media screen and (max-width: 414px) { .main-banner-desktop { - display:none; + display: none; } } -@media screen and (min-width: 414px) { +@media screen and (max-width: 992px) { + .top-infocard { + padding: 84px 26px 158px; + flex-direction: column; + } + + .top-infocard-text { + margin: 0 0 68px; + } + + .top-infocard-subtitle { + font-size: 20px; + } + + .top-infocard-title { + margin-bottom: 20px; + font-size: 28px; + } + + .top-infocard-img { + width: 100%; + max-width: 240px; + } +} + +@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; } diff --git a/assets/top-infocard-img.png b/assets/top-infocard-img.png new file mode 100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f^I9( zT>iQ(j3+jOXUAKUu%MeO6Fy@go4Y=mZK*83zwvgn==pL1Ckl{Q773d8Rl~&_`lKI{ o7n`4|S12a)6tCM8hfQc_+TIrMKko?7|AioCM%IRP;5$kG1?SPM@Bjb+ literal 0 HcmV?d00001 diff --git a/index.html b/index.html index 3b585a2..f48dbe6 100644 --- a/index.html +++ b/index.html @@ -17,9 +17,19 @@
-
- Banner principal - Banner principal +
+ Banner principal + Banner principal +
+ +
+
+

Lorem ipsum

+

dolor sit amet

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.

+ +
+ Banner do Infocard do Topo