Bottom Cards adicionados.

This commit is contained in:
Wynther Wynther 2022-10-07 16:49:46 -03:00
parent 08edfea66b
commit c38f9728db
15 changed files with 280 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
img/bottom01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
img/bottom02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
img/bottom03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
img/bottom04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
img/desktop banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
img/mobile banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

BIN
img/row01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
img/row02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
img/row03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
img/top-img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

78
index.html Normal file
View File

@ -0,0 +1,78 @@
<!DOCTYPE html>
<html lang="en">
<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" />
<link rel="stylesheet" href="styles.css" />
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
<title>M3 Academy</title>
</head>
<body>
<header class="header">
<img src="./img/Logo M3 [branco] (4) 1.png" alt="M3 Logo" />
</header>
<section class="banner">
<img
src="./img/desktop banner.png" alt="Banner principal" class="banner-desktop"/>
<img
src="./img/mobile banner.png" alt="Banner principal" class="banner-mobile"/>
</section>
<section class="top-desc">
<div>
<h2>Lorem ipsum</h2>
<h1>Dolor sit amet</h1>
<p>
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>
<img src="./img/top-img.png" alt="Banner topo">
</section>
<section class="cards">
<div>
<img src="./img/row01.png" alt="Primeira imagem do card">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div>
<div>
<img src="./img/row02.png" alt="Segunda imagem do card">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</p>
</div>
<div>
<img src="./img/row03.png" alt="Terceira imagem do card">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.</p>
</div>
</section>
<section class ="middle">
<img class="middle-banner-desktop"src="./img/middle-banner-desktop.png" alt="Banner do meio Desktop">
<img class="middle-banner-mobile" src="./img/middle-banner-mobile.png" alt="Banner do meio Mobile">
</section>
<section class="bottom-cards">
<div class="bottom-cards-wrapper">
<div class="bottom-card">
<img src="./img/bottom01.png" alt="Primeira imagem do card de baixo">
<p>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 src="./img/bottom02.png" alt="Segunda imagem do card de baixo">
<p>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 src="./img/bottom03.png" alt="Terceira imagem do card de baixo">
<p>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 src="./img/bottom04.png" alt="Quarta imagem do card de baixo">
<p>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>
</body>
</html>

202
styles.css Normal file
View File

@ -0,0 +1,202 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: 'Inter', sans-serif;
color: #000000
}
.header {
background-color: #000000;
width: 100%;
text-align: center;
padding: 28px;
}
.banner img,
.middle img{
width: 100%;
}
.middle-banner-desktop{
display: block;
}
.top-desc{
display:flex;
align-items: center;
justify-content: center;
padding-top: 80px;
padding-bottom:96px;
}
.top-desc div{
max-width: 766px;
margin-right: 124px;
}
.top-desc h2{
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
}
.top-desc h1{
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
}
.top-desc p{
margin-top: 24px;
font-size: 16;
}
.cards{
display: grid;
grid-template-columns: repeat(3, max-content);
background:#F0F0F0;
justify-content: center;
padding:74px 0;
gap: 20px;
width: 100%;
}
.cards div{
margin: 0px 20px;
display: flex;
flex-direction: column;
align-items: center;
background: white;
padding: 26px 26px 34px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.cards div img{
display: block;
margin-bottom: 26px;
}
.cards div p{
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-cards{
margin-top: 140px;
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
}
.bottom-cards-wrapper{
position: relative;
display: grid;
grid-template-columns: repeat(2,max-content);
justify-content: center;
gap: 20px;
top: -60px;
}
.bottom-card{
display: flex;
padding: 36px 32px 66px;
flex-direction: column;
align-items: center;
background: white;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card img{
display: block;
margin-bottom: 14px;
}
.bottom-card p{
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
@media screen and (max-width: 414px) {
.banner-desktop,
.middle-banner-desktop{
display:none;
}
}
@media screen and (max-width: 768px){
.cards{
grid-template-columns: 1fr;
padding:36px 26px;
}
.bottom-card p{
font-size: 14px;
}
.bottom-cards{
margin-top: 114px;
padding: 0 26px;
}
.bottom-cards-wrapper{
grid-template-columns: 1fr;
gap:16px;
}
}
@media screen and (max-width: 992px) {
.top-desc{
flex-direction: column;
padding: 84px 26px 158px;
}
.top-desc h2{
font-size: 20px;
}
.top-desc h1{
margin-bottom: 20px;
font-size: 28px;
}
.top-desc p{
margin-bottom:68px;
}
.top-desc img{
width: 100%;
max-width: 240px;
}
}
@media screen and (min-width: 993px) and (max-width: 1280px){
.top-desc p{
max-width: 520px;
margin-right: 70px;
}
}
@media screen and (min-width: 769px) and (max-width: 992px){
.bottom-card p{
max-width: 280px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px){
.cards{
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (min-width: 415px){
.banner-mobile,
.middle-banner-mobile{
display: none;
}
}