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 203 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -4,6 +4,11 @@
box-sizing: border-box; box-sizing: border-box;
} }
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header{ .page-header{
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -17,8 +22,55 @@
.main-banner{ .main-banner{
width: 100%; width: 100%;
display: block;
} }
.top-infocard{
display:flex;
justify-content: center;
align-items: center;
margin-top: 73px;
}
.top-infocard-text{
width: 100%;
max-width: 766px;
}
.top-infocard-subtitle{
display: flex;
justify-content: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
display: flex;
justify-content: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin-bottom: 24px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
}
.top-infocard-image{
display: flex;
justify-content: center;
margin: 73px 0 178px;
}
/*MEDIAS*/ /*MEDIAS*/
@ -27,11 +79,110 @@
display: none; display: none;
} }
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
margin: 0 28px;
text-align: center;
}
.top-infocard-image{
margin: 65px 0 90px;
}
.top-infocard-img{
width: 239px;
height: 239px;
}
}
@media screen and (min-width: 415px) and (max-width: 899px) {
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
margin: 0 28px;
text-align: center;
}
.top-infocard-image{
margin: 73px 0 90px;
}
}
@media screen and (min-width: 3000px) and (max-width: 4000px) {
.header-logo{
width: 470px;
height: 88px;
}
.main-banner{
display: block;
}
.top-infocard-text{
width: 1915px;
height: 418px;
max-width: 100%;
margin-top: 152px;
}
.top-infocard-subtitle{
font-size: 66px;
line-height: 70px;
}
.top-infocard-title{
font-size: 100px;
line-height: 120px;
}
.top-infocard-description{
font-size: 40px;
line-height: 44px;
margin: 28px;
text-align: center;
}
.top-infocard-image{
margin: 73px 0 90px;
}
.top-infocard-img{
width: 656px;
height: 656px;
margin-top: 152px;
}
} }
@media screen and (min-width: 415px){ @media screen and (min-width: 415px){
.main-banner-mobile{ .main-banner-mobile{
display: none; display: none;
} }
} }

View File

@ -1,25 +1,56 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-BR"> <html lang="pt-BR">
<head>
<meta charset="UTF-8"/> <head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="preconnect" href="https://fonts.googleapis.com" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <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> <title>Desafio 1 - M3 Academy</title>
<link rel="stylesheet" href="./assets/style/style.css"/>
</head> <link
<body> 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"> <header class="page-header">
<a href="/"> <a href="/">
<img class="header-logo" src="./assets/images/Logo-M3Academy 1.svg" alt="Logo da M3 Academy"/> <img class="header-logo" src="./assets/images/Logo-M3Academy 1.svg" alt="Logo da M3 Academy" />
</a> </a>
</header> </header>
<main> <main>
<section> <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-desktop" src="./assets/images/main-banner-desktop.png"
<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"> 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>
<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>
</section>
<figure class="top-infocard-image">
<img class="top-infocard-img" src="./assets/images/top-infocard-image.png" alt="Imagem de um esquema de três computadores"/>
</figure>
</main> </main>
</body> </body>
</html> </html>