-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdc.html
More file actions
723 lines (686 loc) · 27.5 KB
/
dc.html
File metadata and controls
723 lines (686 loc) · 27.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fast-down 社区</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta
name="description"
content="加入 fast-down 社区与开发者实时交流、反馈问题、提供建议"
/>
<style>
html {
-ms-scrollbar-face-color: #454545;
-ms-scrollbar-track-color: #1e1e1e;
-ms-scrollbar-arrow-color: #999999;
-ms-scrollbar-shadow-color: #1e1e1e;
-ms-scrollbar-highlight-color: #1e1e1e;
}
* {
scrollbar-width: thin;
scrollbar-color: #454545 #1e1e1e;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
background: #454545;
border-radius: 5px;
border: 2px solid #1e1e1e;
}
::-webkit-scrollbar-thumb:hover {
background: #5a5a5a;
}
@media (prefers-color-scheme: light) {
html {
-ms-scrollbar-face-color: #cccccc;
-ms-scrollbar-track-color: #f5f5f5;
-ms-scrollbar-arrow-color: #666666;
-ms-scrollbar-shadow-color: #f5f5f5;
-ms-scrollbar-highlight-color: #f5f5f5;
}
* {
scrollbar-color: #cccccc #f5f5f5;
}
::-webkit-scrollbar-track {
background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: #cccccc;
border: 2px solid #f5f5f5;
}
::-webkit-scrollbar-thumb:hover {
background: #999999;
}
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100vh;
background-color: #1a1a1c;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI",
"Microsoft YaHei", sans-serif;
color: #dcddde;
line-height: 1.5;
}
.page-wrapper {
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
min-height: 100vh;
padding: 40px 20px;
box-sizing: border-box;
}
/* 主体内容容器:左右布局 */
.main-container {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
max-width: 1100px;
width: 100%;
}
/* ================= 左侧:信息展示区 ================= */
.left-col {
-ms-flex: 1;
flex: 1;
padding-right: 60px;
}
/* 头部:Logo 与标题 */
.header {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
margin-bottom: 25px;
}
.logo-box {
width: 64px;
height: 64px;
background-color: #0b0f14;
border-radius: 16px;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
margin-right: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.title-group h1 {
color: #ffffff;
font-size: 32px;
font-weight: 800;
margin: 0 0 10px 0;
letter-spacing: 1px;
}
.tags {
display: -ms-flexbox;
display: flex;
}
.tag {
background-color: #35363c;
color: #b5b6b8;
font-size: 13px;
padding: 4px 12px;
border-radius: 20px;
margin-right: 10px;
}
/* 描述文本 */
.description {
color: #a3a6aa;
font-size: 16px;
line-height: 1.8;
margin-bottom: 25px;
}
.description strong {
color: #ffffff;
font-weight: 600;
}
/* 警告横幅 */
.warning-banner {
border: 1px solid #7a6021;
background-color: rgba(30, 25, 15, 0.4);
color: #e2c058;
padding: 12px 16px;
border-radius: 6px;
font-size: 13px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
margin-bottom: 35px;
}
.warning-icon {
width: 16px;
height: 16px;
border: 1px solid #e2c058;
border-radius: 50%;
display: inline-block;
text-align: center;
line-height: 14px;
font-size: 12px;
margin-right: 10px;
flex-shrink: 0;
}
/* 按钮组 */
.button-group {
display: -ms-flexbox;
display: flex;
-ms-flex-align: stretch; /* 让两个按钮等高 */
align-items: stretch;
}
.btn-join {
background-color: #5865f2;
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 15px;
padding: 0 24px;
border-radius: 6px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
margin-right: 15px;
transition: background 0.2s;
height: 44px; /* 固定高度兼容IE */
}
.btn-join:hover {
background-color: #4752c4;
}
/* GitHub 按钮样式 */
.btn-github {
background-color: #24292f;
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 15px;
padding: 0 24px;
border-radius: 6px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
transition: background 0.2s;
height: 44px;
margin-right: 15px; /* 新增:为后续按钮留出间距 */
}
.btn-github:hover {
background-color: #1b1f24;
}
/* 访问官网按钮 */
.btn-website {
background-color: #24292f;
color: #ffffff;
text-decoration: none;
font-weight: bold;
font-size: 15px;
padding: 0 24px;
border-radius: 6px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
transition: background 0.2s;
height: 44px;
}
.btn-website:hover {
background-color: #1b1f24;
}
@media (prefers-color-scheme: light) {
.btn-website {
background-color: #e3e5e8;
color: #060607;
}
.btn-website:hover {
background-color: #d1d3d7;
}
}
.icon-svg {
fill: currentColor;
margin-right: 8px;
}
/* ================= 右侧:卡片展示区 ================= */
.right-col {
width: 420px;
-ms-flex-negative: 0;
flex-shrink: 0;
}
.card {
background-color: #2b2d31;
border: 1px solid #35363c;
border-radius: 12px;
padding: 24px;
margin-bottom: 20px;
}
/* 移除最后一个卡片的底边距 */
.card:last-child {
margin-bottom: 0;
}
.card-title {
color: #ffffff;
font-size: 18px;
font-weight: bold;
margin: 0 0 20px 0;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}
/* 列表项通用样式 */
.list-item {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: justify;
justify-content: space-between;
background-color: #232428;
border: 1px solid #313338;
padding: 14px 16px;
border-radius: 8px;
margin-bottom: 10px;
}
.list-item:last-child {
margin-bottom: 0;
}
/* 频道列表特定样式 */
.channel-info {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
color: #dbdee1;
font-size: 15px;
font-weight: bold;
}
.channel-icon {
color: #80848e;
margin-right: 12px;
font-size: 18px;
font-weight: normal;
}
.channel-desc {
color: #80848e;
font-size: 12px;
}
/* 管理员列表特定样式 */
.admin-item {
background-color: transparent !important; /* 管理员列表没有深色底框 */
border: none;
padding: 8px 0;
border-bottom: 1px solid #35363c;
border-radius: 0;
}
.admin-item:last-child {
border-bottom: none;
}
.user-info {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}
.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 15px;
background-color: #4f545c; /* 占位色 */
background-size: cover;
background-position: center;
}
.user-details {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
}
.user-name {
color: #ffffff;
font-size: 15px;
font-weight: bold;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}
.user-title {
color: #949ba4;
font-size: 12px;
margin-top: 2px;
}
.badge {
margin-left: 6px;
width: 14px;
height: 14px;
}
/* 在线状态绿点 */
.status-dot {
width: 10px;
height: 10px;
background-color: #23a559;
border-radius: 50%;
}
/* 响应式布局:适配移动端 */
@media (max-width: 1200px) {
.left-col {
padding-right: 30px;
}
}
@media (max-width: 851px) {
.main-container {
-ms-flex-direction: column;
flex-direction: column;
}
.left-col {
padding-right: 0;
margin-bottom: 40px;
width: 100%;
}
.right-col {
width: 100%;
}
.button-group {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.btn-join,
.btn-github,
.btn-website {
/* 新增按钮移动端适配 */
margin-bottom: 10px;
margin-left: 0; /* 重置左边距,保持对齐 */
}
/* 确保官网按钮在换行后没有多余的左边距 */
.btn-website {
margin-left: 0;
}
.card {
padding: 16px;
}
.card-title {
margin-bottom: 12px;
}
.list-item {
margin-bottom: 4px;
}
}
/* 亮色模式整体适配 (原有) */
@media (prefers-color-scheme: light) {
html,
body {
background-color: #f2f3f5;
background: #f5f5f5;
color: #313338;
}
.logo-box {
background-color: #ffffff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.title-group h1,
.description strong,
.card-title,
.user-name {
color: #060607;
}
.tag {
background-color: #e3e5e8;
color: #4e5058;
}
.description {
color: #4e5058;
}
.warning-banner {
background-color: #fff8e6;
border-color: #f1c40f;
color: #b7950b;
}
.card {
background-color: #ffffff;
border-color: #ebedef;
}
.list-item {
background-color: #f2f3f5;
border-color: #ebedef;
}
.channel-info {
color: #313338;
}
.user-title {
color: #5c5e66;
}
.admin-item {
border-bottom-color: #ebedef;
}
}
</style>
</head>
<body>
<div class="page-wrapper">
<div class="main-container">
<!-- 左侧:文本与操作 -->
<div class="left-col">
<div class="header">
<img
class="logo-box"
width="64"
height="64"
src="icon.png"
alt="fast-down"
/>
<div class="title-group">
<h1>fast-down 社区</h1>
<div class="tags">
<span class="tag">实时交流</span>
<span class="tag">问题反馈</span>
<span class="tag">功能建议</span>
</div>
</div>
</div>
<div class="description">
欢迎来到 <strong>fast-down</strong> 社区🎉<br />
在这里能与
<strong>开发者</strong>
实时交流,反馈问题,提出建议。<br />
加入我们,一起打造更好的 fast-down!
</div>
<div class="warning-banner">
<span class="warning-icon">i</span>
访问 Discord
需要合适的网络环境,如遇无法访问请检查网络设置或百度一下
</div>
<div class="button-group">
<a
href="https://discord.gg/a3Y73xQeGb"
class="btn-join"
>
<!-- Discord 图标 SVG -->
<svg
class="icon-svg"
width="20"
height="20"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3333-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3333-.946 2.4189-2.1568 2.4189z"
/>
</svg>
加入服务器
</a>
<a
href="https://github.com/fast-down"
target="_blank"
class="btn-github"
>
<!-- GitHub 图标 SVG -->
<svg
class="icon-svg"
width="20"
height="20"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
/>
</svg>
GitHub 仓库
</a>
<a href="index.html" class="btn-website">
<!-- 主页图标 -->
<svg
class="icon-svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
/>
</svg>
访问官网
</a>
</div>
</div>
<!-- 右侧:卡片区 -->
<div class="right-col">
<!-- 卡片 1:热门频道 -->
<div class="card">
<div class="card-title">
<span class="channel-icon">#</span> 热门频道
</div>
<div class="list-item">
<div class="channel-info">
<span class="channel-icon">#</span> 规则
</div>
<div class="channel-desc">服务器规则</div>
</div>
<div class="list-item">
<div class="channel-info">
<span class="channel-icon">#</span> 公告
</div>
<div class="channel-desc">fast-down 新版发布</div>
</div>
<div class="list-item">
<div class="channel-info">
<span class="channel-icon">#</span>
问题反馈-功能建议
</div>
<div class="channel-desc">搜索问题 & 反馈问题</div>
</div>
<div class="list-item">
<div class="channel-info">
<span class="channel-icon">#</span> 实时交流
</div>
<div class="channel-desc">与开发者实时交流</div>
</div>
</div>
<!-- 卡片 2:管理团队 -->
<div class="card">
<div class="card-title">
<svg
class="icon-svg"
style="color: #80848e"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"
></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
管理团队
</div>
<!-- 管理员 1 -->
<div class="list-item admin-item">
<div class="user-info">
<img
class="avatar"
src="share121.png"
alt="share121 avatar"
/>
<div class="user-details">
<div class="user-name">
share121 小派蒙
<!-- 皇冠 SVG -->
<svg
class="badge"
viewBox="0 0 24 24"
fill="none"
stroke="#f1c40f"
stroke-width="2"
>
<path
d="M2 20h20M5 16l-3-9 5 2 5-6 5 6 5-2-3 9H5z"
/>
</svg>
</div>
<div class="user-title">服务器所有者</div>
</div>
</div>
<div class="status-dot"></div>
</div>
<!-- 管理员 2 -->
<div class="list-item admin-item">
<div class="user-info">
<img
class="avatar"
src="lfcypo.png"
alt="lfcypo avatar"
/>
<div class="user-details">
<div class="user-name">
lfcypo
<!-- 盾牌 SVG -->
<svg
class="badge"
viewBox="0 0 24 24"
fill="none"
stroke="#3498db"
stroke-width="2"
>
<path
d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
/>
</svg>
</div>
<div class="user-title">社区管理员</div>
</div>
</div>
<div class="status-dot"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>