From 201f75d8fdcb119fc8967d59269c317726150b00 Mon Sep 17 00:00:00 2001 From: Affonsok Date: Fri, 7 Oct 2022 22:55:27 -0300 Subject: [PATCH] Adiciona os cards de baixo desktop e mobile --- _assets/css/main.css | 92 ++++++-- ...oney_icon.svg => bottom-card-image-01.svg} | 0 ...ptop_icon.svg => bottom-card-image-02.svg} | 0 ...oin2_icon.svg => bottom-card-image-03.svg} | 0 ...hone_icon.svg => bottom-card-image-04.svg} | 0 .../{facebook_icon.svg => facebook-icon.svg} | 0 ...{instagram_icon.svg => instagram-icon.svg} | 0 .../{youtube_icon.svg => youtube-icon.svg} | 0 index.html | 219 +++++++++++++----- 9 files changed, 225 insertions(+), 86 deletions(-) rename _assets/images/{money_icon.svg => bottom-card-image-01.svg} (100%) rename _assets/images/{laptop_icon.svg => bottom-card-image-02.svg} (100%) rename _assets/images/{coin2_icon.svg => bottom-card-image-03.svg} (100%) rename _assets/images/{smartphone_icon.svg => bottom-card-image-04.svg} (100%) rename _assets/images/{facebook_icon.svg => facebook-icon.svg} (100%) rename _assets/images/{instagram_icon.svg => instagram-icon.svg} (100%) rename _assets/images/{youtube_icon.svg => youtube-icon.svg} (100%) diff --git a/_assets/css/main.css b/_assets/css/main.css index ef7f50d..e9c2b8a 100644 --- a/_assets/css/main.css +++ b/_assets/css/main.css @@ -2,13 +2,11 @@ margin: 0; padding: 0; box-sizing: border-box; - } body { font-family: 'Inter', sans-serif; color: #000000; - } .page-header { @@ -16,7 +14,6 @@ body { justify-content: center; background: #000000; padding: 28px 0; - } .header-logo { @@ -55,8 +52,7 @@ body { .top-infocard-description { line-height: 24px; - font-size: 16px; - + font-size: 16px; } .top-cards { @@ -89,12 +85,46 @@ body { text-align: center; } +.bottom-cards { + margin-top: 114px; + background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%); +} -@media screen and (min-width: 993px) and (max-width:1280px) { - .top-infocard-text { - max-width: 520px; - margin-right: 70px; - +.bottom-cards-wrapper { + display: grid; + grid-template-columns: repeat(2, max-content); + gap: 20px; + justify-content: center; + position: relative; + top: -60px; +} + +.bottom-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 36px 32px 66px; + background: #FFFFFF; + box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15); +} + +.bottom-card-image { + display: block; + margin-bottom: 14px; +} + +.bottom-card-description { + max-width: 368px; + text-align: center; + font-size: 16px; + line-height: 24px; + +} + +@media screen and (max-width: 414px) { + .main-banner-desktop, + .middle-banner-desktop { + display: none; } } @@ -105,11 +135,25 @@ body { } } -@media screen and (max-width: 414px) { - .main-banner-desktop, - .middle-banner-desktop { - display: none; +@media screen and (max-width: 768px) { + .top-cards { + grid-template-columns: 1fr; + padding: 36px 26px; } + + .bottom-cards { + margin-top: 114px; + padding: 0 26px; + } + + .bottom-cards-wrapper { + grid-template-columns: 1fr; + gap: 16px; + } + .bottom-card-description { + font-size: 14px; + } + } @media screen and (max-width: 992px) { @@ -134,17 +178,21 @@ body { } } -@media screen and (max-width: 768px) { - .top-cards { - grid-template-columns: 1fr; - padding: 36px 26px; - } - -} - @media screen and (min-width: 769px) and (max-width: 1200px) { .top-cards { grid-template-columns: repeat(2, max-content); + } +} +@media screen and (min-width: 769px) and (max-width: 992px) { + .bottom-card-description { + max-width: 280px; + } +} + +@media screen and (min-width: 993px) and (max-width:1280px) { + .top-infocard-text { + max-width: 520px; + margin-right: 70px; } } \ No newline at end of file diff --git a/_assets/images/money_icon.svg b/_assets/images/bottom-card-image-01.svg similarity index 100% rename from _assets/images/money_icon.svg rename to _assets/images/bottom-card-image-01.svg diff --git a/_assets/images/laptop_icon.svg b/_assets/images/bottom-card-image-02.svg similarity index 100% rename from _assets/images/laptop_icon.svg rename to _assets/images/bottom-card-image-02.svg diff --git a/_assets/images/coin2_icon.svg b/_assets/images/bottom-card-image-03.svg similarity index 100% rename from _assets/images/coin2_icon.svg rename to _assets/images/bottom-card-image-03.svg diff --git a/_assets/images/smartphone_icon.svg b/_assets/images/bottom-card-image-04.svg similarity index 100% rename from _assets/images/smartphone_icon.svg rename to _assets/images/bottom-card-image-04.svg diff --git a/_assets/images/facebook_icon.svg b/_assets/images/facebook-icon.svg similarity index 100% rename from _assets/images/facebook_icon.svg rename to _assets/images/facebook-icon.svg diff --git a/_assets/images/instagram_icon.svg b/_assets/images/instagram-icon.svg similarity index 100% rename from _assets/images/instagram_icon.svg rename to _assets/images/instagram-icon.svg diff --git a/_assets/images/youtube_icon.svg b/_assets/images/youtube-icon.svg similarity index 100% rename from _assets/images/youtube_icon.svg rename to _assets/images/youtube-icon.svg diff --git a/index.html b/index.html index 23da56b..ab48a45 100644 --- a/index.html +++ b/index.html @@ -1,83 +1,174 @@ - - - + + + - - - + + + - M3 Landing Page - - - - - + M3 Landing Page - + - - + + -
+ + + - -
- Banner principal Desktop - Banner principal Mobile -
+
+ +
+ Banner principal Desktop + Banner principal Mobile +
- -
-
-

Lorem ipsum

-

dolor sit amet

+ +
+
+

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. -

-
+

+ 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 + Banner do Infocard do Topo +
- - -
-
- Imagem do Primeiro Card do Topo -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
+
+
+ Imagem do Primeiro Card do Topo +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
-
- Imagem do Segundo Card do Topo -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
+
+ Imagem do Segundo Card do Topo +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
-
- Imagem do Terceiro Card do Topo -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
+
+ Imagem do Terceiro Card do Topo +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. +

+
+
-
+ +
+ Banner do Meio Desktop + Banner do Meio Mobile +
- -
- Banner do Meio Desktop - Banner do Meio Mobile -
+ +
+ +
-
- +
+ Imagem do Primeiro Card de Baixo. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Cras euismod enim non dui fringilla + interdum. +

+
+ +
+ Imagem do Segundo Card de Baixo. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Cras euismod enim non dui fringilla + interdum. +

+
+ +
+ Imagem do Terceiro Card de Baixo. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Cras euismod enim non dui fringilla + interdum. +

+
+ +
+ Imagem do Quarto Card de Baixo. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Cras euismod enim non dui fringilla + interdum. +

+
+ + + + + + +
+