From 558237f92f983a8faff02cf1859cbf2308a67b6e Mon Sep 17 00:00:00 2001 From: HenriqueSSan Date: Sun, 9 Oct 2022 07:29:56 -0300 Subject: [PATCH] feat: create information section and responsive --- assets/css/main.css | 67 +++++++++++++++++++++++++++++++++++++++++++++ index.html | 16 +++++++++++ 2 files changed, 83 insertions(+) diff --git a/assets/css/main.css b/assets/css/main.css index 1c4f2bd..addd017 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -26,11 +26,78 @@ height: auto; } +/*-------------*\ += INFORMATION = +\*-------------*/ +.information { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + gap: 64px; + padding: 74px 1.875rem 90px; +} + +.information-texts { + text-align: center; +} + +.information-subtitle { + font-weight: 400; + line-height: 24px; +} + +.information-title { + font-weight: 500; + line-height: 48px; +} + +.information-description { + line-height: 24px; +} + + +@media screen and (min-width:1025px) { + .information { + padding: 74px 0 157px; + gap: 74px; + } + + .information-texts { + width: 40%; + margin: 0 auto; + text-align: initial; + } + + .information-title, + .information-subtitle { + text-align: center; + } + + .information-title { + font-size: 200%; + margin-bottom: 28px; + } + + .information-subtitle { + line-height: 32px; + } + + .information-image { + width: 16%; + height: auto; + } +} + /*CUBE CSS styles*/ /*-------*\ = UTILS = \*-------*/ +.text-upper { + text-transform: uppercase; +} + .bg-clr-black { background-color: var(--bg-clr-black); } diff --git a/index.html b/index.html index cc3673e..ce1a0ca 100644 --- a/index.html +++ b/index.html @@ -55,6 +55,22 @@ +
+
+

Lorem ipusm

+

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

+
+ trĂªs computadores juntos conectados por setas +