8181}
8282
8383@keyframes float {
84- 0% , 100% { transform : translateY (0px ) rotate (0deg ); }
85- 50% { transform : translateY (-20px ) rotate (180deg ); }
84+
85+ 0% ,
86+ 100% {
87+ transform : translateY (0px ) rotate (0deg );
88+ }
89+
90+ 50% {
91+ transform : translateY (-20px ) rotate (180deg );
92+ }
8693}
8794
8895.container {
105112}
106113
107114@keyframes bounce {
108- 0% , 20% , 50% , 80% , 100% { transform : translateY (0 ); }
109- 40% { transform : translateY (-10px ); }
110- 60% { transform : translateY (-5px ); }
115+
116+ 0% ,
117+ 20% ,
118+ 50% ,
119+ 80% ,
120+ 100% {
121+ transform : translateY (0 );
122+ }
123+
124+ 40% {
125+ transform : translateY (-10px );
126+ }
127+
128+ 60% {
129+ transform : translateY (-5px );
130+ }
111131}
112132
113133.community-hero-title {
195215}
196216
197217.contribution-sections {
198- display : flex;
199- flex-direction : column;
200- gap : 48px ;
218+ display : grid;
219+ grid-template-columns : repeat (auto-fit, minmax (300px , 1fr ));
220+ gap : 24px ;
221+ /* tighter gap between cards */
201222}
202223
224+
203225/* Contribution Sections */
204226.contribution-section {
205227 background : white;
206- border-radius : 20 px ;
207- padding : 40 px ;
208- box-shadow : 0 8 px 25 px rgba (0 , 0 , 0 , 0.08 );
228+ border-radius : 16 px ;
229+ padding : 24 px ;
230+ box-shadow : 0 4 px 12 px rgba (0 , 0 , 0 , 0.06 );
209231 border : 1px solid rgba (0 , 0 , 0 , 0.05 );
210232 transition : all 0.3s ease;
233+ transition : transform 0.2s ease, box-shadow 0.2s ease;
211234}
212235
213236.contribution-section : hover {
214- transform : translateY (-4 px );
215- box-shadow : 0 12 px 35 px rgba (0 , 0 , 0 , 0.12 );
237+ transform : translateY (-2 px );
238+ box-shadow : 0 6 px 18 px rgba (0 , 0 , 0 , 0.1 );
216239}
217240
218241[data-theme = 'dark' ] .contribution-section {
225248 box-shadow : 0 12px 35px rgba (0 , 0 , 0 , 0.4 );
226249}
227250
251+ .contribution-section .active {
252+ border : 2px solid # 8b5cf6 ;
253+ box-shadow : 0 0 15px rgba (139 , 92 , 246 , 0.4 );
254+ transition : box-shadow 0.3s ease, border 0.3s ease;
255+ }
256+
257+ .contribution-section .selected {
258+ border : 2px solid # 8b5cf6 ;
259+ box-shadow : 0 0 15px rgba (139 , 92 , 246 , 0.4 );
260+ transition : box-shadow 0.3s ease, border 0.3s ease;
261+ transform : translateY (30px )
262+ }
263+
264+
265+
228266/* Table of Contents Sidebar */
229267.table-of-contents {
230268 position : sticky;
318356 color : # a78bfa ;
319357}
320358
359+ .toc-item .active + .toc-item .active {
360+ margin-top : -2px ;
361+ /* overlap borders */
362+ border-top : 1px solid rgba (139 , 92 , 246 , 0.3 );
363+ /* subtle divider */
364+ border-radius : 0 ;
365+ /* flatten middle items */
366+ }
367+
368+ /* First active in a block keeps rounded top */
369+ .toc-item .active : first-child ,
370+ .toc-item .active : not (: first-child ): not (: last-child ) {
371+ border-radius : 8px 8px 0 0 ;
372+ }
373+
374+ /* Last active in a block keeps rounded bottom */
375+ .toc-item .active : last-child ,
376+ .toc-item .active + .toc-item : not (.active ) {
377+ border-radius : 0 0 8px 8px ;
378+ }
379+
321380.toc-item-icon {
322381 font-size : 1rem ;
323382 flex-shrink : 0 ;
331390 display : flex;
332391 align-items : center;
333392 gap : 16px ;
334- margin-bottom : 24 px ;
393+ margin-bottom : 16 px ;
335394}
336395
337396.section-icon {
359418}
360419
361420.section-description {
362- font-size : 1.1rem ;
363421 color : # 64748b ;
364- margin-bottom : 32px ;
422+ font-size : 1rem ;
423+ margin-bottom : 20px ;
365424 line-height : 1.6 ;
366425}
367426
372431.section-items {
373432 list-style : none;
374433 padding : 0 ;
375- margin : 0 0 40 px 0 ;
434+ margin : 0 0 20 px 0 ;
376435}
377436
378437.section-item {
379438 display : flex;
380439 align-items : center;
381440 gap : 16px ;
382- padding : 16 px 0 ;
383- font-size : 1 rem ;
441+ padding : 10 px 0 ;
442+ font-size : 0.95 rem ;
384443 color : # 374151 ;
385444 border-bottom : 1px solid # f1f5f9 ;
386445}
402461
403462.section-links {
404463 background : linear-gradient (135deg , # f8fafc, # f1f5f9 );
405- border-radius : 16 px ;
406- padding : 32 px ;
464+ border-radius : 12 px ;
465+ padding : 20 px ;
407466 border : 1px solid # e2e8f0 ;
408467}
409468
431490
432491.links-container {
433492 display : flex;
434- gap : 16 px ;
493+ gap : 12 px ;
435494 flex-wrap : wrap;
436495}
437496
438497.resource-link {
439498 display : inline-flex;
440499 align-items : center;
441- padding : 12 px 24 px ;
500+ padding : 8 px 16 px ;
442501 background : white;
443502 color : var (--link-color , # 8b5cf6 );
444503 text-decoration : none;
445- border-radius : 12 px ;
504+ border-radius : 8 px ;
446505 font-weight : 600 ;
447506 border : 2px solid var (--link-color , # 8b5cf6 );
448507 transition : all 0.3s ease;
449508 box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.1 );
509+ font-size : 0.9rem ;
450510}
451511
452512[data-theme = 'dark' ] .resource-link {
468528
469529/* Thank You Section */
470530.thank-you-section {
471- margin-top : 32px ;
531+ grid-column : 1 / -1 ;
532+ margin-top : 40px ;
472533 display : flex;
473534 justify-content : center;
474535}
492553 left : 0 ;
493554 right : 0 ;
494555 bottom : 0 ;
495- background : linear-gradient (45deg , rgba (255 , 255 , 255 , 0.1 ) 0% , transparent 50% , rgba (255 , 255 , 255 , 0.1 ) 100% );
556+ background : linear-gradient (45deg , rgba (255 , 255 , 255 , 0.1 ) 0% , transparent 50% , rgba (255 , 255 , 255 , 0.1 ) 100% );
496557 pointer-events : none;
497558}
498559
515576 animation-delay : var (--delay , 0s );
516577}
517578
518- .thank-icon : nth-child (1 ) { --delay : 0s ; }
519- .thank-icon : nth-child (2 ) { --delay : 0.3s ; }
520- .thank-icon : nth-child (3 ) { --delay : 0.6s ; }
579+ .thank-icon : nth-child (1 ) {
580+ --delay : 0s ;
581+ }
582+
583+ .thank-icon : nth-child (2 ) {
584+ --delay : 0.3s ;
585+ }
586+
587+ .thank-icon : nth-child (3 ) {
588+ --delay : 0.6s ;
589+ }
521590
522591@keyframes bounce {
523- 0% , 20% , 50% , 80% , 100% { transform : translateY (0 ); }
524- 40% { transform : translateY (-10px ); }
525- 60% { transform : translateY (-5px ); }
592+
593+ 0% ,
594+ 20% ,
595+ 50% ,
596+ 80% ,
597+ 100% {
598+ transform : translateY (0 );
599+ }
600+
601+ 40% {
602+ transform : translateY (-10px );
603+ }
604+
605+ 60% {
606+ transform : translateY (-5px );
607+ }
526608}
527609
528610.thank-you-card h3 {
529611 font-size : 2.5rem ;
530612 font-weight : 800 ;
531613 margin : 0 0 8px 0 ;
532614 color : white;
533- text-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
615+ text-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
534616}
535617
536618.thank-you-subtitle {
704786 gap : 12px ;
705787 }
706788
789+
707790 .section-icon {
708791 width : 40px ;
709792 height : 40px ;
793876 .thank-you-content {
794877 padding : 0 20px 24px ;
795878 }
796- }
879+ }
0 commit comments