Feat: Cria body images da pagina

This commit is contained in:
ThiagoDuutra 2022-10-11 09:42:42 -03:00
parent 1617c56d45
commit 2aef77e711
10 changed files with 75 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

View File

@ -53,6 +53,25 @@
dui fringilla interdum.</figcaption>
</figure>
</div>
<div class="middle-cards">
<div class="container-middle-cards">
<figure class="middle-banner">
<img class="middle-card-img middle-card-img-desktop" src="assets/imgs/middle-card1.png"
alt="Primeira imagem principal">
</figure>
<figure class="middle-banner second-img-banner">
<img class="middle-card-img middle-card-img-desktop" src="assets/imgs/middle-card2.png"
alt="Segunda imagem principal">
</figure>
<figure class="middle-banner">
<img class="middle-card-img middle-card-img-desktop" src="assets/imgs/middle-card3.png"
alt="Terceira imagem principal">
</figure>
</div>
</div>
</main>
<body>

View File

@ -2,4 +2,5 @@
--black: #000;
--white: #fff;
--bg-light-gray: #e5e5e5;
--middlebg-gray: #e0e0e0;
}

View File

@ -70,6 +70,38 @@
font-size: 16px;
}
.main .middle-cards {
background: var(--middlebg-gray);
}
.main .container-middle-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 39px;
justify-content: center;
position: relative;
top: 62px;
margin-bottom: 129px;
padding: 0 72px;
}
.main .middle-card-img {
width: 100%;
}
/* --------------------------------------- */
/* Banner-desktop / Banner-mobile*/
@media (max-width: 720px) {
.main-banner .banner-desktop {
display: none;
}
.main-banner .banner-mobile {
display: block;
}
}
/* Top-infocard */
@media (max-width: 900px) {
.main .top-infocard {
@ -101,7 +133,7 @@
}
}
/*Top-cards*/
/* Top-cards */
@media (max-width: 1150px) {
.main .top-cards {
@ -122,13 +154,29 @@
}
}
/* Banner-desktop / Banner-mobile*/
/* Middle card*/
@media (max-width: 720px) {
.main-banner .banner-desktop {
display: none;
@media (max-width: 768px) {
.main .middle-cards {
margin-top: 44px;
}
.main-banner .banner-mobile {
display: block;
.main .container-middle-cards {
grid-template-columns: repeat(2, 1fr);
column-gap: 14px;
margin-bottom: 80px;
top: 32px;
row-gap: 24px;
padding: 0 23px;
}
.main .middle-banner:last-child {
grid-column-end: span 2;
}
}
@media (max-width: 480px) {
.main .second-img-banner {
grid-area: 1/1;
}
}

View File

@ -4,7 +4,3 @@
box-sizing: border-box;
font-family: "Inter", sans-serif;
}
body {
background-color: var(--bg-light-gray);
}