Upando alterações perdidas top infocard mobile e desktop
This commit is contained in:
parent
89ee7124ac
commit
acc480b371
BIN
assets/images/m3-logo.png
Normal file
BIN
assets/images/m3-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
BIN
assets/images/main-banner-mobile.png
Normal file
BIN
assets/images/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
BIN
assets/images/main-banner.png
Normal file
BIN
assets/images/main-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/top-infocard-image.png
Normal file
BIN
assets/images/top-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
BIN
assets/images/top-infocard-mobile.png
Normal file
BIN
assets/images/top-infocard-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
54
assets/index.html
Normal file
54
assets/index.html
Normal file
@ -0,0 +1,54 @@
|
||||
<!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">
|
||||
<link rel="stylesheet" href="styles/styles.css">
|
||||
<title>Desafio landing page</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="images/m3-logo.png" alt="m3 logo"/>
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<div>
|
||||
<img class="main-banner-desktop" src="images/main-banner.png" alt="Main banner">
|
||||
<img class="main-banner-mobile" src="images/main-banner-mobile.png" alt="Main banner mobile">
|
||||
</div>
|
||||
|
||||
<section class="top-infocard">
|
||||
|
||||
<div class="top-infocard-text">
|
||||
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
|
||||
|
||||
<h1 class="top-infocard-title">Dolor sit amet</h1>
|
||||
|
||||
<p class="top-infocard-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>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class=" infocard-image">
|
||||
<img class="top-infocard-image" src="images/top-infocard-image.png" alt="Banner infocard topo"/>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
141
assets/styles/styles.css
Normal file
141
assets/styles/styles.css
Normal file
@ -0,0 +1,141 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: black;
|
||||
|
||||
}
|
||||
|
||||
.page-header{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: black;
|
||||
padding: 28px 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.header-logo{
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
.main-banner-desktop{
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 0 96px;
|
||||
}
|
||||
|
||||
.infocard-image{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 0 96px;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
max-width: 766px;
|
||||
margin-right: 124px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
text-transform: uppercase;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.top-infocard-description{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
padding: 0px 0px 73px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
|
||||
|
||||
}
|
||||
.main-banner-mobile{
|
||||
width: 100%;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-infocard{
|
||||
padding: 84px 28px 158px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
margin: 0 0 68px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
font-size: 20px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
font-size: 28px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-image{
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user