liyangbing commited on
Commit
6877160
·
verified ·
1 Parent(s): 627e508
Files changed (1) hide show
  1. style.css +305 -9
style.css CHANGED
@@ -89,16 +89,25 @@ body {
89
  margin-bottom: 2rem;
90
  }
91
 
92
- h1, h2 {
93
  margin: 0.5rem 0;
94
  font-size: 3.5rem;
95
  font-weight: bold;
96
  background: linear-gradient(45deg, #fff, #e0e0e0);
97
  -webkit-background-clip: text;
 
98
  -webkit-text-fill-color: transparent;
99
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
100
  }
101
 
 
 
 
 
 
 
 
 
102
  .announcement-section {
103
  margin: 2rem 0;
104
  }
@@ -282,21 +291,43 @@ h1, h2 {
282
  transform: scale(1.05);
283
  }
284
 
285
- .huggingface-link {
286
- margin-top: 2rem;
 
 
 
 
 
 
 
287
  font-size: 0.9rem;
288
  color: #888;
 
 
 
 
 
 
 
 
 
 
289
  }
290
 
291
- .huggingface-link a {
292
  color: #2196F3;
293
  text-decoration: none;
294
- transition: color 0.3s ease;
 
 
 
 
295
  }
296
 
297
- .huggingface-link a:hover {
298
- color: #1976D2;
299
- text-decoration: underline;
 
300
  }
301
 
302
  .highlight-links {
@@ -306,6 +337,221 @@ h1, h2 {
306
  justify-content: center;
307
  }
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  .highlight-link {
310
  display: inline-block;
311
  padding: 0.6rem 1.2rem;
@@ -359,10 +605,14 @@ h1, h2 {
359
  }
360
 
361
  @media (max-width: 600px) {
362
- h1, h2 {
363
  font-size: 2.5rem;
364
  }
365
 
 
 
 
 
366
  .announcement {
367
  font-size: 1.5rem;
368
  }
@@ -399,6 +649,52 @@ h1, h2 {
399
  gap: 0.8rem;
400
  }
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  .highlight-link {
403
  text-align: center;
404
  }
 
89
  margin-bottom: 2rem;
90
  }
91
 
92
+ h1 {
93
  margin: 0.5rem 0;
94
  font-size: 3.5rem;
95
  font-weight: bold;
96
  background: linear-gradient(45deg, #fff, #e0e0e0);
97
  -webkit-background-clip: text;
98
+ background-clip: text;
99
  -webkit-text-fill-color: transparent;
100
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
101
  }
102
 
103
+ h2 {
104
+ margin: 1.5rem 0 1rem;
105
+ font-size: 2.2rem;
106
+ font-weight: bold;
107
+ color: #2196F3;
108
+ text-shadow: 0 0 15px rgba(33,150,243,0.2);
109
+ }
110
+
111
  .announcement-section {
112
  margin: 2rem 0;
113
  }
 
291
  transform: scale(1.05);
292
  }
293
 
294
+ .resource-links-section {
295
+ margin: 3rem 0 1rem;
296
+ padding: 1rem;
297
+ background: rgba(255,255,255,0.03);
298
+ border-radius: 16px;
299
+ }
300
+
301
+ .resource-links {
302
+ margin-top: 1rem;
303
  font-size: 0.9rem;
304
  color: #888;
305
+ display: flex;
306
+ flex-wrap: wrap;
307
+ justify-content: center;
308
+ gap: 1rem;
309
+ align-items: center;
310
+ }
311
+
312
+ .resource-links p {
313
+ margin: 0;
314
+ margin-right: 0.5rem;
315
  }
316
 
317
+ .resource-link {
318
  color: #2196F3;
319
  text-decoration: none;
320
+ transition: all 0.3s ease;
321
+ padding: 0.4rem 1rem;
322
+ background: rgba(33, 150, 243, 0.1);
323
+ border-radius: 20px;
324
+ font-weight: 500;
325
  }
326
 
327
+ .resource-link:hover {
328
+ color: white;
329
+ background: #2196F3;
330
+ transform: translateY(-2px);
331
  }
332
 
333
  .highlight-links {
 
337
  justify-content: center;
338
  }
339
 
340
+ /* Introduction Section */
341
+ .intro-section {
342
+ margin: 2rem 0;
343
+ padding: 1.5rem;
344
+ background: rgba(255,255,255,0.03);
345
+ border-radius: 16px;
346
+ text-align: left;
347
+ line-height: 1.6;
348
+ }
349
+
350
+ .intro-section p {
351
+ color: #ddd;
352
+ line-height: 1.6;
353
+ font-size: 1.1rem;
354
+ }
355
+
356
+ .hero-image {
357
+ width: 100%;
358
+ margin: 30px 0;
359
+ border-radius: 12px;
360
+ overflow: hidden;
361
+ box-shadow: 0 10px 30px rgba(0,0,0,0.15);
362
+ }
363
+
364
+ .benchmark-image {
365
+ width: 100%;
366
+ margin: 30px 0;
367
+ border-radius: 12px;
368
+ overflow: hidden;
369
+ box-shadow: 0 5px 20px rgba(0,0,0,0.1);
370
+ }
371
+
372
+ .full-width-img {
373
+ width: 100%;
374
+ height: auto;
375
+ display: block;
376
+ }
377
+
378
+ /* News Section */
379
+ .news-section {
380
+ margin: 2rem 0;
381
+ padding: 1.5rem;
382
+ background: rgba(255,255,255,0.03);
383
+ border-radius: 16px;
384
+ text-align: left;
385
+ }
386
+
387
+ .news-items {
388
+ display: flex;
389
+ flex-direction: column;
390
+ gap: 1rem;
391
+ }
392
+
393
+ .news-item {
394
+ display: flex;
395
+ align-items: baseline;
396
+ gap: 0.5rem;
397
+ padding-bottom: 0.5rem;
398
+ border-bottom: 1px solid rgba(255,255,255,0.1);
399
+ }
400
+
401
+ .news-date {
402
+ color: #2196F3;
403
+ font-weight: 500;
404
+ white-space: nowrap;
405
+ }
406
+
407
+ .news-content {
408
+ color: #ddd;
409
+ }
410
+
411
+ .news-content a {
412
+ color: #2196F3;
413
+ text-decoration: none;
414
+ transition: color 0.3s ease;
415
+ }
416
+
417
+ .news-content a:hover {
418
+ color: #64B5F6;
419
+ text-decoration: underline;
420
+ }
421
+
422
+ /* Quick Start Section */
423
+ .quickstart-section {
424
+ margin: 3rem 0;
425
+ padding: 1.5rem;
426
+ background: rgba(255,255,255,0.03);
427
+ border-radius: 16px;
428
+ text-align: left;
429
+ }
430
+
431
+ .quickstart-section p {
432
+ color: #ddd;
433
+ line-height: 1.6;
434
+ }
435
+
436
+ .code-block {
437
+ margin: 1rem 0;
438
+ padding: 1rem;
439
+ background: rgba(0,0,0,0.3);
440
+ border-radius: 8px;
441
+ overflow-x: auto;
442
+ }
443
+
444
+ .code-block pre {
445
+ margin: 0;
446
+ }
447
+
448
+ .code-block code {
449
+ color: #E0E0E0;
450
+ font-family: 'Courier New', Courier, monospace;
451
+ font-size: 0.9rem;
452
+ line-height: 1.5;
453
+ }
454
+
455
+ /* Showcase Section */
456
+ .showcase-section {
457
+ margin: 3rem 0;
458
+ padding: 1.5rem;
459
+ background: rgba(255,255,255,0.03);
460
+ border-radius: 16px;
461
+ text-align: left;
462
+ }
463
+
464
+ .showcase-item {
465
+ margin-bottom: 2rem;
466
+ display: grid;
467
+ }
468
+
469
+ .showcase-description {
470
+ flex: 1;
471
+ }
472
+
473
+ .showcase-image {
474
+ height: auto;
475
+ background: rgba(0,0,0,0.2);
476
+ border-radius: 8px;
477
+ display: flex;
478
+ align-items: center;
479
+ justify-content: center;
480
+ color: #888;
481
+ font-style: italic;
482
+ border: 1px dashed rgba(255,255,255,0.2);
483
+ overflow: hidden;
484
+ }
485
+
486
+ .showcase-img {
487
+ width: 100%;
488
+ height: auto;
489
+ object-fit: cover;
490
+ border-radius: 8px;
491
+ transition: transform 0.3s ease;
492
+ }
493
+
494
+ .showcase-img:hover {
495
+ transform: scale(1.02);
496
+ }
497
+
498
+ .showcase-item-full {
499
+ display: flex;
500
+ flex-direction: column;
501
+ margin-bottom: 80px;
502
+ width: 100%;
503
+ }
504
+
505
+ .showcase-description-full {
506
+ margin-bottom: 30px;
507
+ text-align: center;
508
+ max-width: 900px;
509
+ margin-left: auto;
510
+ margin-right: auto;
511
+ padding: 0 20px;
512
+ }
513
+
514
+ .showcase-description-full h3 {
515
+ font-size: 24px;
516
+ margin-bottom: 15px;
517
+ color: #4a9eff;
518
+ }
519
+
520
+ .showcase-image-full {
521
+ width: 100%;
522
+ height: auto;
523
+ border-radius: 12px;
524
+ overflow: hidden;
525
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
526
+ }
527
+
528
+ .showcase-img-full {
529
+ width: 100%;
530
+ height: auto;
531
+ object-fit: cover;
532
+ display: block;
533
+ transition: transform 0.5s ease;
534
+ }
535
+
536
+ .showcase-img-full:hover {
537
+ transform: scale(1.01);
538
+ }
539
+
540
+ .showcase-conclusion {
541
+ margin-top: 2rem;
542
+ padding: 1rem;
543
+ background: rgba(33,150,243,0.1);
544
+ border-radius: 8px;
545
+ border-left: 4px solid #2196F3;
546
+ }
547
+
548
+ .showcase-conclusion p {
549
+ color: #fff;
550
+ font-size: 1.1rem;
551
+ line-height: 1.6;
552
+ margin: 0;
553
+ }
554
+
555
  .highlight-link {
556
  display: inline-block;
557
  padding: 0.6rem 1.2rem;
 
605
  }
606
 
607
  @media (max-width: 600px) {
608
+ h1 {
609
  font-size: 2.5rem;
610
  }
611
 
612
+ h2 {
613
+ font-size: 1.8rem;
614
+ }
615
+
616
  .announcement {
617
  font-size: 1.5rem;
618
  }
 
649
  gap: 0.8rem;
650
  }
651
 
652
+ .intro-section,
653
+ .news-section,
654
+ .quickstart-section,
655
+ .showcase-section,
656
+ .resource-links-section {
657
+ padding: 1rem;
658
+ margin: 1.5rem 0;
659
+ }
660
+
661
+ .code-block {
662
+ padding: 0.5rem;
663
+ }
664
+
665
+ .showcase-image {
666
+ height: auto;
667
+ max-height: 300px;
668
+ }
669
+
670
+ .showcase-description-full {
671
+ padding: 0 15px;
672
+ margin-bottom: 20px;
673
+ }
674
+
675
+ .showcase-image-full {
676
+ border-radius: 8px;
677
+ }
678
+
679
+ .showcase-item-full {
680
+ margin-bottom: 50px;
681
+ }
682
+
683
+ .hero-image img,
684
+ .benchmark-image img {
685
+ border-radius: 8px;
686
+ }
687
+
688
+ .news-item {
689
+ flex-direction: column;
690
+ gap: 0.3rem;
691
+ }
692
+
693
+ .resource-links {
694
+ flex-direction: column;
695
+ gap: 0.8rem;
696
+ }
697
+
698
  .highlight-link {
699
  text-align: center;
700
  }