baconnier commited on
Commit
831f27f
·
verified ·
1 Parent(s): 67ce09a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -138,7 +138,7 @@ class GradioInterface:
138
  .title-container {
139
  width: fit-content !important;
140
  margin: 0 auto !important;
141
- padding: 5px 40px !important; /* Reduced vertical padding to 5px */
142
  border: 1px solid #0066cc !important;
143
  border-radius: 10px !important;
144
  background-color: rgba(0, 102, 204, 0.25) !important;
@@ -146,24 +146,24 @@ class GradioInterface:
146
 
147
  .title-container * {
148
  text-align: center;
149
- margin: 2px 0 !important; /* Reduced margin between elements to 2px */
150
- line-height: 1.2 !important; /* Reduced line height */
151
  }
152
 
153
- /* Specific adjustments for each heading level */
154
  .title-container h1 {
155
- margin-bottom: 2px !important;
156
- font-size: 24px !important;
157
  }
158
 
159
  .title-container h3 {
160
- margin: 2px 0 !important;
161
- font-size: 16px !important;
162
  }
163
 
164
  .title-container p {
165
- margin: 2px 0 !important;
166
- font-size: 14px !important;
167
  }
168
  /* Fix radio button visibility */
169
  .gradio-radio {
 
138
  .title-container {
139
  width: fit-content !important;
140
  margin: 0 auto !important;
141
+ padding: 3px 40px !important; /* Reduced vertical padding to 3px */
142
  border: 1px solid #0066cc !important;
143
  border-radius: 10px !important;
144
  background-color: rgba(0, 102, 204, 0.25) !important;
 
146
 
147
  .title-container * {
148
  text-align: center;
149
+ margin: 0 !important; /* Removed vertical margins */
150
+ line-height: 1 !important; /* Minimum line height */
151
  }
152
 
153
+ /* Specific size adjustments for each text element */
154
  .title-container h1 {
155
+ font-size: 22px !important;
156
+ margin-bottom: 1px !important;
157
  }
158
 
159
  .title-container h3 {
160
+ font-size: 14px !important;
161
+ margin-bottom: 1px !important;
162
  }
163
 
164
  .title-container p {
165
+ font-size: 12px !important;
166
+ margin-bottom: 1px !important;
167
  }
168
  /* Fix radio button visibility */
169
  .gradio-radio {