Compare commits

..

No commits in common. "main" and "feature/footer" have entirely different histories.

2 changed files with 34 additions and 143 deletions

View File

@ -1,17 +1,14 @@
/* Tirar as margins e paddings iniciais*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/*Fonte e cores no body*/
body {
font-family: "Inter", sans-serif;
color: #000000;
}
/*Estilização do Cabeçalho*/
.page-header {
display: flex;
padding: 28px 0;
@ -23,20 +20,20 @@ body {
display: block;
}
/*Ajuste da imagem do banner principal*/
.main-banner {
width: 100%;
display: block;
}
/*Estilização do Infocard do topo */
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
padding: 74px 0 180px;
}
.top-inforcard-text {
max-width: 40%;
margin: 0 auto 0;
}
.top-infocard-subtitle {
@ -62,14 +59,11 @@ body {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 24px;
line-height: 150%;
margin-bottom: 74px;
text-align: center;
}
.top-infocard-text {
margin-bottom: 74px;
}
/*Estilização dos cards topo*/
.top-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
@ -99,7 +93,6 @@ body {
text-align: center;
}
/*Estilização dos banners do meio*/
.middle-banners {
display: flex;
justify-content: center;
@ -130,7 +123,6 @@ body {
width: 100%;
}
/* Estilização dos cards inferiores*/
.bottom-cards {
display: grid;
grid-template-columns: repeat(4, 1fr);
@ -144,7 +136,7 @@ body {
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.bottom-card-image {
@ -161,7 +153,6 @@ body {
text-align: center;
}
/*Estilização do Infocard inferior */
.bottom-infocard {
display: flex;
flex-direction: column;
@ -191,7 +182,6 @@ body {
width: 100%;
}
/*Estilização do Rodapé*/
.page-footer {
display: flex;
flex-direction: column;
@ -218,7 +208,6 @@ body {
color: #bdbdbd;
}
/* Estilização de telas menores que 1024px*/
@media screen and (max-width: 1024px) {
.main-banner-desktop {
display: none;
@ -226,14 +215,13 @@ body {
.bottom-banner-desktop {
display: none;
}
.top-infocard {
padding: 73px 32px 90px;
margin: 0 auto 0;
max-width: 100%;
}
.top-infocard-text {
.top-inforcard-text {
margin-bottom: 65px;
max-width: 100%;
}
.top-infocard-subtitle {
@ -284,7 +272,6 @@ body {
.bottom-card-description {
font-size: 14px;
}
.bottom-infocard {
flex-direction: column-reverse;
margin: 0;
@ -320,88 +307,3 @@ body {
display: none;
}
}
/*Estilização para telas maiores que 2500px*/
@media screen and (min-width: 2500px) {
.page-header {
padding: 56px 0;
}
.header-logo {
width: 200%;
}
.top-infocard-text {
margin-bottom: 0;
}
.top-infocard-subtitle {
font-size: 64px;
line-height: 78px;
}
.top-infocard-title {
font-size: 96px;
line-height: 116px;
}
.top-infocard-description {
font-size: 32px;
line-height: 48px;
margin-bottom: 100px;
}
.top-infocard-image {
height: 600px;
margin: 20px 0 84px;
}
.top-card-description {
font-size: 40px;
line-height: 40px;
margin: 50px 30px;
}
.top-card-image {
height: 200px;
margin-top: 100px;
}
.bottom-card-description {
font-size: 33px;
line-height: 52px;
margin: 25px 100px 73px;
}
.bottom-card-image {
height: 200px;
margin-top: 70px;
}
.bottom-banner-desktop {
width: 2500px;
}
.bottom-infocard {
margin-bottom: 210px;
padding: 200px 280px 0px;
}
.bottom-infocard-text {
width: 1174px;
}
.bottom-infocard-subtitle {
font-size: 75px;
margin-bottom: 40px;
line-height: 80px;
}
.bottom-infocard-description {
font-size: 40px;
margin-top: 20px;
line-height: 50px;
}
.page-footer {
padding: 74px 0 74px;
}
.rede-social-imagem {
height: 66px;
margin-bottom: 12px;
}
.footer-text {
font-size: 20px;
}
}

View File

@ -15,7 +15,7 @@
</head>
<body>
<!--Cabeçalho com a Logo-->
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" />
@ -24,7 +24,7 @@
<main>
<!--Banner Principal da Página-->
<section>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png"
@ -34,9 +34,8 @@
</figure>
</section>
<!--Banner do Infocard do Topo-->
<section class="top-infocard">
<div class="top-infocard-text">
<div class="top-inforcard-text">
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title">dolor sit amet</h1>
<p class="top-infocard-description">
@ -46,13 +45,12 @@
dui.
</p>
</div>
<figure class="top-infocard-picture">
<figure>
<img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png"
alt="Banner do Infocard do Topo">
</figure>
</section>
<!--Card do topo-->
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-01.png"
@ -85,8 +83,6 @@
</figcaption>
</figure>
</section>
<!--Banner com 3 imagens-->
<section class="middle-banners">
<div class="middle-banners-wrapper">
<figure class="middle-banner image-01">
@ -103,8 +99,6 @@
</figure>
</div>
</section>
<!--Cards da parte inferior-->
<section class="bottom-cards">
<figure class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png"
@ -152,7 +146,6 @@
</figure>
</section>
<!--Infocard da parte inferior-->
<section class="bottom-infocard">
<div class="bottom-infocard-text">
<h2 class="bottom-infocard-subtitle">Lorem ipsum dolor sit amet</h2>
@ -171,26 +164,21 @@
alt="Banner do Infocard de Baixo Mobile">
</figure>
</section>
</main>
<!--Rodapé com as informações das redes sociais-->
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="https://www.instagram.com/m3.ecommerce/" target="_blank">
<img class="rede-social-imagem" src="./assets/imagens/instagram-icon.png"
alt="Icone do Instagram" />
<a href="#" target="_blank">
<img src="./assets/imagens/instagram-icon.png" alt="Icone do Instagram" />
</a>
</li>
<li class="footer-icon">
<a href="https://www.facebook.com/digitalm3/" target="_blank">
<img class="rede-social-imagem" src="./assets/imagens/facebook-icon.png" alt="Icone do Facebook" />
<a href="#" target="_blank">
<img src="./assets/imagens/facebook-icon.png" alt="Icone do Facebook" />
</a>
</li>
<li class="footer-icon">
<a href="https://www.youtube.com/channel/UCSMoUkouJCf_LUYfFiIK2yw/featured" target="_blank">
<img class="rede-social-imagem" src="./assets/imagens/youtube-icon.png" alt="Icone do Youtube" />
<a href="#" target="_blank">
<img src="./assets/imagens/youtube-icon.png" alt="Icone do Youtube" />
</a>
</li>
</ul>
@ -198,6 +186,7 @@
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</main>
</body>
</html>