Merge pull request 'douglasnobrega' (#1) from douglasnobrega into main

Reviewed-on: #1
This commit is contained in:
Douglas Vinicius Nobrega 2022-10-08 17:59:11 +00:00
commit fbb183a585
16 changed files with 396 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

BIN
assets/images/m3-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 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: 949 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

260
assets/styles/style.css Normal file
View File

@ -0,0 +1,260 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
background-color: #000000;
display: flex;
justify-content: center;
padding: 28px 0;
}
.header-logo {
display: block;
}
.main-banner, .middle-banner {
width: 100%;
display: block;
}
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
}
.top-infocard-text {
max-width: 766px;
margin-right: 124px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
}
.top-infocard-title {
margin-bottom: 24px;
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
}
.top-cards {
background-color: #F0F0F0;
display: flex;
justify-content: center;
gap: 40px;
padding: 74px 0;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background-color: #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;
text-align: center;
font-size: 16px;
line-height: 24px;
}
.bottom-cards {
background: linear-gradient(100deg, #00C8FF 0%, #15ACD6 100%);
margin-top: 140px;
}
.bottom-cards-wrapper {
display: grid;
grid-template-columns: repeat(2, max-content);
gap: 20px;
justify-content: center;
position: relative;
top: -60px;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
padding: 36px 32px 66px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 142px 0 180px;
}
.bottom-infocard-image {
display: block;
margin-right: 40px;
}
.bottom-infocard-text {
max-width: 550px;
}
.bottom-infocard-title {
margin-bottom: 18px;
font-weight: 600;
line-height: 1;
font-size: 32px;
}
.bottom-infocard-description {
line-height: 24px;
font-size: 16px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop,
.middle-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile,
.middle-banner-mobile {
display: none;
}
}
@media screen and (max-width: 992px) {
.top-infocard {
flex-direction: column;
padding: 84px 26px 158px;
}
.top-infocard-text {
margin: 0 0 68px;
}
.top-infocard-subtitle {
font-size: 20px;
}
.top-infocard-title {
margin-bottom: 27px;
font-size: 28px;
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
.bottom-infocard {
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image {
width: 100%;
max-width: 596px;
margin: 0 0 50px;
}
.bottom-infocard-text {
padding: 0 26px;
}
.bottom-infocard-title {
font-size: 24px;
}
}
@media screen and (max-width: 768px){
.top-cards {
display: flex;
flex-direction: column;
gap: 17px;
padding: 36px 26px;
}
.bottom-cards {
margin-top: 114px;
padding: 0 26px;
}
.bottom-cards-wrapper {
display: flex;
flex-direction: column;
gap: 16px;
}
.bottom-card-description {
font-size: 14px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (min-width: 769px) and (max-width: 992px) {
.bottom-card-description {
max-width: 280px;
}
}
@media screen and (min-width:993px) and (max-width: 1280px) {
.top-infocard-text {
max-width: 520px;
margin-right: 70px;
}
.bottom-infocard-image {
max-width: 480px;
}
.bottom-infocard-text {
max-width: 200px;
}
}

136
index.html Normal file
View File

@ -0,0 +1,136 @@
<!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>M3 Academy Atividade</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/styles/style.css"/>
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="assets/images/m3-logo.png" alt="Logo M3">
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="assets/images/main-banner-desktop.png" alt="Banner Desktop"/>
<img class="main-banner main-banner-mobile" src="assets/images/main-banner-mobile.png" alt="Banner Mobile"/>
</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 adipisicing elit.
debitis perferendis illo corrupti enim magni natus ipsa
pariatur accusamus voluptatum dolores rerum dolor beatae?
</p>
</div>
<img class="top-infocard-image" src="assets/images/top-infocard-image.png" alt="Banner do infocard do topo"/>
</section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-image-01.png" alt="Imagem do Primeiro Card do Topo"/>
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-image-02.png" alt="Imagem do Primeiro Card do Topo"/>
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-image-03.png" alt="Imagem do Primeiro Card do Topo"/>
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
<section>
<img class="middle-banner middle-banner-desktop" src="assets/images/middle-banner-desktop.png" alt="Banner do Meio Desktop"/>
<img class="middle-banner middle-banner-mobile" src="assets/images/middle-banner-mobile.png" alt="Banner Principal Mobile"/>
</section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img class="bottom-card-image" src="assets/images/bottom-card-image-01.png" alt="Imagem do Primeiro Card de baixo"/>
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim
non dui fringilla interdum. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="assets/images/bottom-card-image-02.png" alt="Imagem do Segundo Card de baixo"/>
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim
non dui fringilla interdum. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="assets/images/bottom-card-image-03.png" alt="Imagem do Terceiro Card de baixo"/>
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim
non dui fringilla interdum. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="bottom-card">
<img class="bottom-card-image" src="assets/images/bottom-card-image-04.png" alt="Imagem do Quarto Card de baixo"/>
<p class="bottom-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim
non dui fringilla interdum. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</div>
</section>
<section class="bottom-infocard">
<img class="bottom-infocard-image" src="assets/images/bottom-inforcard-image.png" alt="Banner do Infocards de Baixo"/>
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-title">
Lorem ipsum dolor sit amet
</h2>
<p class="bottom-infocard-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
</p>
</div>
</section>
</main>
</body>
</html>