Parte de cima completa para mobile, desktop e 4k
This commit is contained in:
parent
89ee7124ac
commit
03145a3f0c
BIN
assets/images/img/topLaptop.png
Normal file
BIN
assets/images/img/topLaptop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/img/topinfopcs.png
Normal file
BIN
assets/images/img/topinfopcs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
9
assets/images/svg/Logo-M3Academy.svg
Normal file
9
assets/images/svg/Logo-M3Academy.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 19 KiB |
123
assets/styles/main.css
Normal file
123
assets/styles/main.css
Normal file
@ -0,0 +1,123 @@
|
||||
*{
|
||||
margin:0;
|
||||
padding:0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body{
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
.header{
|
||||
text-align: center;
|
||||
background: #000000;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
padding:28px;
|
||||
}
|
||||
.header img{
|
||||
|
||||
}
|
||||
.topbanner img{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
.topinfo{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.topinfo-texts{
|
||||
text-align: center;
|
||||
margin-top: 73px;
|
||||
width: 43%;
|
||||
|
||||
}
|
||||
|
||||
.topinfo-subtitle{
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.topinfo-title{
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
text-transform: uppercase;
|
||||
|
||||
}
|
||||
.topinfo-text{
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin-top: 28px;
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
.topinfo-img{
|
||||
margin-top:70px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 1439px){
|
||||
.topinfo-texts{
|
||||
min-width: 86%;
|
||||
}
|
||||
.topinfo-subtitle{
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 24px;
|
||||
|
||||
}
|
||||
|
||||
.topinfo-title{
|
||||
font-weight: 500;
|
||||
font-size: 28px;
|
||||
line-height: 34px;
|
||||
|
||||
}
|
||||
.topinfo-text{
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.figuretopinfo{
|
||||
text-align: center;
|
||||
}
|
||||
.topinfo-img{
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 2500px){
|
||||
.topinfo-subtitle{
|
||||
font-size: 64px;
|
||||
line-height: 78px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.topinfo-title{
|
||||
font-size: 96px;
|
||||
line-height: 116px;
|
||||
|
||||
}
|
||||
.topinfo-text{
|
||||
font-size: 32px;
|
||||
line-height: 48px;
|
||||
margin-top: 28px;
|
||||
|
||||
}
|
||||
.figuretopinfo{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.topinfo-img{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
}
|
37
index.html
Normal file
37
index.html
Normal file
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<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="./assets/styles/main.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
<title>Desafio 1 - M3 Academy</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<figure>
|
||||
<img src="./assets/images/svg/Logo-M3Academy.svg" alt="Logo-M3Academy">
|
||||
</figure>
|
||||
</header>
|
||||
<section class="topbanner">
|
||||
<figure>
|
||||
<img src="./assets/images/img/topLaptop.png" alt="Banner do Topo">
|
||||
</figure>
|
||||
</section>
|
||||
<section class="topinfo">
|
||||
<div class="topinfo-texts">
|
||||
<h2 class="topinfo-subtitle">Lorem ipsum</h2>
|
||||
<h1 class="topinfo-title">dolor sit amet</h1>
|
||||
<p class="topinfo-text">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>
|
||||
<figure class="figuretopinfo">
|
||||
<img src="./assets/images/img/topinfopcs.png" class="topinfo-img" alt="Imagem do topo">
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user