aryan79 commited on
Commit
57b1602
·
verified ·
1 Parent(s): 3ba76f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -13
app.py CHANGED
@@ -132,35 +132,35 @@ body {
132
  font-family: Arial, sans-serif;
133
  background-color: #f0f2f5;
134
  }
 
135
  h1, h2, p {
136
  color: #333; /* Darker color for better visibility */
137
  }
138
 
139
- /* Customize color of Examples text directly with inline styles */
140
- .gr-examples-title, .gr-examples-btn, .gr-suggestions li {
141
- color: #333 !important; /* Set the color to dark for better contrast */
142
  }
143
 
144
- /* Customize the appearance of the examples section */
145
- .gr-examples {
146
- color: #333 !important; /* Ensure examples are visible */
147
  }
148
 
149
- /* Use inline styling for examples section */
150
- .gr-examples-btn {
151
- color: #333 !important; /* Make sure example suggestions are visible */
152
  }
153
 
154
- .container {
155
- max-width: 800px;
156
- margin: 0 auto;
157
- padding: 20px;
158
  }
 
 
159
  .results-container {
160
  display: flex;
161
  flex-wrap: wrap;
162
  justify-content: space-between;
163
  }
 
164
  .course-card {
165
  background-color: white;
166
  border-radius: 8px;
@@ -170,27 +170,33 @@ h1, h2, p {
170
  width: 48%;
171
  transition: transform 0.2s;
172
  }
 
173
  .course-card:hover {
174
  transform: translateY(-5px);
175
  }
 
176
  .course-image {
177
  width: 100%;
178
  height: 150px;
179
  object-fit: cover;
180
  }
 
181
  .course-info {
182
  padding: 15px;
183
  }
 
184
  .course-info h3 {
185
  margin-top: 0;
186
  font-size: 18px;
187
  color: #333;
188
  }
 
189
  .course-info p {
190
  color: #666;
191
  font-size: 14px;
192
  margin-bottom: 10px;
193
  }
 
194
  .course-link {
195
  display: inline-block;
196
  background-color: #007bff;
@@ -201,9 +207,11 @@ h1, h2, p {
201
  font-size: 14px;
202
  transition: background-color 0.2s;
203
  }
 
204
  .course-link:hover {
205
  background-color: #0056b3;
206
  }
 
207
  .no-results {
208
  text-align: center;
209
  color: #666;
 
132
  font-family: Arial, sans-serif;
133
  background-color: #f0f2f5;
134
  }
135
+
136
  h1, h2, p {
137
  color: #333; /* Darker color for better visibility */
138
  }
139
 
140
+ /* Examples section styling */
141
+ .gr-examples-title {
142
+ color: #333 !important; /* Make sure the Examples title is visible */
143
  }
144
 
145
+ .gr-examples-btn {
146
+ color: #333 !important; /* Set the color for each example button to dark */
 
147
  }
148
 
149
+ .gr-examples {
150
+ color: #333 !important; /* Apply color to the whole examples section */
 
151
  }
152
 
153
+ .gr-suggestions li {
154
+ color: #333 !important; /* Ensure suggestions are visible */
 
 
155
  }
156
+
157
+ /* Customize the appearance of the course results */
158
  .results-container {
159
  display: flex;
160
  flex-wrap: wrap;
161
  justify-content: space-between;
162
  }
163
+
164
  .course-card {
165
  background-color: white;
166
  border-radius: 8px;
 
170
  width: 48%;
171
  transition: transform 0.2s;
172
  }
173
+
174
  .course-card:hover {
175
  transform: translateY(-5px);
176
  }
177
+
178
  .course-image {
179
  width: 100%;
180
  height: 150px;
181
  object-fit: cover;
182
  }
183
+
184
  .course-info {
185
  padding: 15px;
186
  }
187
+
188
  .course-info h3 {
189
  margin-top: 0;
190
  font-size: 18px;
191
  color: #333;
192
  }
193
+
194
  .course-info p {
195
  color: #666;
196
  font-size: 14px;
197
  margin-bottom: 10px;
198
  }
199
+
200
  .course-link {
201
  display: inline-block;
202
  background-color: #007bff;
 
207
  font-size: 14px;
208
  transition: background-color 0.2s;
209
  }
210
+
211
  .course-link:hover {
212
  background-color: #0056b3;
213
  }
214
+
215
  .no-results {
216
  text-align: center;
217
  color: #666;