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; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
} }
/*Fonte e cores no body*/
body { body {
font-family: "Inter", sans-serif; font-family: "Inter", sans-serif;
color: #000000; color: #000000;
} }
/*Estilização do Cabeçalho*/
.page-header { .page-header {
display: flex; display: flex;
padding: 28px 0; padding: 28px 0;
@ -23,20 +20,20 @@ body {
display: block; display: block;
} }
/*Ajuste da imagem do banner principal*/
.main-banner { .main-banner {
width: 100%; width: 100%;
display: block; display: block;
} }
/*Estilização do Infocard do topo */
.top-infocard { .top-infocard {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 74px 0 180px; padding: 74px 0 180px;
}
.top-inforcard-text {
max-width: 40%; max-width: 40%;
margin: 0 auto 0;
} }
.top-infocard-subtitle { .top-infocard-subtitle {
@ -62,14 +59,11 @@ body {
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
line-height: 24px; line-height: 150%;
margin-bottom: 74px;
text-align: center; text-align: center;
} }
.top-infocard-text {
margin-bottom: 74px;
}
/*Estilização dos cards topo*/
.top-cards { .top-cards {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
@ -99,7 +93,6 @@ body {
text-align: center; text-align: center;
} }
/*Estilização dos banners do meio*/
.middle-banners { .middle-banners {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -130,7 +123,6 @@ body {
width: 100%; width: 100%;
} }
/* Estilização dos cards inferiores*/
.bottom-cards { .bottom-cards {
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
@ -144,7 +136,7 @@ body {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background: #ffffff; 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 { .bottom-card-image {
@ -161,7 +153,6 @@ body {
text-align: center; text-align: center;
} }
/*Estilização do Infocard inferior */
.bottom-infocard { .bottom-infocard {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -191,7 +182,6 @@ body {
width: 100%; width: 100%;
} }
/*Estilização do Rodapé*/
.page-footer { .page-footer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -218,7 +208,6 @@ body {
color: #bdbdbd; color: #bdbdbd;
} }
/* Estilização de telas menores que 1024px*/
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
.main-banner-desktop { .main-banner-desktop {
display: none; display: none;
@ -226,14 +215,13 @@ body {
.bottom-banner-desktop { .bottom-banner-desktop {
display: none; display: none;
} }
.top-infocard { .top-infocard {
padding: 73px 32px 90px; padding: 73px 32px 90px;
margin: 0 auto 0; margin: 0 auto 0;
max-width: 100%;
} }
.top-infocard-text { .top-inforcard-text {
margin-bottom: 65px; margin-bottom: 65px;
max-width: 100%;
} }
.top-infocard-subtitle { .top-infocard-subtitle {
@ -284,7 +272,6 @@ body {
.bottom-card-description { .bottom-card-description {
font-size: 14px; font-size: 14px;
} }
.bottom-infocard { .bottom-infocard {
flex-direction: column-reverse; flex-direction: column-reverse;
margin: 0; margin: 0;
@ -320,88 +307,3 @@ body {
display: none; 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> </head>
<body> <body>
<!--Cabeçalho com a Logo-->
<header class="page-header"> <header class="page-header">
<a href="/"> <a href="/">
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" /> <img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" />
@ -24,7 +24,7 @@
<main> <main>
<!--Banner Principal da Página-->
<section> <section>
<figure> <figure>
<img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png" <img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png"
@ -34,9 +34,8 @@
</figure> </figure>
</section> </section>
<!--Banner do Infocard do Topo-->
<section class="top-infocard"> <section class="top-infocard">
<div class="top-infocard-text"> <div class="top-inforcard-text">
<h2 class="top-infocard-subtitle">Lorem ipsum</h2> <h2 class="top-infocard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title">dolor sit amet</h1> <h1 class="top-infocard-title">dolor sit amet</h1>
<p class="top-infocard-description"> <p class="top-infocard-description">
@ -46,13 +45,12 @@
dui. dui.
</p> </p>
</div> </div>
<figure class="top-infocard-picture"> <figure>
<img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png" <img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png"
alt="Banner do Infocard do Topo"> alt="Banner do Infocard do Topo">
</figure> </figure>
</section> </section>
<!--Card do topo-->
<section class="top-cards"> <section class="top-cards">
<figure class="top-card"> <figure class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-01.png" <img class="top-card-image" src="./assets/imagens/top-card-image-01.png"
@ -85,8 +83,6 @@
</figcaption> </figcaption>
</figure> </figure>
</section> </section>
<!--Banner com 3 imagens-->
<section class="middle-banners"> <section class="middle-banners">
<div class="middle-banners-wrapper"> <div class="middle-banners-wrapper">
<figure class="middle-banner image-01"> <figure class="middle-banner image-01">
@ -103,8 +99,6 @@
</figure> </figure>
</div> </div>
</section> </section>
<!--Cards da parte inferior-->
<section class="bottom-cards"> <section class="bottom-cards">
<figure class="bottom-card"> <figure class="bottom-card">
<img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png" <img class="bottom-card-image" src="./assets/imagens/bottom-card-image-01.png"
@ -152,7 +146,6 @@
</figure> </figure>
</section> </section>
<!--Infocard da parte inferior-->
<section class="bottom-infocard"> <section class="bottom-infocard">
<div class="bottom-infocard-text"> <div class="bottom-infocard-text">
<h2 class="bottom-infocard-subtitle">Lorem ipsum dolor sit amet</h2> <h2 class="bottom-infocard-subtitle">Lorem ipsum dolor sit amet</h2>
@ -171,33 +164,29 @@
alt="Banner do Infocard de Baixo Mobile"> alt="Banner do Infocard de Baixo Mobile">
</figure> </figure>
</section> </section>
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/instagram-icon.png" alt="Icone do Instagram" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/facebook-icon.png" alt="Icone do Facebook" />
</a>
</li>
<li class="footer-icon">
<a href="#" target="_blank">
<img src="./assets/imagens/youtube-icon.png" alt="Icone do Youtube" />
</a>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</main> </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>
</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>
</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>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body> </body>
</html> </html>