feature/main/middle-banner #5

Merged
SavioCarvalhoMoraes merged 4 commits from feature/main/middle-banner into development 2022-10-12 13:40:38 +00:00
5 changed files with 81 additions and 15 deletions

View File

@ -30,12 +30,10 @@ body {
flex-direction: column;
align-items: center;
padding: 74px 0 180px;
width: 100%;
}
.top-inforcard-text {
max-width: 100%;
margin: 0 30% 0;
max-width: 40%;
}
.top-infocard-subtitle {
@ -70,8 +68,8 @@ body {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
justify-content: center;
margin: 0 22% 4%;
margin: 0 auto 80px;
width: 57%;
}
.top-card {
@ -84,27 +82,57 @@ body {
.top-card-image {
display: block;
margin-top: 10%;
margin-top: 35px;
}
.top-card-description {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 150%;
/* or 150% */
margin: 8%;
line-height: 24px;
margin: 26px;
text-align: center;
}
.middle-banners {
display: flex;
justify-content: center;
background: #e0e0e0;
width: 100%;
margin-bottom: 192px;
}
.image-01 {
grid-area: image01;
}
.image-02 {
grid-area: image02;
}
.image-03 {
grid-area: image03;
}
.middle-banners-wrapper {
display: grid;
grid-template-areas: "image01 image02 image03";
width: 88%;
gap: 40px;
position: relative;
bottom: -62px;
}
.mb-imagens {
width: 100%;
}
@media screen and (max-width: 1023px) {
.main-banner-desktop {
display: none;
}
.top-infocard {
padding-bottom: 90px;
padding: 73px 0 90px;
margin: 0 auto 0;
}
.top-inforcard-text {
margin: 0 7% 0;
margin-bottom: 65px;
max-width: 100%;
}
.top-infocard-subtitle {
@ -114,17 +142,30 @@ body {
.top-infocard-title {
font-size: 28px;
line-height: 34px;
margin-bottom: 66px;
margin-bottom: 14px;
}
.top-infocard-description {
line-height: 24px;
margin-bottom: 66px;
}
.top-cards {
display: flex;
flex-direction: column;
justify-content: center;
gap: 24px;
margin: 0 32px 80px;
margin: 0 auto 80px;
width: 84%;
}
.middle-banners {
margin-bottom: 112px;
}
.middle-banners-wrapper {
grid-template-areas: "image02 image01 " "image03 image03";
bottom: -32px;
row-gap: 24px;
column-gap: 14px;
margin: 0 24px 0;
}
}
@media screen and (min-width: 1024px) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

View File

@ -15,12 +15,16 @@
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" />
</a>
</header>
<main>
<section>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png"
@ -29,8 +33,11 @@
alt="Banner principal mobile">
</figure>
</section>
<section class="top-infocard">
<figcaption class="top-inforcard-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">
@ -39,12 +46,13 @@
magna
dui.
</p>
</figcaption>
</div>
<figure>
<img class="top-infocard-image" src="./assets/imagens/top-infocard-image.png"
alt="Banner do Infocard do Topo">
</figure>
</section>
<section class="top-cards">
<figure class="top-card">
<img class="top-card-image" src="./assets/imagens/top-card-image-01.png"
@ -77,6 +85,23 @@
</figcaption>
</figure>
</section>
<section class="middle-banners">
<div class="middle-banners-wrapper">
<figure class="middle-banner image-01">
<img class="mb-imagens" src="/assets/imagens/middle-banner-image-01.png"
alt="Imagem do Banner do Meio">
</figure>
<figure class="middle-banner image-02">
<img class="mb-imagens" src="/assets/imagens/middle-banner-image-02.png"
alt="Imagem do Banner do Meio">
</figure>
<figure class="middle-banner image-03">
<img class="mb-imagens" src="/assets/imagens/middle-banner-image-03.png"
alt="Imagem do Banner do Meio">
</figure>
</div>
</section>
</main>
</body>