Merge pull request 'saviocarvalho' (#2) from saviocarvalho into main

Reviewed-on: #2
This commit is contained in:
Savio Carvalho Moraes 2022-10-09 22:58:51 +00:00
commit d06f2952ea
16 changed files with 307 additions and 7 deletions

View File

@ -20,8 +20,10 @@ body {
display: block; display: block;
} }
.main-banner { .main-banner,
.middle-banner {
width: 100%; width: 100%;
display: block;
} }
.top-infocard { .top-infocard {
@ -55,12 +57,159 @@ body {
line-height: 24px; line-height: 24px;
} }
.top-cards {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
padding: 74px 0;
background: #f0f0f0;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-cards {
margin-top: 140px;
background: linear-gradient(180deg, #00c8ff 0%, #15acd6 100%);
}
.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-description {
max-width: 368px;
font-size: 16px;
line-height: 24px;
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-infocard {
display: flex;
align-items: center;
padding: 142px 0 180px;
}
.bottom-infocard-text {
max-width: 550px;
justify-content: center;
}
.bottom-infocard-image {
margin-right: 40px;
}
.bottom-card-title {
margin-bottom: 18px;
line-height: 1;
font-size: 32px;
font-weight: 600;
}
.bottom-infocard-description {
line-height: 24px;
font-size: 16px;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
padding: 38px 0 38px;
}
.footer-icons {
display: flex;
list-style: none;
margin-bottom: 16px;
}
.footer-icon {
margin: 0 8px;
}
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #bdbdbd;
}
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
.main-banner-desktop { .main-banner-desktop,
.middle-banner-desktop {
display: none; display: none;
} }
} }
@media screen and (min-width: 415px) {
.main-banner-mobile,
.middle-banner-mobile {
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;
}
.page-footer {
padding-bottom: 26px;
text-align: center;
}
}
@media screen and(max-width: 992px) { @media screen and(max-width: 992px) {
.top-infocard { .top-infocard {
flex-direction: column; flex-direction: column;
@ -80,6 +229,42 @@ body {
width: 100%; width: 100%;
max-width: 240px; max-width: 240px;
} }
.bottom-infocard {
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image {
width: 100%;
margin: 0 0 50px;
max-width: 596px;
}
.bottom-infocard-text {
padding: 0 26px;
}
.bottom-infocard-tittle {
font-size: 24px;
}
.footer-text {
max-width: 280px;
text-align: center;
}
}
@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) { @media screen and (min-width: 993px) and (max-width: 1280px) {
@ -87,10 +272,11 @@ body {
max-width: 520px; max-width: 520px;
margin-right: 70px; margin-right: 70px;
} }
}
@media screen and (min-width: 415px) { .bottom-infocard-image {
.main-banner-mobile { max-width: 480px;
display: none; }
.bottom-infocard-text {
max-width: 400px;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 947 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

View File

@ -11,7 +11,7 @@
<title>M3 Landing Page</title> <title>M3 Landing Page</title>
<link <link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Roboto:wght@100;300;500;700&display=swap" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@100;300;500;700&display=swap"
rel="stylesheet"> rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css"> <link rel="stylesheet" href="./assets/css/style.css">
@ -45,7 +45,121 @@
<img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png" <img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png"
alt="Banner do Infocard do Topo" /> alt="Banner do Infocard do Topo" />
</section> </section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-01.png"
alt="Imagem do Primeiro Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod
enim non dui fringilla
interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-02.png"
alt="Imagem do Segundo Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod
enim non dui fringilla
interdum. </p>
</div>
<div class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-03.png"
alt="Imagem do Terceiro Card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
</section>
<section>
<img class="middle-banner middle-banner-desktop" src="./assets/imagens/middle-banner-desktop.png"
alt="Banner do Meio-Desktop" />
<img class="middle-banner middle-banner-mobile" src="./assets/imagens/middle-banner-mobile.png"
alt="Banner do Meio-Mobile" />
</section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png"
alt="Imagem do Primeiro Card de Baixo">
<p class="bottom-card-description">
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.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-02.png"
alt="Imagem do Segundo Card de Baixo">
<p class="bottom-card-description">
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.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-03.png"
alt="Imagem do Terceiro Card de Baixo">
<p class="bottom-card-description">
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.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-04.png"
alt="Imagem do Quarto Card de Baixo">
<p class="bottom-card-description">
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.
</p>
</div>
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="./assets/imagens/bottom-infocard-image.png"
alt="Banner do Infocard de Baixo" />
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-title">Lorem ipsum dolor sit amet</h2>
<p class="bottom-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus
interdum. In eget tincidunt ipsum.
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur
venenatis felis vitae sagittis venenatis.
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
</p>
</div>
</section>
</main> </main>
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/instagram-icon.png" alt="Icone do Instagram" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/facebook-icon.png" alt="Icone do Facebook" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/youtube-icon.png" alt="Icone do Youtube" />
</a>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico | CNPJ: 000.000.000/0001-00
</p>
</footer>
</body> </body>