feat(header, figure, section 3pc) feitos header, figure, section

This commit is contained in:
Vinicius Gabriel do Amaral Pereira 2022-10-12 15:47:10 -03:00
parent 89ee7124ac
commit e56d7ee744
6 changed files with 167 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

BIN
image/img-3pc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
image/not-descktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
image/not-mobi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

41
index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<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">
<title>primeiro-desafio-M3</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="back-logo">
<img class="img-logo" src="./image/Logo-M3Academy 1.svg" alt="Logo M3Academy">
</header>
<figure class="class-img-descktop">
<img class="not-main not-main-descktop" src="./image/not-descktop.png" alt="Imagem notebook em uma mesa de escritório">
<img class="not-main not-main-mobi" src="./image/not-mobi.png" alt="Imagem notebook em uma mesa de escritório">
</figure>
<section class="section-3pc">
<div class="div-3pc">
<h2 class="h2-3pc">Lorem ipsum</h2>
<h1 class="h1-3pc">dolor sit amet</h1>
<p class="p-3pc">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>
<figure class="figure-3pc">
<img class="img-3pc" src="./image/img-3pc.png" alt="Imagem três compudadores ligados">
</figure>
</section>
</body>
</html>

117
style.css Normal file
View File

@ -0,0 +1,117 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
}
body html{
box-sizing: border-box;
width: 100%;
}
/*HEADER*/
.back-logo{
background-color: #000000;
display: flex;
justify-content: center;
padding: 29px 0;
width: 100%;
}
.img-logo{
display: block;
width: 12%;
}
/*FINAL HEADER*/
/*IMG PRINCIPAL*/
.not-main{
width: 100%;
display: block;
}
.section-3pc{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 145px;
}
.div-3pc{
display: flex;
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 73px;
}
.h2-3pc{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.h1-3pc{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.p-3pc{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
}
.figure-3pc{
width: 100%;
text-align: center;
}
.img-3pc{
width: 16.5%;
}
/*MEDIA SCREEN*/
@media screen and (max-width: 1024px){
.img-logo{
display: block;
width: 52%;
}
.not-main-descktop{
display: none;
}
/*SECTION 3-PC*/
.section-3pc{
margin-top: 73px;
}
.div-3pc{
width: 86%;
}
.h2-3pc {
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.h1-3pc {
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.p-3pc{
margin-top: 20px;
}
.img-3pc{
width: 58%;
}
/*FIM SECTION 3-PC*/
}
@media screen and (min-width: 1025px){
.not-main-mobi{
display: none;
}
}