From e7e1892b21a8a966bd643e0d51713123778505e3 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Mon, 10 Oct 2022 07:23:37 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20ajusta=20alinhamento=20par=C3=A1gra?= =?UTF-8?q?fo=20infocard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/styles/styles.css | 14 ++++++++++---- index.html | 16 +++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/assets/styles/styles.css b/assets/styles/styles.css index b1a9d15..055e5bc 100644 --- a/assets/styles/styles.css +++ b/assets/styles/styles.css @@ -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; diff --git a/index.html b/index.html index 33498db..8970509 100644 --- a/index.html +++ b/index.html @@ -44,15 +44,17 @@
-
+

Lorem ipsum

dolor sit amet

-

- 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. -

+
+

+ 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. +

+