aryan79 commited on
Commit
161faeb
·
verified ·
1 Parent(s): 57b1602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -29
app.py CHANGED
@@ -132,35 +132,19 @@ body {
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,33 +154,27 @@ h1, h2, p {
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,11 +185,9 @@ h1, h2, p {
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;
 
132
  font-family: Arial, sans-serif;
133
  background-color: #f0f2f5;
134
  }
135
+ h1, h2, p, .container .examples {
 
136
  color: #333; /* Darker color for better visibility */
137
  }
138
+ .container {
139
+ max-width: 800px;
140
+ margin: 0 auto;
141
+ padding: 20px;
142
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  .results-container {
144
  display: flex;
145
  flex-wrap: wrap;
146
  justify-content: space-between;
147
  }
 
148
  .course-card {
149
  background-color: white;
150
  border-radius: 8px;
 
154
  width: 48%;
155
  transition: transform 0.2s;
156
  }
 
157
  .course-card:hover {
158
  transform: translateY(-5px);
159
  }
 
160
  .course-image {
161
  width: 100%;
162
  height: 150px;
163
  object-fit: cover;
164
  }
 
165
  .course-info {
166
  padding: 15px;
167
  }
 
168
  .course-info h3 {
169
  margin-top: 0;
170
  font-size: 18px;
171
  color: #333;
172
  }
 
173
  .course-info p {
174
  color: #666;
175
  font-size: 14px;
176
  margin-bottom: 10px;
177
  }
 
178
  .course-link {
179
  display: inline-block;
180
  background-color: #007bff;
 
185
  font-size: 14px;
186
  transition: background-color 0.2s;
187
  }
 
188
  .course-link:hover {
189
  background-color: #0056b3;
190
  }
 
191
  .no-results {
192
  text-align: center;
193
  color: #666;