File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,29 +47,6 @@ body {
4747 padding-left : 0.5rem ;
4848}
4949
50- table {
51- border-collapse : collapse;
52- }
53-
54- td {
55- padding : 0.3rem 0.5rem 0.3rem 0 ;
56- vertical-align : top;
57- }
58-
59- .row_label {
60- color : # 555 ;
61- min-width : 10rem ;
62- }
63-
64- .row_value {
65- color : # ccc ;
66- }
67-
68- .row_value .muted {
69- color : # 444 ;
70- font-style : italic;
71- }
72-
7350.tag {
7451 display : inline-block;
7552 background : # 111 ;
@@ -173,3 +150,205 @@ a:hover {
173150 100% { transform : translate (0 ); }
174151}
175152
153+ .discord_card {
154+ background : # 111 ;
155+ border : 1px solid # 222 ;
156+ padding : 0.85rem 1rem ;
157+ max-width : 24rem ;
158+ position : relative;
159+ margin-bottom : 2rem ;
160+ }
161+
162+ .discord_icon_link {
163+ position : absolute;
164+ top : 0.5rem ;
165+ right : 0.6rem ;
166+ font-size : 0.95rem ;
167+ color : # 5865f2 ;
168+ line-height : 1 ;
169+ }
170+
171+ .discord_icon_link : hover {
172+ color : # 7983f5 ;
173+ }
174+
175+ .discord_card_main {
176+ display : flex;
177+ align-items : center;
178+ gap : 0.75rem ;
179+ }
180+
181+ .discord_avatar {
182+ width : 44px ;
183+ height : 44px ;
184+ border-radius : 50% ;
185+ flex-shrink : 0 ;
186+ }
187+
188+ .discord_info {
189+ display : flex;
190+ flex-direction : column;
191+ gap : 0.1rem ;
192+ min-width : 0 ;
193+ flex : 1 ;
194+ }
195+
196+ .discord_username {
197+ color : # e0e0e0 ;
198+ font-size : 0.95rem ;
199+ font-weight : 600 ;
200+ padding-right : 1.2rem ;
201+ overflow : hidden;
202+ text-overflow : ellipsis;
203+ white-space : nowrap;
204+ }
205+
206+ .discord_status_row {
207+ display : flex;
208+ align-items : center;
209+ gap : 0.4rem ;
210+ }
211+
212+ .status_dot {
213+ width : 8px ;
214+ height : 8px ;
215+ border-radius : 50% ;
216+ background : # 747f8d ;
217+ flex-shrink : 0 ;
218+ }
219+
220+ .status_label {
221+ color : # 888 ;
222+ font-size : 0.75rem ;
223+ text-transform : lowercase;
224+ }
225+
226+ .discord_activities {
227+ margin-top : 0.6rem ;
228+ display : flex;
229+ flex-direction : column;
230+ gap : 0.5rem ;
231+ }
232+
233+ .activity {
234+ display : none;
235+ gap : 0.65rem ;
236+ padding-top : 0.6rem ;
237+ border-top : 1px solid # 1a1a1a ;
238+ }
239+
240+ .activity_art {
241+ width : 48px ;
242+ height : 48px ;
243+ border-radius : 4px ;
244+ flex-shrink : 0 ;
245+ }
246+
247+ .activity_body {
248+ display : flex;
249+ flex-direction : column;
250+ gap : 0.1rem ;
251+ min-width : 0 ;
252+ flex : 1 ;
253+ justify-content : center;
254+ }
255+
256+ .activity_name {
257+ color : # e0e0e0 ;
258+ font-size : 0.8rem ;
259+ font-weight : 600 ;
260+ overflow : hidden;
261+ text-overflow : ellipsis;
262+ white-space : nowrap;
263+ }
264+
265+ .activity_detail {
266+ color : # 888 ;
267+ font-size : 0.7rem ;
268+ overflow : hidden;
269+ text-overflow : ellipsis;
270+ white-space : nowrap;
271+ }
272+
273+ .activity_state {
274+ color : # 888 ;
275+ font-size : 0.7rem ;
276+ overflow : hidden;
277+ text-overflow : ellipsis;
278+ white-space : nowrap;
279+ }
280+
281+ .activity_progress {
282+ display : flex;
283+ align-items : center;
284+ gap : 0.4rem ;
285+ margin-top : 0.2rem ;
286+ }
287+
288+ .progress_track {
289+ flex : 1 ;
290+ height : 4px ;
291+ background : # 222 ;
292+ border-radius : 2px ;
293+ overflow : hidden;
294+ }
295+
296+ .progress_fill {
297+ height : 100% ;
298+ width : 0% ;
299+ background : # 1db954 ;
300+ border-radius : 2px ;
301+ transition : width 0.3s linear;
302+ }
303+
304+ .progress_time {
305+ color : # 666 ;
306+ font-size : 0.65rem ;
307+ white-space : nowrap;
308+ flex-shrink : 0 ;
309+ }
310+
311+ .extra_toggle {
312+ display : none;
313+ align-items : center;
314+ gap : 0.4rem ;
315+ cursor : pointer;
316+ color : # 555 ;
317+ font-size : 0.7rem ;
318+ padding-top : 0.4rem ;
319+ border-top : 1px solid # 1a1a1a ;
320+ user-select : none;
321+ }
322+
323+ .extra_toggle : hover {
324+ color : # 888 ;
325+ }
326+
327+ .extra_toggle i {
328+ font-size : 0.55rem ;
329+ transition : transform 0.2s ;
330+ }
331+
332+ .extra_list {
333+ display : none;
334+ flex-direction : column;
335+ gap : 0.3rem ;
336+ padding-top : 0.3rem ;
337+ }
338+
339+ .extra_row {
340+ display : flex;
341+ flex-direction : column;
342+ gap : 0.05rem ;
343+ }
344+
345+ .extra_row_name {
346+ color : # 999 ;
347+ font-size : 0.7rem ;
348+ }
349+
350+ .extra_row_detail {
351+ color : # 666 ;
352+ font-size : 0.65rem ;
353+ }
354+
You can’t perform that action at this time.
0 commit comments