feat: adiciona top infocard desktop e mobile

This commit is contained in:
Naian Felix dos Santos 2022-10-10 18:13:01 -03:00
parent aa3a356fd3
commit 9c9db58df9
2 changed files with 73 additions and 7 deletions

View File

@ -29,12 +29,69 @@ body {
width: 100%; width: 100%;
} }
@media screen and (max-width: 768px) { .top-infocard{
margin: 73px 0 180px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 0 28px;
}
.top-infocard-text {
display: flex;
align-items: center;
flex-direction: column;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 766px;
padding: 28px 0 74px;
}
@media screen and (max-width: 414px) {
.main-banner {
content: url('../image/main-banner-mobile.png');
}
.header-logo { .header-logo {
padding: 24px 0 33px; padding: 24px 0 33px;
} }
.main-banner { }
content: url('../image/main-banner-mobile.png');
@media screen and (max-width: 768px) {
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
}
.top-infocard-description {
font-size: 16px;
text-align: center;
} }
} }

View File

@ -28,6 +28,15 @@
</div> </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>
</div>
</section>
</main> </main>