fix: resolve conflitos com h1

This commit is contained in:
Jéssica Silva Oliveira dos Santos 2022-10-13 01:40:40 -03:00
commit 17c9f53133
7 changed files with 97 additions and 37 deletions

BIN
assets/imagens/bannerp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,29 +1,60 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-br"> <html lang="pt-br">
<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">
<link rel="stylesheet" href="style.css">
<title>Primeiro desafio M3 academy</title> <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">
<link rel="stylesheet" href="style.css">
<title>Primeiro desafio M3 academy</title>
</head> </head>
<body> <body>
<header class="header-page" > <header class="pagina">
<img class="header-logo" <div>
src="assets/imagens/Logo-M3Academy 1 (2).svg" alt=""> <figure>
</header> <a href="/">
<main> <img class="logo" src="assets/imagens/Logo-M3Academy.svg" alt="Logo-M3Academy">
<section> </a>
<div> </figure>
<figure> </div>
<img class="banner" </header>
src="assets/imagens/banner.png" alt="banner principal"> <main>
</figure>
</div> <div>
</section> <picture>
</main> <source media="(max-width: 1024px )" srcset="assets/imagens/bannerp.png">
<img class="banner" src="assets/imagens/banner.png" alt="Banner principal">
</picture>
</div>
<section>
<div class="BL">
<h2 class="first-sentence">Lorem ipsum</h2>
<h1 class="sentence">Dolor sit amet</h1>
<p class="one-p">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>
<div class="computadores">
<figure>
<img src="assets/imagens/computers.png" alt="computadores">
</figure>
</div>
<div>
<figure>
<img src="assets/imagens/mine-foto-1.png" alt="Primeira miniatura">
</figure>
</div>
</section>
</main>
</body> </body>
</html> </html>

View File

@ -1,21 +1,50 @@
* @import url('https://fonts.googleapis.com/css2? family= Inter:wght@400;500 & display=swap');
{
margin: 0; * {
padding: 0; margin: 0;
box-sizing: border-box; padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
} }
.header-page
{ .pagina {
padding: 29px 0; padding: 29px 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
background-color: #000000; background-color: #000000;
} }
.header-logo
{ .logo {
display: block; display: block;
} }
.banner
.banner {
width: 100%;
}
.BL {
padding: 4% 31%;
text-align: center;
display: block;
}
.first-sentence {
font-weight: 400;
font-size: 32px;
}
.sentence {
font-weight: 500;
font-size: 48px;
}
.one-p {
font-weight: 400;
font-size: 16px;
}
.computadores
{ {
width: 100%; padding: 4% 0;
text-align: center;
} }