thaisferreira #1

Merged
Thais_Ferreira merged 11 commits from thaisferreira into main 2022-10-13 20:02:21 +00:00
2 changed files with 72 additions and 8 deletions
Showing only changes of commit e295e3da24 - Show all commits

View File

@ -4,6 +4,10 @@
box-sizing: border-box; box-sizing: border-box;
} }
body{
font-family: 'Inter', sans-serif
}
.page-header{ .page-header{
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -19,6 +23,36 @@
display: none; display: none;
} }
.text-infocard{
display: flex;
flex-direction: column;
padding: 73px 0;
align-items: center;
text-align: center;
}
.text-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.text-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
margin-bottom: 20px;
text-transform: uppercase;
}
.text-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
width: 38%;
}
@media screen and (max-width: 414px){ @media screen and (max-width: 414px){
.banner-principal-desktop{ .banner-principal-desktop{
display: none; display: none;
@ -28,3 +62,16 @@
} }
} }
@media screen and (max-width: 768px){
.text-subtitle{
font-size: 20px;
line-height: 24px;
}
.text-title{
font-size: 28px;
line-height: 34px;
}
.text-description{
width: 100%;
}
}

View File

@ -1,10 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <link rel="preconnect" href="https://fonts.googleapis.com"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/Styles/index.css"> <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="/Styles/index.css"/>
<link href="https: //fonts.googleapis.com/css2? family= Inter:wght@400;500 & display=swap" rel="stylesheet"/>
<title>Desafio M3 Academy</title> <title>Desafio M3 Academy</title>
@ -13,7 +19,7 @@
<header class="page-header"> <header class="page-header">
<a href="/"> <a href="/">
<img src="./Assets/SVG/Logo-M3Academy.svg" alt="Logo M3Academy"> <img src="./Assets/SVG/Logo-M3Academy.svg" alt="Logo M3Academy"/>
</a> </a>
</header> </header>
@ -21,10 +27,21 @@
<main> <main>
<div> <div>
<img class="banner-principal banner-principal-desktop" src="./Assets/Images/Banner-principal-desktop.png" alt="banner principal desktop"> <img class="banner-principal banner-principal-desktop" src="./Assets/Images/Banner-principal-desktop.png" alt="banner principal desktop"/>
<img class="banner-principal banner-principal-mobile" src="./Assets/Images/Banner-principal-mobile.png" alt="Banner principal mobile"> <img class="banner-principal banner-principal-mobile" src="./Assets/Images/Banner-principal-mobile.png" alt="Banner principal mobile"/>
</div> </div>
<section>
<div class="text-infocard">
<h2 class="text-subtitle"> Lorem ipsum </h2>
<h1 class="text-title"> dolor sit amet </h1>
<p class="text-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>
</section>
</main> </main>
</body> </body>
</html> </html>