Merge pull request 'refactor: ajusta alinhamento parágrafo infocard' (#4) from refactor/alinhamento_paragrafo-infocard into development

Reviewed-on: #4
This commit is contained in:
Rafael Sampaio de Oliveira 2022-10-10 10:25:54 +00:00
commit e4577e7e61
2 changed files with 19 additions and 11 deletions

View File

@ -36,30 +36,36 @@ header {
width: 100%;
}
.infocard div {
.infocard-title {
display: flex;
flex-direction: column;
align-items: center;
margin: 74px 0;
width: 80%;
}
.infocard h2 {
text-align: center;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard h1 {
text-align: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-paragraph {
display: flex;
justify-content: center;
width: 100%;
}
.infocard p {
text-align: center;
display: flex;
justify-content: center;
font-size: 16px;
line-height: 24px;
margin-top: 28px;

View File

@ -44,16 +44,18 @@
</figure>
</div>
<section class="infocard">
<div>
<div class="infocard-title">
<h2>Lorem ipsum</h2>
<h1>dolor sit amet</h1>
<div class="infocard-paragraph">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras
euismod enim non dui fringilla interdum. <br />
Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit.
Nulla suscipit magna dui.
Curabitur ut tortor sed lacus egestas vulputate vel sit amet
velit. Nulla suscipit magna dui.
</p>
</div>
</div>
<figure>
<img
src="./assets/images/fxemoji_threenetworkedcomputers.svg"