From 8ccd0014b2f3f5b44023d2e9e100111af3ce80ad Mon Sep 17 00:00:00 2001 From: Amanda Date: Tue, 11 Oct 2022 19:23:02 -0300 Subject: [PATCH] Adiciona o infocard de baixo desktop e mobile --- index.html | 26 ++++++++++++++++++++ styles/main.css | 63 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 88 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index eb0be1c..0969c67 100644 --- a/index.html +++ b/index.html @@ -175,6 +175,32 @@ + +
+
+
+

Lorem ipsum dolor sit amet

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras + vulputate sapien non libero faucibus interdum. In eget tincidunt + ipsum. Quisque a tellus at lectus blandit tempor. Ut tristique + auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis + venenatis. Donec finibus turpis vitae lectus interdum rutrum vitae + sed augue. +

+
+
+ + +
diff --git a/styles/main.css b/styles/main.css index c7bd3a5..7eb0e3e 100644 --- a/styles/main.css +++ b/styles/main.css @@ -125,7 +125,7 @@ body { display: flex; align-items: center; justify-content: center; - padding: 197px 0 108px; + padding: 197px 0 54px; gap: 16px; } @@ -150,6 +150,35 @@ body { line-height: 24px; } +.bottom-infocards { + display: flex; + flex-direction: column; + align-items: center; + gap: 50px; + padding: 54px 0 116px; +} + +.bottom-infocard-text { + max-width: 28%; + text-align: center; +} + +.bottom-infocard-title { + font-size: 32px; + line-height: 39px; + font-weight: 600; +} + +.bottom-infocard-description { + font-weight: 400; + font-size: 16px; + line-height: 24px; +} + +.bottom-infocard-desktop { + max-width: 70%; +} + @media screen and (min-width: 1025px) { /* Corpo da pagina */ @@ -157,6 +186,10 @@ body { .main-banner-mobile { display: none; } + + .bottom-infocard-mobile { + display: none; + } } @media screen and (max-width: 1024px) { @@ -245,4 +278,32 @@ body { width: 82%; font-size: 14px; } + + .bottom-infocard-desktop { + display: none; + } + + .bottom-infocard-mobile { + width: 100%; + } + + .bottom-infocards { + flex-direction: column-reverse; + } + + .bottom-infocard { + display: flex; + + justify-content: center; + padding: 0 32px 0; + } + + .bottom-infocard-text { + max-width: 85%; + } + + .bottom-infocard-title { + font-size: 24px; + line-height: 29px; + } }