From ad7ea46e6693a59619f293d756571c3f63af5c7b Mon Sep 17 00:00:00 2001 From: Thiago Bronisio <86695254+ThiagoBronisio@users.noreply.github.com> Date: Sun, 9 Oct 2022 01:26:37 -0300 Subject: [PATCH] feat(main): adicionei responsividade deskot na primeira section do main --- index.html | 37 +++++++++--------- style.css | 110 ++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 118 insertions(+), 29 deletions(-) diff --git a/index.html b/index.html index 1986cb8..4d05877 100644 --- a/index.html +++ b/index.html @@ -25,32 +25,29 @@
-
-
- -
-
+
+ +
-
-

Lorem IPSUM

+
+

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.

-
-
-
+
+
-
-
+
+ +
Imagem de shopping
@@ -60,7 +57,7 @@
-
+
Imagem de mochila
@@ -70,7 +67,7 @@
-
+
Imagem de dinheiro
@@ -162,8 +159,8 @@

-
-
+
+
Imagem de programação embaçada
diff --git a/style.css b/style.css index 4863d58..55281c3 100644 --- a/style.css +++ b/style.css @@ -4,58 +4,149 @@ font-family: "Inter", sans-serif; } -/* Header */ - - @media screen and (max-width: 2500px) { - .container-header{ + /* Header */ + .container-header { background-color: #000000; } + .logo-m3 { display: flex; padding: 29px 0px; justify-content: center; } + + /* Banner */ .banner { display: flex; width: 100%; + margin-bottom: 76px; } - .img-embacada { + + /*Fisrt section */ + + .info-dolor { + max-width: 40.26%; + margin: 0 auto; + }.info-title { + font-size: 32px; + line-height: 39px; + font-weight: 400px; + text-transform: uppercase; + text-align: center; + }.info-dolor h1 { + font-size: 48px; + line-height: 58px; + font-weight: 500; + text-transform: uppercase; + text-align: center; + }.info-content { + margin: 28px 0px 84px 0px; + text-align: start; + } + + /* Imagem três monitores */ + + .info-monitor{ display: flex; + max-width: 16,35%; + justify-content: center; + margin-bottom: 179px; + } + + /* Card da primeira section */ + + .info-card { + max-width:56,90%; + display: flex; + justify-content: center; + } + .info-shop{ + max-width: 350px; + text-align: center; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + }.info-shop img{ + margin-bottom: 27px; + margin-top: 35px; + }.info-shop figcaption { + line-height: 24px; + max-width: 299px; + margin-bottom: 27px; + } + + .info-bag{ + max-width: 350px; + text-align: center; + margin: 0px 21px; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + }.info-bag img { + margin-bottom: 27px; + margin-top: 35px; + }.info-bag figcaption { + line-height: 24px; + max-width: 299px; + margin-bottom: 27px; + } + + .info-coin{ + max-width: 350px; + text-align: center; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + }.info-coin img { + margin-bottom: 27px; + margin-top: 35px; + }.info-coin figcaption { + line-height: 24px; + max-width: 299px; + margin-bottom: 27px; + } + + .img-embacada { width: 100%; + font-size: 16px; + line-height: 24px; + margin: 0 auto; } } @media screen and (max-width: 1024px) { - .container-header{ + + /* HEADER */ + .container-header { background-color: #000000; } + .logo-m3 { display: flex; padding: 29px 0px; justify-content: center; } + /* BANNER */ + .banner { display: flex; width: 100%; } + .img-embacada { display: flex; width: 100%; } + .img-laptop { display: flex; width: 100%; } - + } @media screen and (min-width: 2501px) { - .container-header{ + .container-header { background-color: #000000; } + .logo-m3 { display: flex; padding: 29px 0px; @@ -66,8 +157,9 @@ display: flex; width: 100%; } + .img-embacada { display: flex; width: 100%; } -} +} \ No newline at end of file