forked from M3-Academy/practice-time-landing-page
Compare commits
5 Commits
main
...
feature-la
Author | SHA1 | Date | |
---|---|---|---|
b782ef267b | |||
481a4afaa3 | |||
69d92e879b | |||
376613038b | |||
4dcc4714d8 |
BIN
assets/images/logo-m3.png
Normal file
BIN
assets/images/logo-m3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/images/main-banner-desktop.png
Normal file
BIN
assets/images/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
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: 341 KiB |
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 |
102
assets/styles/main.css
Normal file
102
assets/styles/main.css
Normal file
@ -0,0 +1,102 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px 0;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.top-infocard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/*padding: 80px 0 96px;*/
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
margin-right: 124px;
|
||||
max-width: 766px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle {
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.top-infocard-title {
|
||||
margin-bottom: 24px;
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.top-infocard-desc {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
@media screen and (width < 415px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width >= 415px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (width < 993px) {
|
||||
.top-infocard {
|
||||
padding: 84px 26px 158pc;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
margin: 0 0 68px;
|
||||
}
|
||||
|
||||
.top-infocard-subtitle {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.top-infocard-title {
|
||||
margin-bottom: 20px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.top-infocard-image {
|
||||
max-width: 240px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
}
|
||||
|
56
index.html
Normal file
56
index.html
Normal file
@ -0,0 +1,56 @@
|
||||
<!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="./assets/styles/main.css" />
|
||||
|
||||
<title>M3 Landing-Page</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/images/logo-m3.png" alt="Logo M3" />
|
||||
</a>
|
||||
</header><!-----------------Fin do header--------------------->
|
||||
|
||||
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop" />
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner 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-desc">
|
||||
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="./assets/images/top-infocard-image.png" alt="Banner de infocard do topo" />
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
</main> <!-----------------Fim do main------------->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user