feat: Adiciona top-infocard e responsividade

This commit is contained in:
Gabriel Gomes Fernandes 2022-10-13 19:41:51 -03:00
parent 38aed47bb3
commit c9c4556231
2 changed files with 72 additions and 0 deletions

View File

@ -26,3 +26,54 @@ body {
display: block;
width: 100%;
}
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 72px 0 0 0;
}
.top-infocard-text {
max-width: 768px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
text-align: center;
}
.top-infocard-title {
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
margin-bottom: 24px;
text-align: center;
}
.top-infocard-description {
font-size: 16px;
text-align: left;
line-height: 24px;
}
.top-infocard-image {
display: flex;
flex-direction: column;
align-items: center;
padding: 90px 0 180px;
margin: 0 auto;
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}

View File

@ -31,6 +31,27 @@
alt="Banner Principal Mobile"
/>
</div>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title">dolor sit amet</h1>
<p class="top-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras
euismod enim non dui fringilla interdum. Curabitur ut tortor sed
lacus egestas vulputate vel sit amet velit. Nulla suscipit magna
dui.
</p>
<img
src="./assets/images/Banner Infocard Topo.png"
alt="Banner Infocard Topo"
class="top-infocard-image"
/>
</div>
</section>
</main>
</body>
</html>