Merge pull request 'feature/middle-cards' (#5) from feature/middle-cards into main

Reviewed-on: #5
This commit is contained in:
Victor Cardoso de Souza 2022-10-10 19:16:58 +00:00
commit 55bf7c2fe4
2 changed files with 72 additions and 20 deletions

View File

@ -35,20 +35,26 @@
<img class="main-image-mobile"src="./assests/main-image-mobile.png" alt="Imagem da main Mobile"> <img class="main-image-mobile"src="./assests/main-image-mobile.png" alt="Imagem da main Mobile">
</figure> </figure>
<div class="middle-cards"> <div class="middle-cards">
<figure> <figure class="middle-card">
<img src="./assests/middle-card-01.png" alt="Imagem do primeiro card do meio"> <img class="middle-card-image" src="./assests/middle-card-01.png" alt="Imagem do primeiro card do meio">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p> <p class="middle-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</figure>
<figure class="middle-card">
<img class="middle-card-image" src="./assests/middle-card-02.png" alt="Imagem do segundo card do meio">
<p class="middle-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</figure>
<figure class="middle-card">
<img class="middle-card-image" src="./assests/middle-card-03.png" alt="Imagem do terceiro card do meio">
<p class="middle-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</figure> </figure>
</div> </div>
<figure>
</figure>
</section> </section>
<div>
</div>
</main> </main>
</body> </body>
</html> </html>

View File

@ -24,7 +24,11 @@ body {
.main-banner { .main-banner {
width: 100%; width: 100%;
display: block; display: block;
}
.main-image-desktop {
margin-bottom: 180px;
} }
.middle-information { .middle-information {
@ -60,20 +64,62 @@ body {
margin-bottom: 28px; margin-bottom: 28px;
} }
@media screen and (max-width: 414px) { .middle-cards {
.main-banner-desktop, .main-image-desktop { display: flex;
display: none; justify-content: center;
} gap: 22px;
} }
@media screen and (min-width:415px ) { .middle-card {
display: flex;
flex-direction: column;
align-items: center;
max-width: 18%;
background-color:#FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 26px 28px;
}
.middle-card-image {
display: block;
margin-bottom: 26px;
}
.middle-card-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (min-width: 1025px) {
.main-banner-mobile, .main-image-mobile { .main-banner-mobile, .main-image-mobile {
display: none; display: none;
}
} }
@media screen and (max-width:1024px) { }
/* @media screen and (max-width:1024px) {
.main-banner-desktop, .main-image-desktop {
display: none;
}
.middle-text { .middle-text {
width: 100%; width: 100%;
max-width: 112%; max-width: 112%;
@ -95,4 +141,4 @@ body {
} }
} }
*/