patricksouza #1

Merged
PatrickSouzaSilva merged 7 commits from patricksouza into main 2022-10-12 18:32:15 +00:00
6 changed files with 82 additions and 0 deletions
Showing only changes of commit 032cfaf6ca - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 947 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -43,6 +43,28 @@
</section> </section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assents/imagens/top-card-01.png" alt="imagem do primeiro card topo" />
<p class="top-card-description" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div>
<div class="top-card">
<img class="top-card-image" src="assents/imagens/top-card-02.png" alt="imagem do primeiro card topo">
<p class="top-card-description" >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div>
<div class="top-card">
<img class="top-card-image" src="assents/imagens/top-card-03.png" alt="imagem do primeiro card topo">
<p class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div>
</section>
</main> </main>

View File

@ -63,6 +63,47 @@
} }
/*///////////////////AREA DO TOP CARDS PEQUENOS///////////////*/
.top-cards{
background: #F0F0F0;
display: grid;
grid-template-columns: repeat(3 , max-content);
gap: 20px;
justify-content: center;
padding: 74px 0;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
/*///////////////// ABAIXO DE 414PX /////////////////*/ /*///////////////// ABAIXO DE 414PX /////////////////*/
@media screen and (max-width: 414px){ @media screen and (max-width: 414px){
@ -72,6 +113,16 @@
} }
/*///////////////// ACIMA DE 768PX /////////////////*/ /*///////////////// ACIMA DE 768PX /////////////////*/
@media screen and (max-width: 768px) {
.top-cards {
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
/*///////////////// ACIMA DE 992PX /////////////////*/
@media screen and (max-width: 992px){ @media screen and (max-width: 992px){
.top-infocard{ .top-infocard{
flex-direction: column; flex-direction: column;
@ -103,6 +154,7 @@
} }
/*//////////////////MEDIA DE UM TAMANHO ATE O OUTR////////////////*/ /*//////////////////MEDIA DE UM TAMANHO ATE O OUTR////////////////*/
@media screen and (min-width: 993px) and (max-width: 1280px) { @media screen and (min-width: 993px) and (max-width: 1280px) {
.top-infocard-text{ .top-infocard-text{
max-width: 520px; max-width: 520px;
@ -110,7 +162,15 @@
} }
} }
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2 , max-content);
}
}
/*///////////////// ABAIXO DE 415PX /////////////////*/ /*///////////////// ABAIXO DE 415PX /////////////////*/
@media screen and (min-width: 415px ) { @media screen and (min-width: 415px ) {
.main-banner-mobile{ .main-banner-mobile{
display: none; display: none;