Lzy01241010 commited on
Commit
80b9bc2
·
1 Parent(s): 6766163

css: shrink the two display headings on phones (<=600px)

Browse files

.hero-heading was a fixed 1.6rem that never scaled down; .quest-header-title
clamps no smaller than 1.25rem. On phones both dominate the screen — add a
<=600px media query: header title 1.1rem, hero heading 1.2rem.

Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1232,6 +1232,13 @@ footer { display: none !important; }
1232
  grid-template-columns: 1fr !important;
1233
  }
1234
  }
 
 
 
 
 
 
 
1235
  """
1236
 
1237
 
 
1232
  grid-template-columns: 1fr !important;
1233
  }
1234
  }
1235
+ /* Phone-specific: shrink the two big display headings so they don't dominate
1236
+ the small screen. .hero-heading is otherwise a fixed 1.6rem and never
1237
+ scales down; .quest-header-title's clamp floor (1.25rem) is still large. */
1238
+ @media (max-width: 600px) {
1239
+ .quest-header-title { font-size: 1.1rem !important; }
1240
+ .hero-heading { font-size: 1.2rem !important; }
1241
+ }
1242
  """
1243
 
1244