feat: Adiciona infocard desktop

This commit is contained in:
Filipe Quintanilha Evangelista 2022-10-11 12:33:28 -03:00
parent 268fa8a0cb
commit 21644d6a6f
3 changed files with 76 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -4,6 +4,11 @@
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color:#000000;
}
.page-header{
background: #000000;
display: flex;
@ -20,6 +25,51 @@
display: block;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
gap: 73px;
}
.top-infocard-text{
max-width:40%;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title{
margin-bottom: 28px;
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
}
.top-infocard-subtitle,
.top-infocard-title{
text-align: center;
}
.figure-infocard{
width: 16%;
}
.top-infocard-image{
min-width: 100%;
}
/* BREAKPOINTS */
@ -34,3 +84,4 @@
display: none;
}
}

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -19,10 +19,33 @@
<main>
<div>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop">
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile">
</figure>
</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>
<figure class="figure-infocard">
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Banner Infocard do Topo" />
</figure>
</section>
</main>
</body>