1- .leaderboard-container {
2- border : 0 solid black;
3- border-radius : 5px ;
4- background-color : white;
5- margin-top : 10px ;
6- margin-bottom : 20px ;
7- padding : 5px 2rem 1rem 2rem ;
8- --tw-shadow : 0 20px 25px -5px rgb (0 0 0 / 0.1 ), 0 8px 10px -6px rgb (0 0 0 / 0.1 );
9- --tw-shadow-colored : 0 20px 25px -5px var (--tw-shadow-color ),
10- 0 8px 10px -6px var (--tw-shadow-color );
11- box-shadow : var (--tw-ring-offset-shadow , 0 0 # 0000 ), var (--tw-ring-shadow , 0 0 # 0000 ),
12- var (--tw-shadow );
13- }
1+ /* .leaderboard-container {
2+ border: 0 solid black;
3+ border-radius: 5px;
4+ background-color: white;
5+ margin-top: 10px;
6+ margin-bottom: 20px;
7+ padding: 5px 2rem 1rem 2rem;
8+ --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
9+ --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
10+ 0 8px 10px -6px var(--tw-shadow-color);
11+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
12+ var(--tw-shadow);
13+ }
14+
15+ .leaderboard-table-cell {
16+ padding: 6px !important;
17+ }
18+
19+ .leaderboard-table-header {
20+ font-weight: 700 !important;
21+ font-family: var(--ff-accent) !important;
22+ }
23+
24+ .leaderboard-heading {
25+ font-family: var(--ff-accent);
26+ font-size: 32px !important;
27+ }
28+
29+ .leaderboard-text {
30+ font-family: var(--ff-accent) !important;
31+ font-size: var(--fs-md) !important;
32+ }
33+
34+ .leaderboard-loader {
35+ display: flex;
36+ align-items: center;
37+ justify-content: center;
38+ height: 100vh;
39+ } */
40+
41+ .leaderboard-wrapper {
42+ background-color : # ffffff ;
43+ border-radius : 16px ;
44+ padding : 24px ;
45+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.05 );
46+ font-family : 'Inter' , sans-serif;
47+ max-width : 800px ;
48+ margin : 20px auto;
49+ }
50+
51+ .leaderboard-title {
52+ font-size : 24px ;
53+ font-weight : 600 ;
54+ color : # 1a202c ;
55+ margin-bottom : 24px ;
56+ }
57+
58+ .podium-container {
59+ display : flex;
60+ justify-content : center;
61+ align-items : flex-end;
62+ gap : 8px ;
63+ margin-bottom : 16px ;
64+ }
65+
66+ .podium-card {
67+ display : flex;
68+ flex-direction : column;
69+ align-items : center;
70+ text-align : center;
71+ padding : 16px ;
72+ border-radius : 12px ;
73+ width : 120px ;
74+ color : # 4a5568 ;
75+ border : 1px solid # e2e8f0 ;
76+ transition : transform 0.2s ease-in-out;
77+ }
78+
79+ .podium-card : hover {
80+ transform : translateY (-5px );
81+ }
82+
83+ .podium-avatar {
84+ width : 60px ;
85+ height : 60px ;
86+ border-radius : 50% ;
87+ border : 3px solid # fff ;
88+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
89+ margin-bottom : 8px ;
90+ }
91+
92+ .podium-name {
93+ font-weight : 600 ;
94+ font-size : 14px ;
95+ color : # 2d3748 ;
96+ }
97+
98+ .podium-rank {
99+ font-size : 12px ;
100+ font-weight : 500 ;
101+ margin-bottom : 4px ;
102+ }
103+
104+ .podium-points {
105+ font-weight : 700 ;
106+ font-size : 14px ;
107+ color : # 1a202c ;
108+ }
109+
110+ .podium-second {
111+ background-color : # f7fafc ;
112+ height : 170px ;
113+ order : 1 ;
114+ }
115+
116+ .podium-first {
117+ background-color : # fffbef ;
118+ height : 200px ;
119+ border-color : # f6e05e ;
120+ order : 2 ;
121+ }
122+
123+ .podium-third {
124+ background-color : # fdf5f2 ;
125+ height : 150px ;
126+ order : 3 ;
127+ }
128+
129+ .winner-announcement {
130+ text-align : center;
131+ color : # 4a5568 ;
132+ font-size : 14px ;
133+ margin-bottom : 32px ;
134+ line-height : 1.5 ;
135+ }
136+
14137
15- .leaderboard-table-cell {
16- padding : 6px !important ;
17- }
18-
19- .leaderboard-table-header {
20- font-weight : 700 !important ;
21- font-family : var (--ff-accent ) !important ;
22- }
23-
24- .leaderboard-heading {
25- font-family : var (--ff-accent );
26- font-size : 32px !important ;
27- }
28-
29- .leaderboard-text {
30- font-family : var (--ff-accent ) !important ;
31- font-size : var (--fs-md ) !important ;
32- }
33-
34- .leaderboard-loader {
35- display : flex;
36- align-items : center;
37- justify-content : center;
38- height : 100vh ;
39- }
138+ .leaderboard-table-container {
139+ box-shadow : none !important ;
140+ border : 1px solid # e2e8f0 ;
141+ border-radius : 12px !important ;
142+ }
143+
144+ .leaderboard-table-header {
145+ font-weight : 600 !important ;
146+ font-size : 12px !important ;
147+ color : # 718096 !important ;
148+ text-transform : uppercase;
149+ background-color : # f7fafc !important ;
150+ border-bottom : 1px solid # e2e8f0 !important ;
151+ }
152+
153+ .leaderboard-table-cell {
154+ font-size : 14px !important ;
155+ color : # 2d3748 !important ;
156+ border-bottom : 1px solid # e2e8f0 !important ;
157+ }
158+
159+ .user-profile {
160+ display : flex;
161+ align-items : center;
162+ gap : 12px ;
163+ font-weight : 500 ;
164+ }
165+
166+ .table-avatar {
167+ width : 32px ;
168+ height : 32px ;
169+ border-radius : 50% ;
170+ }
171+
172+ .rank-cell {
173+ display : flex;
174+ align-items : center;
175+ gap : 8px ;
176+ font-weight : 600 !important ;
177+ }
178+
179+ .points-cell {
180+ font-weight : 600 !important ;
181+ }
182+
183+ .rank-icon {
184+ font-size : 16px !important ;
185+ }
186+ .rank-up {
187+ color : # 38a169 ;
188+ }
189+ .rank-down {
190+ color : # e53e3e ;
191+ }
192+ .rank-same {
193+ color : # a0aec0 ;
194+ }
0 commit comments