feat(main-text): cria texto principal

This commit is contained in:
Jessé Simão 2022-10-13 17:36:47 -03:00
parent be68276834
commit 038d559c21
2 changed files with 67 additions and 8 deletions

View File

@ -9,7 +9,10 @@
color: black;
}
/*Cabeçalho*/
/*CABEÇALHO*/
.header {
display: grid;
background-color: black;
@ -18,7 +21,9 @@
height: 101px;
}
/*Banner Principal*/
/*BANNER PRINCIPAL*/
.imagem-banner-principal {
width: 100%;
@ -29,6 +34,44 @@
}
/*TEXTO PRINCIPAL*/
.texto-principal {
display: grid;
width: 100%;
align-items: center;
justify-items: center;
justify-content: center;
padding: 4% 0% 4% 0%;
}
.titulo1 {
font-weight: 400;
font-size: 32px;
line-height: 39px;
}
.titulo2 {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-align: center;
}
.paragrafo-principal {
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 53%;
margin-top: 28px;
text-align: center;
}
/*RESPONSIVIDADE*/
@media (min-width: 2500px) {
.imagem-banner-principal-mobile {
display: none;

View File

@ -15,6 +15,8 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
</head>
<body class="body">
<header class="header">
@ -24,6 +26,7 @@
</header>
<div class="banner-principal">
<img class="imagem-banner-principal" src="Assets/Images/main-banner-desktop.png" alt="banner principal">
@ -31,5 +34,18 @@
</div>
<section class="texto-principal">
<h1 class="titulo1">LOREM IPSUM</h1>
<h2 class="titulo2">DOLOR SIT AMET</h2>
<p class="paragrafo-principal">
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>
</section>
</body>
</html>