feat: Adiciona os cards de baixo

This commit is contained in:
Eleonora Otz de Mendonça Soares 2022-10-12 20:36:32 -03:00
parent 5c5e9c17c8
commit c5dafe1e13
2 changed files with 96 additions and 5 deletions

View File

@ -125,6 +125,7 @@ body {
justify-content: center; justify-content: center;
width: 88%; width: 88%;
margin: 0 auto; margin: 0 auto;
margin-bottom: 173px;
} }
.gallery-area-images { .gallery-area-images {
@ -135,6 +136,42 @@ body {
width: 100% width: 100%
} }
/* Cards de Baixo */
.bottom-cards {
display: flex;
background: #FFFFFF;
gap: 16px;
justify-content: center;
align-items: center;
margin: auto auto 80px;
width: 100%;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 51px 32px 65px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.23);
min-height: 287px;
gap: 25px;
height: auto;
}
.bottom-card-image {
display: block;
max-width: 102px;
}
.bottom-card-description {
max-width: 367px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
/*Versão mobile*/ /*Versão mobile*/
@media screen and (max-width: 320px) { @media screen and (max-width: 320px) {
@ -202,9 +239,7 @@ body {
width: 89%; width: 89%;
gap: 23px 14px; gap: 23px 14px;
transform: translateY(32px); transform: translateY(32px);
} margin-bottom: 80px;
.gallery-area-images {
} }
.gallery-area-images-01 { .gallery-area-images-01 {
@ -217,10 +252,28 @@ body {
.gallery-area-images-03 { .gallery-area-images-03 {
grid-column: 1/2 span; grid-column: 1/2 span;
order: 2; order: 2;
}
.bottom-cards {
flex-direction: column;
margin-bottom: 131px;
}
.bottom-card {
width: 88%;
max-height: 332px;
}
.bottom-card-image {
max-width: 102px;
}
.bottom-card-description {
font-size: 14px;
} }
} }
/*Versão telas 4k*/ /*Versão telas 4k*/
@media screen and (min-width: 2500px) { @media screen and (min-width: 2500px) {

View File

@ -73,6 +73,8 @@
</figcaption> </figcaption>
</figure> </figure>
</section> </section>
<!-- Área da galeria-->
<div class="gallery-area"> <div class="gallery-area">
<div class="gallery-wrapper"> <div class="gallery-wrapper">
@ -89,6 +91,42 @@
</figure> </figure>
</div> </div>
</div> </div>
<!-- Cards de Baixo -->
<section class="bottom-cards">
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-01.png" alt="Imagem do card de baixo: " />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-02.png" alt="Imagem do card de baixo: " />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-03.png" alt="Imagem do card de baixo: " />
<figcaption 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.
</figcaption>
</figure>
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/images/bottom-card-image-04.png" alt="Imagem do card de baixo: " />
<figcaption 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.
</figcaption>
</figure>
</section>
</main> </main>
</body> </body>
</html> </html>