Compare commits

...

1 Commits

Author SHA1 Message Date
8f25fdedb7 feat: Criação dos Infocards no Footer Desktop e Mobile 2022-10-10 14:24:25 -03:00
6 changed files with 80 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -114,10 +114,37 @@ body{
margin-top: 62px;
}
/* .middle-banner-image img {
width: 100%;
} */
.footer-cards {
display: grid;
grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-bottom: 108px;
padding-top: 192px;
}
.footer-card {
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 36px 32px 64px;
}
.footer-card-image {
display: block;
margin-bottom: 16px;
}
.footer-card-description {
max-width: 367px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
/* RESPONSIVIDADE */
@ -146,7 +173,6 @@ body{
}
@media screen and (max-width: 1024px) {
.top-infocard-text {
width: 100%;
@ -170,7 +196,7 @@ body{
}
}
@media screen and (max-width: 2040px) {
@media screen and (max-width: 1919px) {
.middle-banner {
max-height: 398px;
}
@ -179,6 +205,24 @@ body{
width: 420px;
margin-top: 46px;
}
.footer-cards {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (max-width: 968px){
.footer-cards {
grid-template-columns: 1fr;
padding: 80px 24px 16px;
justify-content: center;
}
.footer-card-description {
max-width: 302px;
font-size: 14px;
}
}
@media screen and (max-width: 1530px) {
@ -216,7 +260,7 @@ body{
.banner-grid-3 {
grid-area: banner-grid-3;
margin-top: 24px;
margin-top: 18px;
}
.middle-banner-image {

View File

@ -64,5 +64,35 @@
<div class="banner-grid-2"><img class="middle-banner-image" src="./assets/images/banner-middle-02.png" alt="Banner Segundo Computador"></div>
<div class="banner-grid-3"><img class="middle-banner-image" src="./assets/images/banner-middle-03.png" alt="Banner Terceiro Computador"></div>
</div>
<section class="footer-cards">
<div class="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-01.png" alt="Imagem do Primeiro Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-02.png" alt="Imagem do Segundo Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-03.png" alt="Imagem do Terceiro Card do Rodapé">
<p class="footer-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="footer-card">
<img class="footer-card-image" src="./assets/images/infocard-footer-image-04.png" alt="Imagem do Quarto Card do Rodapé">
<p class="footer-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>
</section>
</body>
</html>