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; color: black;
} }
/*Cabeçalho*/
/*CABEÇALHO*/
.header { .header {
display: grid; display: grid;
background-color: black; background-color: black;
@ -18,16 +21,56 @@
height: 101px; height: 101px;
} }
/*Banner Principal*/
.imagem-banner-principal {
width: 100%;
}
.imagem-banner-principal-mobile { /*BANNER PRINCIPAL*/
display: none;
}
.imagem-banner-principal {
width: 100%;
}
.imagem-banner-principal-mobile {
display: none;
}
/*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) { @media (min-width: 2500px) {
.imagem-banner-principal-mobile { .imagem-banner-principal-mobile {

View File

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