neerajkalyank commited on
Commit
cc68155
1 Parent(s): ee777f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -17
app.py CHANGED
@@ -101,10 +101,6 @@ body {
101
  border-radius: 8px;
102
  border: 1px solid #d0e7f1;
103
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
104
- transition: box-shadow 0.2s ease;
105
- }
106
- .gradio-container:hover {
107
- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
108
  }
109
 
110
  /* Header Styling */
@@ -112,16 +108,15 @@ body {
112
  color: #005b8c;
113
  text-align: center;
114
  font-weight: 600;
115
- font-size: 2em;
116
- margin-bottom: 15px;
117
- letter-spacing: 0.5px;
118
  }
119
 
120
  /* Headings */
121
  h1, h2, h3 {
122
  color: #005b8c;
123
  font-weight: 500;
124
- margin: 15px 0 10px;
125
  }
126
 
127
  /* Form Field Styles */
@@ -162,35 +157,35 @@ button:hover {
162
  .checkbox-container {
163
  display: flex;
164
  flex-wrap: wrap;
165
- gap: 12px; /* Space between each checkbox group */
166
  margin-bottom: 20px;
167
  }
168
 
169
  /* Individual Checkbox Group */
170
  .checkbox-group {
171
- display: flex;
172
  align-items: center;
173
- padding: 8px 12px;
174
  border: 1px solid #d0e7f1;
175
- border-radius: 8px;
176
  background-color: #f7fcff;
177
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
178
- min-width: 140px; /* Minimum width to ensure label fits */
179
  justify-content: center;
180
  }
181
 
182
  /* Styling for Checkbox */
183
  .checkbox-group input[type="checkbox"] {
184
- margin-right: 8px; /* Space between checkbox and label */
185
- transform: scale(1.2); /* Slightly larger checkbox */
186
- accent-color: #007ba7; /* Color for checkbox when checked */
187
  }
188
 
189
  /* Styling for Checkbox Label */
190
  .checkbox-group label {
191
  font-size: 0.95em;
192
  color: #333333;
193
- white-space: nowrap; /* Prevents label text from wrapping */
194
  display: inline-block;
195
  }
196
 
 
101
  border-radius: 8px;
102
  border: 1px solid #d0e7f1;
103
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
 
 
 
 
104
  }
105
 
106
  /* Header Styling */
 
108
  color: #005b8c;
109
  text-align: center;
110
  font-weight: 600;
111
+ font-size: 1.8em;
112
+ margin-bottom: 20px;
 
113
  }
114
 
115
  /* Headings */
116
  h1, h2, h3 {
117
  color: #005b8c;
118
  font-weight: 500;
119
+ margin: 10px 0;
120
  }
121
 
122
  /* Form Field Styles */
 
157
  .checkbox-container {
158
  display: flex;
159
  flex-wrap: wrap;
160
+ gap: 10px;
161
  margin-bottom: 20px;
162
  }
163
 
164
  /* Individual Checkbox Group */
165
  .checkbox-group {
166
+ display: inline-flex;
167
  align-items: center;
168
+ padding: 8px 10px;
169
  border: 1px solid #d0e7f1;
170
+ border-radius: 6px;
171
  background-color: #f7fcff;
172
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
173
+ min-width: 150px;
174
  justify-content: center;
175
  }
176
 
177
  /* Styling for Checkbox */
178
  .checkbox-group input[type="checkbox"] {
179
+ margin-right: 8px;
180
+ transform: scale(1.2); /* Larger checkbox */
181
+ accent-color: #007ba7;
182
  }
183
 
184
  /* Styling for Checkbox Label */
185
  .checkbox-group label {
186
  font-size: 0.95em;
187
  color: #333333;
188
+ white-space: nowrap;
189
  display: inline-block;
190
  }
191