vitorsoares #1

Merged
Vitor_soares merged 8 commits from vitorsoares into main 2022-10-10 13:34:57 +00:00
3 changed files with 86 additions and 2 deletions
Showing only changes of commit c4260ccbb3 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,9 +1,16 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000;
}
/* Cria header desktop e mobile */
.page-header {
display: flex;
@ -16,7 +23,7 @@
display: block;
}
/* Cria banner princial */
/* Adiciona banner princial */
.main-banner {
width: 100%;
}
@ -31,4 +38,67 @@
.main-banner-mobile {
display: none;
}
}
/* Cria top infocard */
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
}
.top-infocard-text {
max-width: 766px;
margin-right: 124px;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
margin-bottom: 24px;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 992px) {
.top-infocard {
flex-direction: column;
padding: 84px 26px 158px;
}
.top-infocard-text {
margin: 0 0 68px;
}
.top-infocard-subtitle {
font-size: 20px;
}
.top-infocard-title {
margin-bottom: 20px;
font-size: 28px;
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
}
@media screen and (min-width: 992px) and (max-width: 1280px) {
.top-infocard-text {
max-width: 520px;
margin-right: 70px;
}
}

View File

@ -20,13 +20,27 @@
</header>
<main>
<!--Cria banner principal-->
<!--Adiciona banner principal-->
<div>
<figure>
<img class="main-banner main-banner-desktop" src="assets/imagens/main-banner-desktop.png" alt="Banner Principal Desktop" />
<img class="main-banner main-banner-mobile" src="assets/imagens/main-banner-mobile.png" alt="Banner Principal Mobile" />
</figure>
</div>
<!--Cria top infocard-->
<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>
<img class="top-infocard-image" src="assets/imagens/top-infocard-image.png" alt="Banner do Infocard do Topo" />
</section>
</main>
</body>
</html>