Finalizando a parte do meio, só falta ajustar o mobile

This commit is contained in:
Douglas Vinicius Nobrega 2022-10-10 17:36:10 -03:00
parent b72efd71d7
commit acd84e8245
6 changed files with 71 additions and 27 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

@ -63,8 +63,6 @@ body {
} }
.top-infocard-image { .top-infocard-image {
width: 315px;
height: 315px;
margin-top: 73px; margin-top: 73px;
} }
@ -83,7 +81,7 @@ body {
justify-content: center; justify-content: center;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 26px 26px 34px; padding: 35px 26px 34px;
max-width: 350px; max-width: 350px;
} }
@ -111,7 +109,6 @@ body {
.middle-image { .middle-image {
display: flex; display: flex;
position: relative; position: relative;
width: 566px;
bottom: -62px; bottom: -62px;
} }
@ -120,8 +117,32 @@ body {
display: block; display: block;
} }
.bottom-middle { .bottom-card {
padding: 191px 0 0; display: flex;
align-items: center;
justify-content: center;
gap: 16px;
padding: 192px 72px 108px;
}
.bottom-cards {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 35px 26px 34px;
}
.bottom-middle-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-middle-image-cards {
display: block;
} }
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
@ -147,6 +168,7 @@ body {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.top-cards { .top-cards {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -154,27 +176,14 @@ body {
} }
.middle-images { .middle-images {
display: grid; display: flex;
grid-template-columns: repeat(2, 1fr); flex-wrap: wrap;
align-items: center; padding: 32px 23px 0;
justify-content: center;
border: 1px solid black;
width: 414px;
} }
.middle-image { .middle-image {
border: 1px solid black;
width: 177px;
} }
#image-bottom-image-dm {
display: flex;
justify-content: center;
align-items: center;
width: 368px;
}
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
@ -183,7 +192,7 @@ body {
text-align: center; text-align: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
padding: 73px 29px 65px; padding: 73px 28px 65px;
} }
.top-infocard-text { .top-infocard-text {
@ -192,11 +201,17 @@ body {
.top-infocard-subtitle { .top-infocard-subtitle {
font-size: 20px; font-size: 20px;
line-height: 24px;
} }
.top-infocard-title { .top-infocard-title {
font-size: 28px; font-size: 28px;
line-height: 1; line-height: 34px;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
} }
.top-infocard-image { .top-infocard-image {
@ -205,6 +220,7 @@ body {
} }
} }
@media screen and (min-width: 769px) and (max-width: 1200px) { @media screen and (min-width: 769px) and (max-width: 1200px) {
.top-infocard, .top-cards { .top-infocard, .top-cards {
display: flex; display: flex;

View File

@ -81,15 +81,43 @@
<img class="middle-bottom-image image-image-mobile" src="assets/images/middle-image-mobile-02.png" alt="Segunda imagem do meio"/> <img class="middle-bottom-image image-image-mobile" src="assets/images/middle-image-mobile-02.png" alt="Segunda imagem do meio"/>
</div> </div>
<div class="teste1"> <div class="middle-image">
<div class="middle-image"> <div class="middle-image">
<img class="middle-bottom-image image-middle-desktop" src="assets/images/middle-image-desktop-03.png" alt="Terceira imagem do meio"/> <img class="middle-bottom-image image-middle-desktop" src="assets/images/middle-image-desktop-03.png" alt="Terceira imagem do meio"/>
<img class="middle-bottom-image image-image-mobile" id="image-bottom-image-dm" src="assets/images/middle-image-mobile-03.png" alt="Terceira imagem do meio"/> <img class="middle-bottom-image image-image-mobile" src="assets/images/middle-image-mobile-03.png" alt="Terceira imagem do meio"/>
</div> </div>
</div> </div>
</section> </section>
<section class="bottom-middle"></section> <section class="bottom-card">
<div class="bottom-cards">
<img class="bottom-image-cards" src="assets/images/bottom-card-image-01.png" alt="Primeiro card do topo"/>
<p class="bottom-middle-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-cards">
<img class="bottom-middle-image-cards" src="assets/images/bottom-card-image-02.png" alt=""/>
<p class="bottom-middle-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-cards">
<img class="bottom-middle-image-cards" src="assets/images/bottom-card-image-03.png" alt=""/>
<p class="bottom-middle-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-cards">
<img class="bottom-middle-image-cards" src="assets/images/bottom-card-image-04.png" alt=""/>
<p class="bottom-middle-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
</main> </main>