Yan_Garriga #1

Merged
Yan_Garriga merged 20 commits from Yan_Garriga into main 2022-10-13 19:29:38 +00:00
2 changed files with 77 additions and 5 deletions
Showing only changes of commit 90d130b524 - Show all commits

View File

@ -4,6 +4,12 @@
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
text-align: center;
}
.page-header {
display: flex;
justify-content: center;
@ -11,6 +17,38 @@
padding: 29px 0;
}
.top-infocard {
display: flex;
justify-content: center;
padding: 73px 0 73px;
}
.top-infocard-text {
max-width: 776px;
line-height: 24px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
line-height: 39px;
}
.top-infocard-title {
margin-bottom: 28px;
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
line-height: 58px;
}
.top-infocard-description {
font-size: 16px;
line-height: 28px;
text-align: justify;
}
.header-logo {
display: block;
}
@ -24,10 +62,38 @@
.main-banner-desktop {
display: none;
}
.top-infocard-text {
max-width: 357px;
margin: auto;
}
.top-infocard-title {
font-size: 28px;
margin-bottom: 12px;
line-height: 34px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
text-align: center;
}
}
@media screen and (min-width: 768px) {
.main-banner-mobile {
display: none;
}
}
@media screen and (min-width: 415px) and (max-width: 767px) {
.main-banner-desktop {
display: none;
}
}

View File

@ -2,11 +2,16 @@
<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>M3 Desafio 1</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles.css/main.css" />
</head>
@ -24,15 +29,16 @@
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal mobile">
</section>
<section>
<div>
<h2>Lorem ipsum</h2>
<h1>Dolor sit amet</h1>
<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>
<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>
</body>
</html>