forked from M3-Academy/practice-time-landing-page
Compare commits
3 Commits
main
...
emersonlin
Author | SHA1 | Date | |
---|---|---|---|
d87038f5fe | |||
6d0bba0b63 | |||
1f52599da8 |
47
index.html
Normal file
47
index.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!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>Atividade 1 m3</title>
|
||||
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./materiais/styles/main.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="materiais/imagens/Logo M3 [branco]1.png" alt="Logo M3">
|
||||
</a>
|
||||
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<img class="baner-principal principal-baner-desktop" src="materiais/imagens/banner-principal-desktop.png" alt="baner principal desktop">
|
||||
|
||||
<img class="baner-principal principal-baner-mobile" src="materiais/imagens/banner-principal-mobile.png" alt="baner principal mobile">
|
||||
</section>
|
||||
|
||||
<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>
|
||||
|
||||
<img class="top-infocard-image" src="materiais/imagens/top-infocard-image.png" alt="Banner do infocard do Topo">
|
||||
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
BIN
materiais/imagens/Logo M3 [branco]1.png
Normal file
BIN
materiais/imagens/Logo M3 [branco]1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
materiais/imagens/banner-principal-desktop.png
Normal file
BIN
materiais/imagens/banner-principal-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
materiais/imagens/banner-principal-mobile.png
Normal file
BIN
materiais/imagens/banner-principal-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
BIN
materiais/imagens/top-infocard-image.png
Normal file
BIN
materiais/imagens/top-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
110
materiais/styles/main.css
Normal file
110
materiais/styles/main.css
Normal file
@ -0,0 +1,110 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
|
||||
.page-header{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: #000000;
|
||||
padding: 28px 0px 29px 0px;
|
||||
}
|
||||
|
||||
.header-logo{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.baner-principal{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-infocard{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 0px 96px;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
max-width: 766px;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
font-weight: normal;
|
||||
font-size: 32px;
|
||||
text-transform: uppercase;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
margin-bottom: 24px;
|
||||
text-transform: uppercase;
|
||||
font-size: 48px;
|
||||
font-weight: 500;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-description{
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
margin-right: 124px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.principal-baner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
.top-infocard{
|
||||
flex-direction: column;
|
||||
padding: 84px 26px 158px;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
margin-right: 0px 0px 68px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-subtitle{
|
||||
font-size: 20px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-title{
|
||||
font-size: 28px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-image{
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
padding: 67px 0px 0px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (min-width: 415px){
|
||||
.principal-baner-mobile{
|
||||
display: none;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px ) and ( max-width: 1280px) {
|
||||
|
||||
.top-infocard-text{
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user