Adiciona infocard do topo desktop

This commit is contained in:
Guilherme Carvalho da Rosa 2022-10-12 21:24:27 -03:00
parent 29d0d4b897
commit 1d65883f07
3 changed files with 64 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -4,6 +4,11 @@
box-sizing: border-box; box-sizing: border-box;
} }
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header { .page-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -22,7 +27,46 @@
display: block; 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) { @media screen and (max-width: 414px) {
.main-banner-desktop{ .main-banner-desktop{

View File

@ -1,17 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>M3 Academy Landing Page</title> <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"> <link rel="stylesheet" href="./assests/style/main.css">
</head> </head>
<body> <body>
<header class="page-header"> <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> </header>
<main> <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-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"> <img class="main-banner main-banner-mobile" src="./assests/images/main-banner-mobile.png" alt="Banner principal mobile">
</section> </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> </main>
<footer></footer> <footer></footer>