Compare commits
3 Commits
main
...
joseildols
Author | SHA1 | Date | |
---|---|---|---|
c953e06b25 | |||
d9af2ac7ab | |||
7a77af347d |
9
assets/img/banner_mobile.svg
Normal file
9
assets/img/banner_mobile.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/img/img_banner.png
Normal file
BIN
assets/img/img_banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
9
assets/img/logo_m3.svg
Normal file
9
assets/img/logo_m3.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 37 KiB |
BIN
assets/img/vetor.png
Normal file
BIN
assets/img/vetor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
64
index.html
Normal file
64
index.html
Normal file
@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<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>Landing Page by M3 Academy</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header class="header_logo">
|
||||
<a href="/">
|
||||
<picture>
|
||||
<img class="image_logo" src="./assets/img/logo_m3.svg" alt="M3 Logo">
|
||||
</picture>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
|
||||
<picture>
|
||||
<img class="image_banner1 banner_desktop" src="./assets/img/img_banner.png" alt="Banner principal">
|
||||
</picture>
|
||||
|
||||
<picture>
|
||||
<img class="image_banner2 banner_mobile" src="./assets/img/banner_mobile.svg" alt="banner mobile">
|
||||
</picture>
|
||||
|
||||
|
||||
</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>
|
||||
|
||||
<picture>
|
||||
<img class="infocard_image_dinamico" src="./assets/img/vetor.png" alt="image dinâmica">
|
||||
</picture>
|
||||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
103
style.css
Normal file
103
style.css
Normal file
@ -0,0 +1,103 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.header_logo {
|
||||
background-color: #000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px 0;
|
||||
}
|
||||
|
||||
.image_logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.image_banner1 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top_infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 0 96px;
|
||||
}
|
||||
|
||||
.top_infocard_text {
|
||||
max-width: 768px;
|
||||
margin-right: 124px;
|
||||
}
|
||||
|
||||
.top_infocard_subtitle {
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
|
||||
}
|
||||
|
||||
.top_infocard_title {
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.top_infocard_description {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.banner_desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 414px) {
|
||||
.banner_mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
.top_infocard {
|
||||
flex-direction: column;
|
||||
padding: 84px 26px 158px;
|
||||
}
|
||||
|
||||
.top_infocard_text {
|
||||
margin: 0 0 68px;
|
||||
}
|
||||
|
||||
.top_infocard_subtitle {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.top_infocard_title {
|
||||
font-size: 28px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
}
|
||||
|
||||
.infocard_image_dinamico {
|
||||
max-width: 240px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@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