Adiciona infocard do topo desktop
This commit is contained in:
parent
29d0d4b897
commit
1d65883f07
BIN
assests/images/top-infocard-image.png
Normal file
BIN
assests/images/top-infocard-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
@ -4,6 +4,11 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@ -22,7 +27,46 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-infocard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-text {
|
||||
text-align: center;
|
||||
margin: 73px 0;
|
||||
max-width: 766px;
|
||||
filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
|
||||
|
||||
}
|
||||
|
||||
.top-infocard-title {
|
||||
font-weight: 500;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
text-transform: uppercase;
|
||||
margin: 14px 0;
|
||||
}
|
||||
|
||||
|
||||
.top-infocard-subtitle {
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
line-height: 39px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.top-infocard-description {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.top-infocard-image {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
|
21
index.html
21
index.html
@ -1,17 +1,24 @@
|
||||
<!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>M3 Academy Landing Page</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./assests/style/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<img class="header-logo" src="./assests/images/logo-m3academy.svg" alt="Logo M3 Academy">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assests/images/logo-m3academy.svg" alt="Logo M3 Academy">
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
@ -19,6 +26,18 @@
|
||||
<img class="main-banner main-banner-desktop" src="./assests/images/main-banner-desktop.png" alt="Banner principal desktop">
|
||||
<img class="main-banner main-banner-mobile" src="./assests/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-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="./assests/images/top-infocard-image.png" alt="Imagem do infocard do topo">
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer></footer>
|
||||
|
Loading…
Reference in New Issue
Block a user