Compare commits

..

5 Commits

Author SHA1 Message Date
carloswinter
9f10f0f314 Responsividade 4k incluida. 2022-10-08 01:27:10 -03:00
caduwinter
2063271a96 Teste de usuario Gitea 2022-10-07 19:12:38 -03:00
Wynther Wynther
aa122c1fd0 Adiciona o Footer 2022-10-07 17:51:31 -03:00
Wynther Wynther
2f2342a405 Adiciona o bottom banner. 2022-10-07 17:33:16 -03:00
Wynther Wynther
c38f9728db Bottom Cards adicionados. 2022-10-07 16:49:46 -03:00
19 changed files with 454 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
img/bottom-banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 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

BIN
img/fblogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

BIN
img/iglogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

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

BIN
img/ytlogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

113
index.html Normal file
View File

@ -0,0 +1,113 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- teste usuario-->
<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:wght@400;500;600&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>
<main>
<section class="banner">
<img
src="./img/desktop banner.png" alt="Banner principal" class="top-banner-desktop"/>
<img
src="./img/mobile banner.png" alt="Banner principal" class="top-banner-mobile"/>
</section>
<section class="top-desc">
<div class="top-texts">
<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>
</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>
</section>
<section class="bottom-banner">
<img class="bottom-banner-image" src="./img/bottom-banner.png" alt="Banner da parte de baixo">
<div class="bottom-banner-text">
<h2>Lorem ipsum dolor sit amet</h2>
<p>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>
<footer class="footer">
<div>
<ul class="footer-icons">
<li>
<a href="#" target="_blank">
<img src="./img/iglogo.png" class="icon" alt="Ícone do Instagram">
</a>
</li>
<li>
<a href="#" target="_blank">
<img src="./img/fblogo.png" class="icon" alt="Ícone do Facebook">
</a>
</li>
<li>
<a href="#" target="_blank">
<img src="./img/ytlogo.png" class="icon" alt="Ícone do Youtube">
</a>
</li>
</ul>
</div>
<p class="footer-desc">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
</html>

341
styles.css Normal file
View File

@ -0,0 +1,341 @@
* {
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: 2vmin;
}
.header img{
width: 8.6vmin;
}
.top-banner-desktop,
.middle-banner-desktop,
.top-banner-mobile,
.middle-banner-mobile{
display: block;
width: 100%;
}
.top-desc{
display: flex;
align-items:center;
justify-content: center;
width: 100%;
margin: 8vh 0;
}
.top-texts{
margin-left:10vmin;
}
.top-texts h2{
font-size: 2.8vmin;
font-weight: 400;
}
.top-texts h1{
font-size: 3vw;
font-weight: 500;
text-transform: uppercase;
}
.top-texts p{
margin-top: 24px;
margin-right: 15.5vmin;
font-weight: 400;
font-size: 1.75vh;
}
.top-desc img{
width: 17vw;
margin-right: 8vw;
}
.cards{
display: grid;
grid-template-columns: repeat(3, max-content);
background:#F0F0F0;
justify-content: center;
padding:7.3vh 0;
gap: 2vmin;
width: 100%;
}
.cards div{
display: flex;
flex-direction: column;
align-items: center;
background: white;
padding: 3.5vmin 3.4vmin 2.7vmin;
width: 18.6vw;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.cards div img{
display: block;
margin-bottom: 26px;
width: 11vh;
height: auto;
}
.cards div p{
text-align: center;
font-size: 1.75vh;
}
.bottom-cards{
margin-top: 13.5vh;
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
padding-bottom: 8vmin;
}
.bottom-cards-wrapper{
position: relative;
display: grid;
grid-template-columns: repeat(2,max-content);
justify-content: center;
gap: 2vmin;
top: -4vmin;
}
.bottom-card{
display: flex;
padding: 4vmin 4vmin 5vmin;
flex-direction: column;
align-items: center;
background: white;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card img{
display: block;
width: 5.3vw;
margin-bottom: 14px;
}
.bottom-card p{
max-width: 20vw;
text-align: center;
font-size: 1.75vh;
}
.bottom-banner{
display:flex;
justify-content: center;
align-items: center;
padding: 14vmin 0 18vmin;
}
.bottom-banner img{
width: 60vmin;
margin-right: 4vmin;
}
.bottom-banner-text{
max-width: 550px;
}
.bottom-banner-text p{
font-size: 16px;
font-size: 1.75vh;
}
.bottom-banner-text h2{
margin-bottom: 18px;
font-size: 2.8vmin;
font: 600;
}
.footer{
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
padding:3.5vmin;
}
.footer-desc{
text-transform: uppercase;
list-style: 12px;
font-size: 1vmin;
color: #bdbdbd;
}
.footer-icons{
display: flex;
list-style: none;
margin-bottom: 1.6vmin;
}
.footer-icons li{
margin: 0 0.8vmin;
}
.footer-icons img{
width: 2.5vh;
}
@media screen and (max-width: 414px) {
.top-banner-desktop,
.middle-banner-desktop{
display:none;
}
}
@media screen and (min-width: 415px){
.top-banner-mobile,
.middle-banner-mobile{
display: none;
}
}
@media screen and (max-width: 768px){
.cards{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.cards div{
margin-top: 15px;
width: 80%;
height: 250px;
}
.cards div p{
margin: 0 2vmin;
}
.bottom-card p{
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-card img{
margin-top:20px;
width: 105px;
}
.bottom-cards{
margin-top: 114px;
padding: 0 26px;
}
.bottom-cards-wrapper{
grid-template-columns: 1fr;
top: -60px;
gap:16px;
}
.footer{
padding-bottom: 26px;
}
.footer-desc{
font-size: 10px;
max-width: 280px;
text-align: center;
}
}
@media screen and (max-width: 992px) {
.top-desc{
flex-direction: column;
}
.top-texts{
margin: 0 5vmin;
}
.top-texts h2{
margin:0;
font-size: 20px;
}
.top-texts h1{
font-size: 28px;
}
.top-texts p{
margin:0;
font-size: 16px;
margin-bottom:76px;
}
.top-desc img{
margin:0;
width: 239px;
}
.bottom-banner{
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-banner-text{
padding: 0 26px;
}
.bottom-banner img{
width: 100%;
max-width: 596px;
margin: 0 0 50px;
}
.bottom-banner-text h2{
font-size: 24px;
}
.footer{
padding-bottom: 26px;
}
.footer-desc{
max-width: 280px;
text-align: center;
}
.footer-icons{
display: flex;
list-style: none;
margin: 38px 00 26px 0;
}
.footer-icons li{
margin: 0 8px;
}
}
@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{
display: grid;
grid-template-columns: repeat(2, max-content);
background:#F0F0F0;
justify-content: center;
padding:74px 0;
gap: 20px;
width: 100%;
}
.cards div img{
display: block;
margin-bottom: 26px;
}
.cards div p{
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-banner img{
max-width: 480px;
}
.bottom-banner-text{
max-width: 400px;
}
.top-texts{
margin-right: 0;
}
}