Charlie Li commited on
Commit
89297c4
·
1 Parent(s): 04123c4

update button style

Browse files
Files changed (1) hide show
  1. style.css +22 -17
style.css CHANGED
@@ -561,14 +561,16 @@ body {
561
  margin-top: 0.75rem;
562
  }
563
 
564
- .mm-link-card {
565
  display: flex;
566
  flex-direction: column;
567
- justify-content: space-between;
568
- gap: 0.7rem;
569
- min-height: 116px;
570
- padding: 1.1rem 1.15rem;
 
571
  text-decoration: none;
 
572
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-surface-soft) 100%);
573
  transition:
574
  transform 0.18s ease,
@@ -577,32 +579,35 @@ body {
577
  background 0.18s ease;
578
  }
579
 
580
- .mm-link-card:hover,
581
- .mm-link-card:focus-visible {
582
  border-color: var(--mm-accent);
583
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-accent-soft) 100%);
584
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
585
  transform: translateY(-2px);
586
  }
587
 
588
- .mm-link-card:focus-visible {
589
  outline: none;
590
  }
591
 
592
- .mm-link-title {
593
- color: var(--mm-ink);
594
- font-size: 1rem;
595
- font-weight: 800;
596
- line-height: 1.35;
597
  overflow-wrap: anywhere;
598
  }
599
 
600
- .mm-link-note {
601
- margin-top: auto;
602
- color: var(--mm-muted);
 
 
 
 
 
 
603
  font-size: 0.9rem;
604
  line-height: 1.5;
605
- overflow-wrap: anywhere;
606
  }
607
 
608
  @media (max-width: 1100px) {
 
561
  margin-top: 0.75rem;
562
  }
563
 
564
+ .gradio-container .mm-link-strip .mm-link-card {
565
  display: flex;
566
  flex-direction: column;
567
+ align-items: flex-start;
568
+ justify-content: flex-start;
569
+ gap: 0.3rem;
570
+ padding: 1rem 1.15rem;
571
+ text-align: left;
572
  text-decoration: none;
573
+ color: var(--mm-ink);
574
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-surface-soft) 100%);
575
  transition:
576
  transform 0.18s ease,
 
579
  background 0.18s ease;
580
  }
581
 
582
+ .gradio-container .mm-link-strip .mm-link-card:hover,
583
+ .gradio-container .mm-link-strip .mm-link-card:focus-visible {
584
  border-color: var(--mm-accent);
585
  background: linear-gradient(180deg, var(--mm-surface) 0%, var(--mm-accent-soft) 100%);
586
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
587
  transform: translateY(-2px);
588
  }
589
 
590
+ .gradio-container .mm-link-strip .mm-link-card:focus-visible {
591
  outline: none;
592
  }
593
 
594
+ .gradio-container .mm-link-strip .mm-link-title,
595
+ .gradio-container .mm-link-strip .mm-link-note {
596
+ text-decoration: none;
 
 
597
  overflow-wrap: anywhere;
598
  }
599
 
600
+ .gradio-container .mm-link-strip .mm-link-title {
601
+ color: var(--mm-ink);
602
+ font-size: 1.05rem;
603
+ font-weight: 700;
604
+ line-height: 1.3;
605
+ }
606
+
607
+ .gradio-container .mm-link-strip .mm-link-note {
608
+ color: var(--mm-ink-soft);
609
  font-size: 0.9rem;
610
  line-height: 1.5;
 
611
  }
612
 
613
  @media (max-width: 1100px) {