From 75d602a9eaec4636c3ddb2812c2499429838e4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorena=20Camila=20Coelho=20M=C3=A1ximo?= Date: Wed, 12 Oct 2022 18:26:06 -0400 Subject: [PATCH] Adiciona os cards do topo Desktop e mobile --- assets/images/top-cards-image-01.png | Bin 0 -> 1260 bytes assets/images/top-cards-image-02.png | Bin 0 -> 1836 bytes assets/images/top-cards-image-03.png | Bin 0 -> 2751 bytes assets/styles/main.css | 62 ++++++++++++++++++++++++--- index.html | 24 +++++++++++ 5 files changed, 79 insertions(+), 7 deletions(-) create mode 100644 assets/images/top-cards-image-01.png create mode 100644 assets/images/top-cards-image-02.png create mode 100644 assets/images/top-cards-image-03.png diff --git a/assets/images/top-cards-image-01.png b/assets/images/top-cards-image-01.png new file mode 100644 index 0000000000000000000000000000000000000000..304a1a0cfe8b5a65fa188404b4e77407e4643d52 GIT binary patch literal 1260 zcmeAS@N?(olHy`uVBq!ia0vp^89 z9OUlAumgguT&gztQ0G15KTI_=o91&M8)D`zb1tZ1@sd(_8vKTjwA$=P*Z z);=oUxBE}M@%-aa@3;Rd`yX|3@n4k&0VfW{7BI0#xku<}>*kf4nJ3hKXy448zIDl` zotx9og>Bgz{q&4N<9yR%*MoK;yNk>mTf7oC@JFiHC&tA$>s;Hs{A_Xhedn?`o8#ZE z{PBCS{h++z^0jYMH@}yWTl_NQ@XXEi3dgOiGjsnx%4xG%mGJv^-SpQp{?;9iG|v8Q z@9N~J`1!znC4T82=O>;Iz0l?;clp46C%cC}Cl>P5{QcjMbmvb-^Qrp@w#_I0X>7E8 zR@Zc+@bgmJ=$fUfCu%QRNyg1P#cue5*x{VWz`+q!t66SMp;^hQo`*|Ev zrXK2+Ud^k8{_TrBDVQg#7uwA}*O!L?0JG+u*DA@HK`)|Re73U_kV&l2M z=xtU{*^jxs`js6i_%S|VuE55he>q+^>a+aI_)~x2tmVz)zcd7$dv7zpI;~eQdCEmm z=QH<>50}Z;%)RV!_xak|mbYz>U;Gx>eeLI-Lqj9aOXzAf5|Ef=?e!pJe@S&){}H3h|0TEiA9qfgk^Fl_y^#Xj?N8g8 zlPZ`LFDWPVeX*Zw?AWj`SoP6zQ|3sc|1uwgC*=nlomjXdci9BqqNyDRr=Ml{=UEtZ zo;@<>KXLGH+QN>YZTvvI-`rbU%bx;{6=;bEXxnRn-x)JLX!B3H?9Ey0TBe0SYy z_wUMsSt5 literal 0 HcmV?d00001 diff --git a/assets/images/top-cards-image-02.png b/assets/images/top-cards-image-02.png new file mode 100644 index 0000000000000000000000000000000000000000..6a87a3bf99a0deb2279982d9db6a3b8c3d841690 GIT binary patch literal 1836 zcmV+{2h;e8P)0K~#7F?VU|; z+(a11|4t+ErlM5hP()D&Bq}&HTtE?ry4(d$Zoz@%n9cJ?njb(kSt+$M(+8GxPXu>|p)~nKos* zDU&PHTAYZ!OukGfGCh{bi>GP6J8|Ci`0o%uk>^pIhbcfyrk+ee!Sq+b`Jc(OhjDp~ z1{YCb1vR8CjA|njLj|&fdW5JoNPr0uG94qmuzE7J5!EIU=UGSo!rqJXti}1L&*~z* zW>Rx_4@(XeR$2k2wf$7My1s-y>tVVamDZH?FSQ(9O`(EvQ|1@YOWDV$e`ux5vz4+; z%C`%>=yfb1R8VSRkf>=Lux{_}Xyy|s^SV=(-G+WAS*n0QptuyB$WF#OR5@7%-O{XM z2TMc`#iAjB{QX7}7sX@}x@OJA65wL;hi_)&*+cmzri018BP*}k_w8c|PzyQFp074Z zE#!wJsKG!xBae&8ou~1Ajao=<#{8R@tSv?9D9h;O$fGv5Suz(I7sU&?Obt^JC|(29 zDD422vV!WU#|0j;QS*F*;`nizwpd@KNUh+%TTVl0KlSPF}= zlvQP#Lf@iM%9>^w(-4}^T$JOwX4=ijquXAAVo>Bcx1hy_>+_3}o?*uK5nPJ@(q3fk z=?M#=@;a622s2_Ou_C4zGcB{#Dc^aRj@lm;X?NX%>oQ5%?G~uvHYkDOXNY?!cB;S1 zx=f;Ox5$~VqvY#ghH$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alMwNXp;K zv=tQstA)Y+4vCK&^{FG!%}aFuofEA7nv9H$jEsx~^8>OchH&EAYL5T_002ovPDHLk FV1horUR(eG literal 0 HcmV?d00001 diff --git a/assets/styles/main.css b/assets/styles/main.css index d610887..0928aac 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -54,6 +54,38 @@ body { line-height: 24px; } +.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: 26px 26px 34px; + 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; + font-size: 16px; + line-height: 24px; + text-align: center; +} + + @media screen and (max-width: 414px) { .main-banner-desktop { display: none; @@ -84,15 +116,31 @@ body { .top-inforcard-title { margin-bottom: 20px; font-size: 28px; + } + + .top-infocard-image { + width: 100%; + max-width: 240px; + } } -.top-infocard-image { - width: 100%; - max-width: 240px; +@media screen and (min-width: 993px) and (max-width: 1280px) { + .top-infocard-text { + max-width: 520px; + margin-right: 70px; + } } -@media screen and (min-width: 993px) and (max-width: 1280px) { - .top-infocard-text { - max-width: 520px; - margin-right: 70px; +@media screen and (max-width: 768px) { + .top-cards{ + grid-template-columns: 1fr; + padding: 36px 26px; + } + } + +@media screen and (min-width: 769px) and (max-width: 1200px) { + .top-cards{ + grid-template-columns: repeat(2, max-content); + } + } \ No newline at end of file diff --git a/index.html b/index.html index 7ad9f7a..5dcdede 100644 --- a/index.html +++ b/index.html @@ -46,6 +46,30 @@ Banner de 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. +

+
+ +