From bf78657674eff8015c385df7200a861b61425698 Mon Sep 17 00:00:00 2001 From: Andrea Matsunaga Date: Tue, 11 Oct 2022 19:07:04 -0300 Subject: [PATCH] feat(home): cria top-cards desktop e mobile --- assets/img/png_jpg/top-card-image-01.png | Bin 0 -> 1272 bytes assets/img/png_jpg/top-card-image-02.png | Bin 0 -> 1846 bytes assets/img/png_jpg/top-card-image-03.png | Bin 0 -> 2786 bytes assets/styles/main.css | 42 +++++++++++++++++++++++ index.html | 21 ++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 assets/img/png_jpg/top-card-image-01.png create mode 100644 assets/img/png_jpg/top-card-image-02.png create mode 100644 assets/img/png_jpg/top-card-image-03.png diff --git a/assets/img/png_jpg/top-card-image-01.png b/assets/img/png_jpg/top-card-image-01.png new file mode 100644 index 0000000000000000000000000000000000000000..900604dc791d30f81231441bffd6767000ef0130 GIT binary patch literal 1272 zcmeAS@N?(olHy`uVBq!ia0vp^89 z9OUlAujye)iRcZab#x`{!tMZk#zO#F0sq56$~PwyUErkm{7@9FIcopmVv z-n{DBm%rsD=d%i(STR$I>)XOxz1tO)dU)A>PjH>Y`1zUClMOPqzIl89a@^fh(e`!W z&*n?{t#b_3dvj+_K0onz@Rih~9fGm~+(bQWJ-Wp8lIf#l^2V zPS-cp9I~==m1BK(%wgyH-rlnHEVm*~I?EmId#g9kBG`q$KPTS-yDaSODJ5sM(yqM|sXSw7*#xV5YfP zw{6CLgM(GlOU`&Md6WCt`cT#3x+!Ky)|E~Qk8t~@?{=ofTYKWZc^NsS%cfa(B;LML z)ahtdR@5%hmv#GEeG{MG_Kbv^AM_{aUsAnx{)o}#|CZO5Kh8~>k@$Cw{e302>mSOa zj}-8!-ZD;T`!e_3N+pNPkj@`l!mfPHPSQ~N7qooYWaq-!JqunxDO6&+X&(4P{ix?( zyAz3j^?aUPeSIu_rhEE@r7z^Je&v<^7aDt zzmk|$J~dSKFv~8p9lQEMrTI3@JRj%OdH7kRSDAO`m()kRH4#}dTq#)5oc_?I`+j_4 zu>Ws+NU!p#{N$R;yMw0wt+o5IJm}r0LUB>PYU9w8r++f&Z=QbOw&l-ng8zPO-8{o@ z!FfCVKf${V%RK8pzVTEKxL@wKzVxE@{GX3(Is8JuEv>KH_WE1>S5p(F!Y*SzRwFV{ zpPu@|qxIYCcK qDe@=Yr+S}QpU4R>AWpQO%KqYNRG{sis|zfs7(8A5T-G@yGywprKsJN` literal 0 HcmV?d00001 diff --git a/assets/img/png_jpg/top-card-image-02.png b/assets/img/png_jpg/top-card-image-02.png new file mode 100644 index 0000000000000000000000000000000000000000..906e3ea59b2f542d88b1195448cead336eb19ebd GIT binary patch literal 1846 zcmV-62g&$}P)+}?Qh?QZUNZv6bD(RuG?ZrAhMnR)i*WxiXKlGE4&knR+tC4bxG>{0A~^VO$=g z!ADwIaSLe!jFyLJM~K>j1egRGGj>s2S$&y0NL!Q0%B-P&WpCxyL*;19>Y})19%XsX zHDywY`hKch-B?2J^-(TIB|x#DJ2=Pmpzlung8Tw{DUUFU)`EgO8wKA<Fwy951BQno$LA<$fkPGnfI4pmN7MF*O7Jj6MIx}GM{ zkU;%$Bae?}G6`L`=Hncoi>Ruipe;<^#e_IJc2t#B1CmEL2dI@?XU|u=qyY6H32HFV zsVL*)?9Su-Sff^wUy*+uXIo2CLghPpHOlnROy)x4qj@Dy(!x{(nzsNoO528|EMa=o z@=0sU4`(71Q#5GvTEX3?r7daEH?O`%@D!x}GLV9T-pWn)H#)OzvWx1-7 z^VeU90mdt<36ZiaP>s5-w_qVA#56_SLnoCoDG?TcHpDPBU@?}$Vl0KlSjw`pOrdYn z@Nq@+9c2j3dp;&(RkQ3@l+kVP`)CG5o^uOYY`8wZDCqz*zK`HS_DXw^wWlX6gzD>1 zrl*(@OSu&>&6sJOEth<@gL3FRQ-0&McLoqBRxxO9m{Bk5a}KG#Ju-ly2wQr#snuVxl1Wd^a|J#|(=p<4GK# z`bWD0$L42wVlhReU0B_T8antj?!X`{Mn@`zZgZ;NMJ-8*&*D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{oU58|^v>g`hV8n6i&dn9yYoSz}6c9#?|4w*aaX?_=_O+Eej9 zCe3@M$rDt|$xMAG(@R;6MIMm6Ex)@7qeM4d*X^~$fML)tcF?Xl%ZCI@6-T!y#I=Ay zFPtIQaA7d7j=^w^U@#X%jMYM~@ttB6$^{JOm6vplZ{Kj}O;@SC8@R?W=+|&5(**r5 zw8LQ*$k1!rtQ`r=1y$By@`@O`!BK>QW|rSLMMux;D!9uw7z*ua(-49Bvc0Cs-}mO9 z9PJuF(c%~j%yYXA#Asg|v#&J8Y9rZKf*5WKjgA5t2!_RlbUHtu+K}EG_N(5;xWa*X zDCV*~+Q4Oj3l!~+n5QYm<>N<2mP-Bnrohxz*}ZV-ibVTg_@~RM*W#t`b9k-xG&(sco5|`MhiYI=MhG z7g=C^(T&9jxXlDTK+|e$mtWRZV?vqkqt=DeglIHbmqZ8pvS6<8n7%Z6?h z^c3xFAw$bj_(KYY`X^JY4${89#y#j-JJ7EKv#<#xLRzw95vTyklrGyex_DtR^#3JF zRCip5h2&NxloW0zO!xj}qGr76f?+5k(#sZ#fSU=MDEC5b?6xlBRW@Y|`r%re)6o@| zRXC_!;mSU%=^M&j=2#vKdN($~Ffe#_K(DGP(|J8Z20u@fZGjfkH>6ji zDMJdyR7phJiR;?)Uqm=txHM%chJ(S=gjHE*!St;;tHczbWG*N7?Umg@_d+zmPzbes z)r%&5dtW{rpjj3)U?$*5pBm$nxaGPj!VPK?F`D;(k1{9vK-K85!xsuUJ%$i+_LTE&u=k07*qoM6N<$g1WRxz5oCK literal 0 HcmV?d00001 diff --git a/assets/styles/main.css b/assets/styles/main.css index 050c2ae..f5f23b3 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -56,6 +56,35 @@ body { font-size: 16px; } +.top-cards { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 20px; + justify-content: center; + padding: 74px 0; + background: #F0F0F0; +} + +.top-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 34px 26px 26px; + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); +} + +.top-card-image { + display: block; + margin-bottom: 26px; +} + +.top-card-description { + max-width: 300px; + text-align: center; + line-height: 24px; + font-size: 16px; +} @media screen and (max-width: 414px) { .main-banner-desktop { @@ -63,6 +92,13 @@ body { } } +@media screen and (max-width: 768px) { + .top-cards { + grid-template-columns: 1fr; + padding: 36px 26px; + } +} + @media screen and (max-width: 992px) { .top-infocard { flex-direction: column; @@ -95,6 +131,12 @@ body { } } +@media screen and (min-width: 769px) and (max-width: 1200px) { + .top-cards { + grid-template-columns: repeat(2, max-content); + } +} + @media screen and (min-width: 415px) { .main-banner-mobile { display: none; diff --git a/index.html b/index.html index 69c4622..b012ba9 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,27 @@ Banner do Infocard do Topo + +
+
+ Imagem do Primeiro Card do Topo + +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ Imagem do Segundo Card do Topo + +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ Imagem do Terceiro Card do Topo + +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+