Cria bottom infocards desktop e mobile

This commit is contained in:
Vitor Soares 2022-10-10 08:59:20 -03:00
parent 9f5bad5fe5
commit 6896d8c9f0
10 changed files with 80 additions and 10 deletions

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
* {
margin: 0;
@ -92,7 +92,7 @@ body {
text-align: center;
}
/* Cria cards bottom desktop e mobile*/
/* Cria cards de baixo desktop e mobile*/
.bottom-card-image {
display: block;
margin-bottom: 14px;
@ -128,6 +128,34 @@ body {
font-size: 16px;
}
/*Cria bottom infocards desktop e mobile*/
.bottom-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 142px 0 180px;
}
.bottom-infocard-image {
margin-right: 40px;
}
.bottom-infocard-text {
max-width: 550px;
}
.bottom-infocard-title {
margin-bottom: 18px;
font-weight: 600;
font-size: 32px;
line-height: 1;
}
.bottom-infocard-description {
font-size: 16px;
line-height: 24px;
}
/*MEDIAS QUERIES*/
@media screen and (max-width: 414px) {
.main-banner-desktop,
@ -187,6 +215,25 @@ body {
width: 100%;
max-width: 240px;
}
.bottom-infocard {
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image {
width: 100%;
max-width: 596px;
margin: 0 0 50px;
}
.bottom-infocard-text {
padding: 0 26px;
}
.bottom-infocard-title {
font-size: 24px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
@ -206,4 +253,12 @@ body {
max-width: 520px;
margin-right: 70px;
}
.bottom-infocard-image {
max-width: 480px;
}
.bottom-infocard-text {
max-width: 400px;
}
}

View File

@ -45,7 +45,7 @@
<!--Cria cards topo desktop e mobile-->
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assets/imagens/top-infocard-image1.png" alt="Imagem do Primeiro Card do Topo" />
<img class="top-card-image" src="assets/imagens/top-card-image1.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.
@ -53,7 +53,7 @@
</div>
<div class="top-card">
<img class="top-card-image" src="assets/imagens/top-infocard-image2.png" alt="Imagem do Segundo Card do Topo" />
<img class="top-card-image" src="assets/imagens/top-card-image2.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.
@ -61,7 +61,7 @@
</div>
<div class="top-card">
<img class="top-card-image" src="assets/imagens/top-infocard-image3.png" alt="Imagem do Terceiro Card do Topo" />
<img class="top-card-image" src="assets/imagens/top-card-image3.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.
@ -77,38 +77,53 @@
</figure>
</div>
<!--Cria cards bottom desktop e mobile-->
<!--Cria cards de baixo desktop e mobile-->
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="assets/imagens/bottom-infocard-image1.png" alt="Imagem do Primeiro Card de Baixo" />
<img class="bottom-card-image" src="assets/imagens/bottom-card-image1.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-infocard-image2.png" alt="Imagem do Segundo Card de Baixo" />
<img class="bottom-card-image" src="assets/imagens/bottom-card-image2.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-infocard-image3.png" alt="Imagem do Terceiro Card de Baixo" />
<img class="bottom-card-image" src="assets/imagens/bottom-card-image3.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-infocard-image4.png" alt="Imagem do Quarto Card de Baixo" />
<img class="bottom-card-image" src="assets/imagens/bottom-card-image4.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>
<!--Cria bottom infocard desktop e mobile-->
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="assets/imagens/bottom-infocard-image.png" alt="Banner 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>
</body>
</html>