From 0a1bf96111687eee98b345a8d57478c0b3431d56 Mon Sep 17 00:00:00 2001 From: ManuelaLuanaSchumackerTavares Date: Mon, 10 Oct 2022 17:16:20 -0300 Subject: [PATCH] feat(home): Adiciona Primeiro setor de boxes --- assets/styles/styles.css | 40 ++++++++++++++++++++++++++++++++- assets/svgs/box-figure-bag.svg | 12 ++++++++++ assets/svgs/box-figure-coin.svg | 6 +++++ assets/svgs/box-figure-shop.svg | 13 +++++++++++ index.html | 18 +++++++++++++++ 5 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 assets/svgs/box-figure-bag.svg create mode 100644 assets/svgs/box-figure-coin.svg create mode 100644 assets/svgs/box-figure-shop.svg diff --git a/assets/styles/styles.css b/assets/styles/styles.css index 00bb6b5..0b10e21 100644 --- a/assets/styles/styles.css +++ b/assets/styles/styles.css @@ -6,7 +6,8 @@ font-family: 'Inter', sans-serif; color: #000000; } -/*Definindo escopos*/ +/*Definindo estilos gerais*/ +.content, .top-infocard, .page-banner-principal-mobile, .page-logo, @@ -72,6 +73,31 @@ padding: 65px 0 0 0; } +/*Estilo do primeiro setor de boxes*/ +.content{ + display: flex; + align-items: center; + justify-content: center; + gap: 20px; +} + +.box{ + display: flex; + flex-direction: column; + width: 33%; + max-width: 350px; + padding: 27px 26px; + align-items: center; + justify-content: center; + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.box-text{ + margin-top: 27px; + text-align: center; +} + @media screen and (max-width: 1024px){ .page-banner-principal-mobile{ display: block; @@ -103,6 +129,18 @@ .top-infocard-image{ width: 60%; } + + .content{ + display: flex; + flex-direction: column; + padding: 90px 32px; + row-gap: 20px; + } + + .box{ + width: 100%; + } + } @media screen and (min-width: 2500px){ diff --git a/assets/svgs/box-figure-bag.svg b/assets/svgs/box-figure-bag.svg new file mode 100644 index 0000000..d330029 --- /dev/null +++ b/assets/svgs/box-figure-bag.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/svgs/box-figure-coin.svg b/assets/svgs/box-figure-coin.svg new file mode 100644 index 0000000..ea11a3d --- /dev/null +++ b/assets/svgs/box-figure-coin.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/svgs/box-figure-shop.svg b/assets/svgs/box-figure-shop.svg new file mode 100644 index 0000000..be82592 --- /dev/null +++ b/assets/svgs/box-figure-shop.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/index.html b/index.html index c3ffed6..11fa12e 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,24 @@ Computadores do card de cima + + +
+
+
Loja da box um
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
+
+ +
+
Sacola da box dois
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
+
+ +
+
 Moeda da box trĂªs
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
+
+
\ No newline at end of file