Jerrycool commited on
Commit
2642d74
·
verified ·
1 Parent(s): b3f358f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -2
app.py CHANGED
@@ -367,12 +367,32 @@ markdown_css = """
367
  tab_css = """
368
  /* Tabs ▸ change only the text on the tab buttons */
369
  .tab-buttons button {
370
- font-size: 1.7rem !important;
371
  font-weight: 500;
372
  }
373
  """
374
 
375
- final_css = f"{custom_css}\n{base_css}\n{intro_css}\n{markdown_css}\n{tab_css}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
  # ---------------------------------------------------------------------------
378
  # Build the Gradio UI
 
367
  tab_css = """
368
  /* Tabs ▸ change only the text on the tab buttons */
369
  .tab-buttons button {
370
+ font-size: 2.5rem !important;
371
  font-weight: 500;
372
  }
373
  """
374
 
375
+ radio_css = """
376
+ /* --- Radio Button Styling --- */
377
+ .gradio-radio > label span {
378
+ font-size: 1.5rem !important;
379
+ font-weight: 600;
380
+ color: #2a6099;
381
+ padding-bottom: 8px;
382
+ display: inline-block;
383
+ }
384
+ .gradio-radio .gr-form label span {
385
+ font-size: 1.2rem !important;
386
+ font-family: Consolas, monaco, monospace;
387
+ color: #333;
388
+ padding-left: 5px;
389
+ }
390
+ .gradio-radio .gr-form {
391
+ padding-top: 5px;
392
+ }
393
+ """
394
+
395
+ final_css = f"{custom_css}\n{base_css}\n{intro_css}\n{markdown_css}\n{tab_css}\n{radio_css}"
396
 
397
  # ---------------------------------------------------------------------------
398
  # Build the Gradio UI