Merge pull request 'Cria texto infomativo' (#2) from feature/landingPage into main

Reviewed-on: #2
This commit is contained in:
ThiagoDutraSampaioLeite 2022-10-10 16:42:47 +00:00
commit 2c7ff0767c
3 changed files with 75 additions and 3 deletions

BIN
assets/imgs/img-center.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -16,9 +16,20 @@
<main class="main">
<figure class="main-banner">
<img class="banner-desktop banner-img" src="assets/imgs/banner-desktop.png" alt="banner pc desktop">
<img class="banner-mobile banner-img" src="assets/imgs/banner-mobile.png" alt="banner pc mobile">
<img class="banner-desktop banner-img" src="assets/imgs/banner-desktop.png" alt="banner pc desktop" />
<img class="banner-mobile banner-img" src="assets/imgs/banner-mobile.png" alt="banner pc mobile" />
</figure>
<div class="top-infocard">
<div class="container-infocard-text">
<h2 class="infocard-subtitle">Lorem Ipsum</h2>
<h1 class="infocard-title">dolor sit amet</h1>
<p class="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>
<img class="infocard-img" src="assets/imgs/img-center.png" alt="Banner inforcard" />
</div>
</main>
<body>

View File

@ -7,6 +7,39 @@
display: none;
}
.main .top-infocard {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
padding: 73px 0;
}
.main .container-infocard-text {
margin-bottom: 73px;
max-width: 766px;
}
.main .infocard-subtitle {
font-size: 32px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
}
.main .infocard-title {
margin-bottom: 28px;
font-size: 48px;
font-weight: 500;
text-transform: uppercase;
text-align: center;
}
.main .infocard-description {
font: 16px;
line-height: 24px;
}
@media (max-width: 720px) {
.main-banner .banner-desktop {
display: none;
@ -14,4 +47,32 @@
.main-banner .banner-mobile {
display: block;
}
} ;
}
@media (max-width: 900px) {
.main .top-infocard {
padding: 73px 29px 90px;
}
.main .container-infocard-text {
margin-bottom: 65px;
}
.main .infocard-subtitle {
font-size: 20px;
}
.main .infocard-title {
font-size: 28px;
margin-bottom: 28px;
}
.main .infocard-description {
text-align: center;
}
.main .infocard-img {
max-width: 244px;
width: 100%;
}
}