forked from M3-Academy/challenge-landing-page
Merge branch 'feature/main-section' into development
This commit is contained in:
commit
d8bf785b58
44
index.html
44
index.html
@ -1,13 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Desafio M3 Academy</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./src/styles/main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
@ -20,6 +26,44 @@
|
||||
<img class="main-banner main-banner-desktop" src="./src/assets/img/main-banner-desktop.png" alt="Banner Principal Desktop"/>
|
||||
<img class="main-banner main-banner-mobile" src="./src/assets/img/main-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||
</div>
|
||||
|
||||
<section class="top-section">
|
||||
<div class="top-section-text">
|
||||
<h2 class="top-section-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="top-section-title">dolor sit amet</h1>
|
||||
|
||||
<p class="top-section-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<img class="top-section-image" src="./src/assets/img/top-section-image.png" alt="Imagem Central da Seção Principal" />
|
||||
|
||||
<div class="top-section-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-image top-card-image-01" src="./src/assets/img/top-card-image-01.png" alt="Imagem do Primeiro Card da Seção Principal"/>
|
||||
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./src/assets/img/top-card-image-02.png" alt="Imagem do Segundo Card da Seção Principal"/>
|
||||
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./src/assets/img/top-card-image-03.png" alt="Imagem do Terceiro Card da Seção Principal"/>
|
||||
|
||||
<p class="top-card-description">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
BIN
src/assets/img/top-card-image-01.png
Normal file
BIN
src/assets/img/top-card-image-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 943 B |
BIN
src/assets/img/top-card-image-02.png
Normal file
BIN
src/assets/img/top-card-image-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
src/assets/img/top-card-image-03.png
Normal file
BIN
src/assets/img/top-card-image-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
src/assets/img/top-section-image.png
Normal file
BIN
src/assets/img/top-section-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
@ -5,6 +5,12 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* ----- VARIÁVEIS PADRÃO ----- */
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/* ----- HEADER ----- */
|
||||
.page-header {
|
||||
display: flex;
|
||||
@ -23,11 +29,85 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ----- TOP SECTION ----- */
|
||||
.top-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 74px 0 80px;
|
||||
}
|
||||
|
||||
.top-section-text {
|
||||
margin-bottom: 74px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-section-subtitle {
|
||||
text-transform: uppercase;
|
||||
/* line-height: 38px; */
|
||||
font-size: 32px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.top-section-title {
|
||||
margin-bottom: 28px;
|
||||
text-transform: uppercase;
|
||||
/* line-height: 58px; */
|
||||
font-size: 48px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.top-section-description {
|
||||
max-width: 54%;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.top-section-image {
|
||||
max-width: 17%;
|
||||
margin-bottom: 180px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-section-cards {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.top-card {
|
||||
max-width: 18%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 36px 26px 26px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.top-card-image {
|
||||
/* max-width: 30%; */
|
||||
display: block;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.top-card-image-01 {
|
||||
/* margin-top: 16px; */
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.top-card-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ----- RESPONSIVIDADE ----- */
|
||||
@media screen and (max-width: 768px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (min-width: 2500px) {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) {
|
||||
@ -35,3 +115,53 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-section-text {
|
||||
max-width: 86%;
|
||||
margin-bottom: 64px;
|
||||
}
|
||||
|
||||
.top-section-subtitle {
|
||||
line-height: 24px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.top-section-title {
|
||||
line-height: 34px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.top-section-description {
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.top-section-image {
|
||||
max-width: 58%;
|
||||
margin-bottom: 90px;
|
||||
}
|
||||
|
||||
.top-section-cards {
|
||||
max-width: 84%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.top-card {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
.top-section-text {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user