Ajustes nos tamanhos de tela

This commit is contained in:
Douglas Vinicius Nobrega 2022-10-12 00:18:32 -03:00
parent a8e753e789
commit 8ac9850afd
4 changed files with 59 additions and 32 deletions

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
assets/images/m3-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -19,6 +19,8 @@ body {
}
.page-header-logo {
width: 100%;
height: 43px;
display: block;
}
@ -28,7 +30,9 @@ body {
}
.top-infocard {
padding: 73px 80px;
display: flex;
flex-direction: column;
padding: 73px 0;
}
.top-infocard-text {
@ -62,41 +66,43 @@ body {
margin-top: 20px;
}
.top-infocard-images {
max-width: 315px;
}
.top-infocard-image {
width: 100%;
margin-top: 73px;
}
/**/
.top-cards {
display: flex;
align-items: center;
justify-content: center;
padding: 179px 0 80px;
gap: 21px;
gap: 40px;
padding: 74px 0;
}
.top-card {
.top-card{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #FFFFFF;
padding: 26px 26px 34px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 35px 26px 34px;
max-width: 350px;
}
.top-card-image {
display: block;
margin-bottom: 27px;
margin-bottom: 26px;
}
.top-card-description {
max-width: 300px;
text-align: center;
font-size: 16px;
line-height: 24px;
text-align: center;
margin-top: 27px;
}
.middle-images {
display: flex;
align-items: center;
@ -184,6 +190,11 @@ body {
background: #000000;
}
.bottom-text-image {
width: 100%;
display: block;
}
.footer-icons {
display: flex;
list-style: none;
@ -237,20 +248,11 @@ body {
.middle-images {
display: flex;
flex-direction: column;
gap: 15px;
padding: 0 20px;
}
.middle-image {
}
.middle-image-two {
margin-top: 10px;
}
/*
*/
.bottom-card {
display: flex;
flex-direction: column;
@ -331,7 +333,7 @@ body {
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
@media screen and (min-width: 769px) and (max-width: 992px) {
.top-infocard, .top-cards {
display: flex;
align-items: center;
@ -341,19 +343,42 @@ body {
width: 100%;
}
.bottom-card {
.top-cards {
padding: 0 10px;
gap: 21px;
}
.middle-images {
gap: 39px;
padding: 0 72px;
}
}
@media screen and (min-width:993px) and (max-width: 1280px) {
.top-infocard {
justify-content: center;
display: flex;
align-items: center;
}
}
.bottom-text-image {
width: 100%;
@media screen and (min-width: 1281px) and (max-width: 1440px) {
.top-infocard {
display: flex;
align-items: center;
}
}
@media screen and (min-width: 1441px) and (max-width: 2000px) {
.top-infocard {
display: flex;
align-items: center;
}
}

View File

@ -16,7 +16,7 @@
<header class="page-header">
<div>
<a href="/"><img class="page-header-logo" src="assets/images/Logo-M3Academy 1.png" alt="Logo do topo M3Academy "/></a>
<a href="/"><img class="page-header-logo" src="assets/images/Logo-M3Academy-1.png" alt="Logo do topo M3Academy "/></a>
</div>
</header>
@ -42,12 +42,14 @@
tortor sed lacus egestas vulputate vel sit amet velit. Nulla
suscipit magna dui.
</p>
</div>
<div class="top-infocard-images">
<img class="top-infocard-image top-card-image-desktop" src="assets/images/top-card-image-desktop.png" alt="Card do top"/>
<img class="top-infocard-image top-card-image-mobile" src="assets/images/top-card-image-mobile.png" alt="Card do top"/>
</div>
</section>
<div class="top-cards">
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="assets/images/top-card-image-01.png" alt="Primeiro card do topo"/>
<p class="top-card-description">
@ -68,7 +70,7 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</div>
</section>
<section class="middle-images">
<div class="middle-image">