Lzy01241010 commited on
Commit
83598ca
·
1 Parent(s): c81ec6a

css: drop both display headings one size down

Browse files

clamp 1.25-1.75rem -> 1.1-1.5rem; phone 1.15rem -> 1rem. Both headings
share the same values so they stay consistent.

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -417,7 +417,7 @@ gradio-app > div {
417
  margin: 0;
418
  font-family: "Source Serif 4", "Source Serif Pro", ui-serif, Georgia, serif;
419
  font-weight: 600;
420
- font-size: clamp(1.25rem, 2vw, 1.75rem);
421
  line-height: 1.2;
422
  letter-spacing: -0.01em;
423
  color: var(--q-text);
@@ -474,7 +474,7 @@ gradio-app > div {
474
  font-weight: 600 !important;
475
  /* Kept identical to .quest-header-title so the two display headings match
476
  in size and line spacing. */
477
- font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
478
  line-height: 1.2 !important;
479
  letter-spacing: -0.01em !important;
480
  text-transform: none !important;
@@ -1241,7 +1241,7 @@ footer { display: none !important; }
1241
  @media (max-width: 600px) {
1242
  .quest-header-title,
1243
  .hero-heading {
1244
- font-size: 1.15rem !important;
1245
  line-height: 1.2 !important;
1246
  }
1247
  }
 
417
  margin: 0;
418
  font-family: "Source Serif 4", "Source Serif Pro", ui-serif, Georgia, serif;
419
  font-weight: 600;
420
+ font-size: clamp(1.1rem, 1.8vw, 1.5rem);
421
  line-height: 1.2;
422
  letter-spacing: -0.01em;
423
  color: var(--q-text);
 
474
  font-weight: 600 !important;
475
  /* Kept identical to .quest-header-title so the two display headings match
476
  in size and line spacing. */
477
+ font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
478
  line-height: 1.2 !important;
479
  letter-spacing: -0.01em !important;
480
  text-transform: none !important;
 
1241
  @media (max-width: 600px) {
1242
  .quest-header-title,
1243
  .hero-heading {
1244
+ font-size: 1rem !important;
1245
  line-height: 1.2 !important;
1246
  }
1247
  }