Merge pull request 'feature/teste-desktop' (#5) from feature/teste-desktop into main

Reviewed-on: #5
This commit is contained in:
Edna Barboza de Lima 2022-10-13 15:30:05 +00:00
commit 2a64bc295b
12 changed files with 386 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

288
assets/style/style.css Normal file
View File

@ -0,0 +1,288 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header{
display: flex;
justify-content: center;
background: #000000;
padding: 29px 0;
}
.header-logo{
display: block;
}
.main-banner{
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;
}
.top-cards{
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 21px;
justify-content: center;
margin-bottom: 80px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image{
display: block;
margin-bottom: 26px;
}
.top-card-description{
max-width: 300px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.cards-image{
display: grid;
grid-template-columns: repeat(3, max-content);
justify-content: center;
background: #E0E0E0;
gap: 39px;
}
.card-image{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #FFFFFF;
padding: 0px;
margin-top: 62px;
}
.card-img{
display: block;
margin-bottom: 26px;
}
/*MEDIAS*/
@media screen and (max-width:414px) {
.main-banner-desktop{
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;
}
.top-cards{
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@media screen and (min-width: 415px) and (max-width: 1199px) {
.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;
}
.top-cards{
grid-template-columns: 1fr;
padding: 36px 26px;
}
}
@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 178px;
}
.top-infocard-img{
width: 656px;
height: 656px;
}
.top-card{
width: 730px;
height: 598px;
}
.top-cards{
gap: 44px;
}
.img1{
display: block;
margin-bottom: 27px;
width: 214.58px;
height: 214.58px;
margin: 47px 0 38px 0;
}
.img2{
display: block;
margin-bottom: 27px;
width: 212.5px;
height: 214.58.8px;
margin: 35px 0 27px 0;
}
.top-card-description{
max-width: 625px;
font-size: 34px;
line-height: 50px;
text-align: center;
}
}
@media screen and (min-width: 415px){
.main-banner-mobile{
display: none;
}
}

89
index.html Normal file
View File

@ -0,0 +1,89 @@
<!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="/">
<img class="header-logo" src="./assets/images/Logo-M3Academy 1.svg" alt="Logo da M3 Academy" />
</a>
</header>
<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"/>
</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>
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image img1" src="./assets/images/top-card-image-01.png" alt="Card com desenho de uma loja física"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
<figure class="top-card">
<img class="top-card-image img2" src="./assets/images/top-card-image-02.png" alt="Card com desenho de uma bolsa de compras"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
<figure class="top-card">
<img class="top-card-image img2" src="./assets/images/top-card-image-03.png" alt="Card com desenho de uma mão segurando uma moeda"/>
<figcaption class="top-card-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</section>
<section class="cards-image">
<figure class="card-image">
<img class="card-img" src="./assets/images/card-image1.png" alt="Imagem de um computador fechando visto de frente"/>
</figure>
<figure class="card-image">
<img class="card-img" src="./assets/images/card-image2.png" alt="Imagem de um computador ligado visto de frente com a tela fechada na metade"/>
</figure>
<figure class="card-image">
<img class="card-img" src="./assets/images/card-image3.png" alt="Imagem de um computador ligado visto de lado"/>
</figure>
</section>
</main>
</body>
</html>