Compare commits

..

10 Commits

5 changed files with 164 additions and 72 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

View File

@ -12,10 +12,13 @@ body{
.page-header{ .page-header{
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 28px 0;
background-color: #000; background-color: #000;
} }
.logo-header{
margin: 29px 0;
}
.logo-header, .main-banner-desktop{ .logo-header, .main-banner-desktop{
width: 100%; width: 100%;
display: block; display: block;
@ -174,70 +177,44 @@ body{
margin-bottom: 50px; margin-bottom: 50px;
} }
.final-card-image-desktop{ .final-photo-desktop{
width: 70%; width: 70%;
margin-bottom: 116px; margin-bottom: 116px;
} }
@media screen and (max-width:414px) { footer{
.main-banner-desktop, .final-card-image-desktop { background: #000000;
display: none; color: #BDBDBD;
} display: flex;
flex-direction: column;
.main-banner-mobile, .final-card-image-mobile { align-items: center;
max-width: 100%;
}
.final-card-image-mobile{
margin-bottom: 50px;
}
}
@media screen and (max-width:768px){
.final-card-info{
max-width: 350px;
}
.final-card-text{
font-size: 16px;
line-height: 24px;
}
.final-card-title{
font-size: 24px;
line-height: 29px;
}
.top-card{
grid-template-columns: 1fr;
padding: 35px 33px 35px 33px;
}
.middle-photo{
gap: 13px;
grid-template-columns: repeat(2, 1fr);
padding-left: 23px;
padding-right: 23px;
text-align: center;
justify-content: center; justify-content: center;
} }
.photo{ .footer-text{
margin-top: 32px; font-size: 10px;
line-height: 12px;
text-transform: uppercase;
margin-bottom: 38px;
} }
.photo-desktop{ .footer-logo{
display: none; margin-top: 38px;
margin-bottom: 16px;
} }
.photo-mobile{ a {
display: block; text-decoration: none;
justify-content: center;
margin-top: 100px;
} }
.logo1
{
padding-right: 21px;
}
.logo3
{
padding-left: 21px;
} }
@ -265,6 +242,11 @@ body{
font-size: 20px; font-size: 20px;
line-height: 24px; line-height: 24px;
} }
.second-card{
grid-template-columns: 1fr;
margin: 0 23px;
}
} }
@media screen and (min-width: 993px) and (max-width: 1250px){ @media screen and (min-width: 993px) and (max-width: 1250px){
@ -272,6 +254,75 @@ body{
grid-template-columns: repeat(2, max-content); grid-template-columns: repeat(2, max-content);
margin: 0 23px; margin: 0 23px;
} }
}
@media screen and (max-width:414px) {
.main-banner-desktop, .final-photo-desktop{
display: none;
}
.main-banner-mobile, .final-photo-mobile{
display: block;
max-width: 100%;
}
.final-photo-mobile{
margin-bottom: 50px;
}
.footer-text{
font-size: 10px;
line-height: 12px;
max-width: 261px;
text-align: center;
}
}
@media screen and (max-width:768px){
.top-card{
grid-template-columns: 1fr;
padding: 35px 33px 35px 33px;
}
.middle-photo{
gap: 13px;
grid-template-columns: repeat(2, 1fr);
padding-left: 23px;
padding-right: 23px;
text-align: center;
justify-content: center;
}
.photo{
margin-top: 32px;
}
.photo-desktop{
display: none;
}
.middle-photo-mobile{
background-color: #E0E0E0;
display: flex;
align-items: center;
justify-content: center;
}
.photo-mobile{
display: block;
max-width: 80%;
align-items: center;
position: relative;
margin-bottom: -62px;
}
.photo,.photo-desktop{
position: relative;
margin-bottom: 24px;
margin-top: 32px;
max-width: 100%;
width: 100%;
}
} }
@ -283,7 +334,7 @@ body{
} }
@media screen and (min-width:415px){ @media screen and (min-width:415px){
.main-banner-mobile, .final-card-image-mobile { .main-banner-mobile, .final-photo-mobile{
display: none; display: none;
} }
} }
@ -351,4 +402,17 @@ body{
line-height: 87px; line-height: 87px;
} }
.footer-text{
font-size: 30px;
line-height: 36px;
text-transform: uppercase;
margin-bottom: 38px;
max-width: 1200px;
} }
.logo-header{
width: 300%;
}
}

View File

@ -19,12 +19,12 @@
<header class="page-header"> <header class="page-header">
<a href="/"> <a href="/">
<img class="logo-header" src="./assets/img/Logo-M3Academy.png" alt="Logo M3 Academy" /> <img class="logo-header" src="./assets/img/Logo-M3Academy.png" alt="Logo M3 Academy" />
<img class="main-banner-mobile" src="./assets/img/main-banner-mobile.png" alt="Banner Principal"/>
</a> </a>
</header> </header>
<div> <div>
<img class="main-banner-desktop" src="./assets/img/main-banner-desktop.png" alt="Banner Principal"/> <img class="main-banner-desktop" src="./assets/img/main-banner-desktop.png" alt="Banner Principal"/>
<img class="main-banner-mobile" src="./assets/img/main-banner-mobile.png" alt="Banner Principal"/>
</div> </div>
<section class="top-infocard"> <section class="top-infocard">
@ -63,6 +63,7 @@
</div> </div>
</section> </section>
<div class="middle-photo"> <div class="middle-photo">
<img class="photo" src="./assets/img/photo1.png" alt="Primeira foto do meio da página" /> <img class="photo" src="./assets/img/photo1.png" alt="Primeira foto do meio da página" />
@ -71,6 +72,12 @@
<img class="photo-desktop" id="photo3" src="./assets/img/photo3.png" alt="Terceira foto do meio da página" /> <img class="photo-desktop" id="photo3" src="./assets/img/photo3.png" alt="Terceira foto do meio da página" />
</div> </div>
<div class="middle-photo-mobile">
<img class="photo-mobile" src="./assets/img/photo3-mobile.png" alt="Terceira foto do meio da página" />
</div>
<section class="second-card"> <section class="second-card">
<div class="card-2"> <div class="card-2">
@ -112,7 +119,7 @@
<section class="final-card"> <section class="final-card">
<img class="final-card-image-mobile" src="./assets/img/final-photo-mobile.png" alt="Banner final da pagina" /> <img class="final-photo-mobile" src="./assets/img/final-photo-mobile.png" alt="Banner final da pagina" />
<div class="final-card-info"> <div class="final-card-info">
<h1 class="final-card-title" >Lorem ipsum dolor sit amet</h1> <h1 class="final-card-title" >Lorem ipsum dolor sit amet</h1>
@ -125,8 +132,29 @@
</p> </p>
</div> </div>
<img class="final-card-image-desktop" src="./assets/img/final-photo-desktop.png" alt="Banner final da pagina" /> <img class="final-photo-desktop" src="./assets/img/final-photo-desktop.png" alt="Banner final da pagina" />
</section> </section>
<footer>
<div class="footer-logo">
<a href="https://instagram.com" target="_blank">
<img class="logo1" src="./assets/img/footer-insta-logo.png" alt="Logo do Instagram" />
</a>
<a href="https://facebook.com" target="_blank">
<img class="logo2" src="./assets/img/footer-face-logo.png" alt="Logo do Facebook" />
</a>
<a href="https://youtube.com" target="_blank">
<img class="logo3"src="./assets/img/footer-youtube-logo.png" alt="Logo do Youtube" />
</a>
</div>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body> </body>
</html> </html>