feature/top-infocard #3

Merged
ednabarboza merged 3 commits from feature/top-infocard into development 2022-10-11 16:51:43 +00:00
3 changed files with 93 additions and 21 deletions
Showing only changes of commit 41085f8f39 - Show all commits

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{
display: flex;
justify-content: center;
@ -16,9 +21,46 @@
}
.main-banner{
display: block;
width: 100%;
}
.top-infocard{
display:inline-block;
align-items: center;
justify-content: center;
}
.top-infocard-text{
margin: 73px 577px;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
}
.top-infocard-image{
margin: 0 803px 179px 802px;
}
/*MEDIAS*/

View File

@ -1,12 +1,24 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Desafio 1 - M3 Academy</title>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Source+Sans+Pro:ital,wght@0,300;0,700;1,400&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="./assets/style/style.css" />
</head>
<body>
<header class="page-header">
<a href="/">
@ -16,10 +28,28 @@
<main>
<section>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Imagem de uma mesa de trabalho com um computador ligado"/>
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Imagem de uma mesa de trabalho com um computador ligado">
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png"
alt="Imagem de uma mesa de trabalho com um computador ligado" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png"
alt="Imagem de uma mesa de trabalho com um computador ligado"/>
</section>
<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>
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png" alt="Imagem de um esquema de três computadores"/>
</figure>
</section>
</main>
</body>
</html>