feat: adicionando estilo padrão as imagense figures

This commit is contained in:
Mateus Antonio Rodrigues Lopes 2022-10-12 18:15:37 -03:00
parent 0d69e352ec
commit c28bc503ce

View File

@ -3,10 +3,20 @@
box-sizing: border-box; box-sizing: border-box;
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
} }
body{ body{
width: 100%; width: 100%;
} }
figure{
display: flex;
justify-content: center;
}
img{
width: 100%;
}
.card{ .card{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -99,11 +109,11 @@ main section.container-cards .card{
} }
main section.container-cards .card img.card-image{ main section.container-cards .card img.card-image{
width: fit-content;
padding-top: 35px; padding-top: 35px;
} }
main section.container-cards .card figcaption.card-description{ main section.container-cards .card figcaption.card-description{
padding: 30px 25px 27px 26px; padding: 30px 25px 27px 26px;
} }
@ -125,18 +135,17 @@ main .container-three-images .three-images-wrapper{
padding: 0 62px; padding: 0 62px;
} }
main .container-three-images .three-images-wrapper img{ /* Segundo container com cards */
width: 566px; main section.container-cards.second{
padding-bottom: 0;
} }
/* Segundo container com cards */
main section.container-cards.second .card{ main section.container-cards.second .card{
width: 432px; width: 432px;
height: fit-content height: fit-content;
} }
main section.container-cards.second .card figcaption.card-description{ main section.container-cards.second .card figcaption.card-description{
padding: 30px 32px 65px 33px; padding: 30px 32px 65px 33px;
} }
@ -154,7 +163,6 @@ main article.container-article .article-text{
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
text-align: center; text-align: center;
padding-bottom: 50px; padding-bottom: 50px;
} }
@ -166,25 +174,16 @@ main article.container-article .article-text h3.article-title{
} }
main article.container-article .article-text p.article-description{ main article.container-article .article-text p.article-description{
margin-top: 35px; padding-top: 35px;
width: 100%; width: 100%;
width: 40%; width: 40%;
} }
main article.container-article figure.article-image{ main article.container-article figure.article-image-mobile{
display: flex;
justify-content: center;
}
main article.container-article figure.article-image img.image-mobile{
display: none; display: none;
} }
main article.container-article figure.article-image img{ /* Footer da pagina */
width: 100%;
}
/* Footer da pagina */
footer{ footer{
display: flex; display: flex;
justify-content: center; justify-content: center;