11#donate-page {
22 overflow : auto ;
3+ padding : 2rem ;
34
45 .products {
5- display : flex ;
6- justify-content : center ;
7- margin : 0 auto ;
6+ display : grid ;
7+ grid-template-columns : repeat ( auto-fit , minmax ( 280 px , 1 fr )) ;
8+ gap : 1.5 rem ;
89
9- .col {
10+ .support-card {
11+ background : var (--primary-color );
12+ border-radius : 16px ;
13+ padding : 2rem ;
14+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.2 );
15+ transition :
16+ transform 0.2s ,
17+ box-shadow 0.2s ;
1018 display : flex ;
1119 flex-direction : column ;
12- width : 42.5% ;
13- max-width : 450px ;
14- margin : 10px 5% 10px 2.5% ;
15-
16- & :nth-child (2 n +1 ) {
17- margin : 10px 2.5% 10px 5% ;
20+ align-items : center ;
21+ text-align : center ;
22+ & :hover {
23+ transform : translateY (-4px );
24+ box-shadow : 0 8px 12px rgba (0 , 0 , 0 , 0.3 );
1825 }
19- }
20-
21- .product {
22- width : 100% ;
23- margin-bottom : 10% ;
24- border-radius : 4px ;
25- box-shadow : 0 0 10px 0 rgba (0 , 0 , 0 , 0.2 );
26- background-color : rgb (51 , 153 , 255 );
27- background-color : var (--primary-color );
28- overflow : hidden ;
29- height : fit-content ;
30- min-height : 200px ;
31-
32-
33- img {
34- width : 100% ;
35- min-height : 167px ;
36- height : auto ;
26+ .support-icon {
27+ width : 120px ;
28+ height : 120px ;
29+ margin-bottom : 1.5rem ;
30+ img {
31+ width : 100% ;
32+ min-height : 167px ;
33+ height : auto ;
34+ }
35+ svg {
36+ width : 100% ;
37+ height : 100% ;
38+ }
39+ }
40+ .support-info {
41+ font-size : 1.1rem ;
42+ line-height : 1.5 ;
43+ color : color-mix (in oklch , var (--primary-text-color ), black 20% );
44+ margin-bottom : 1.5rem ;
45+ flex-grow : 1 ;
46+ }
47+ .author {
48+ font-size : 0.9rem ;
49+ color : color-mix (in oklch , var (--primary-text-color ), black 40% );
50+ margin-bottom : 1.5rem ;
3751 }
3852
39- .product-info {
40- margin-top : -4px ;
41-
42- p {
43- padding : 10px ;
44- box-sizing : border-box ;
45- font-size : 0.8em ;
46- color : rgb (37 , 37 , 37 );
47- color : var (--secondary-text-color );
53+ .donate-button {
54+ background : var (--button-background-color );
55+ color : var (--button-text-color );
56+ border : none ;
57+ padding : 0.75rem 2rem ;
58+ border-radius : 8px ;
59+ font-weight : 500 ;
60+ cursor : pointer ;
61+ transition : all 0.2s ;
62+ width : 100% ;
63+ & :hover {
64+ background : var (--button-active-color );
65+ transform : translateY (-2px );
4866 }
4967 }
5068 }
51- }
69+ .coffee .donate-button {
70+ background : #bb7d3d ;
71+ }
5272
53- }
73+ .coffee .donate-button :hover {
74+ background : #d3934f ;
75+ }
76+ }
77+ }
0 commit comments