elmadany commited on
Commit
41865db
·
verified ·
1 Parent(s): fc96354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -9
app.py CHANGED
@@ -76,6 +76,7 @@ google_style_css = """
76
  }
77
  div[class*="gradio-container"] {
78
  background:#FFFBF5 !important;
 
79
  }
80
 
81
  div.svelte-1nguped {
@@ -163,6 +164,10 @@ button.svelte-1tcem6n.svelte-1tcem6n {
163
  font-weight: bold;
164
  /* font-size: 16px; */
165
  padding: 8px 5px;
 
 
 
 
166
  }
167
  .tab-container.svelte-1tcem6n.svelte-1tcem6n:after {
168
  content: "";
@@ -185,6 +190,7 @@ div[class*="gradio-container"] .prose th {
185
 
186
 
187
  div[class*="gradio-container"] .prose table {
 
188
  border-top: 2px solid #dca02a !important;
189
  border-bottom: 2px solid #dca02a !important;
190
  margin-bottom:20px;
@@ -220,6 +226,7 @@ div[class*="gradio-container"] .prose td {
220
  padding: 8px 5px;
221
  border: 0 !important;
222
  vertical-align: middle;
 
223
  }
224
  div[class*="gradio-container"] .prose th:first-child,
225
  div[class*="gradio-container"] .prose td:first-child {
@@ -264,18 +271,15 @@ div[class*="gradio-container"] .prose td:not(:first-child) {
264
  text-align: center;
265
  }
266
 
267
-
268
-
269
- html.dark .content-card {
270
- background-color: #fff !important;
271
- color: #000 !important;
272
  }
273
-
274
- div[class*="gradio-container"] .prose * {
275
  color: #000 !important;
276
- background-color: #fff !important;
277
  }
278
-
279
  """
280
 
281
  introduction_text = """
 
76
  }
77
  div[class*="gradio-container"] {
78
  background:#FFFBF5 !important;
79
+ color:#000 !important;
80
  }
81
 
82
  div.svelte-1nguped {
 
164
  font-weight: bold;
165
  /* font-size: 16px; */
166
  padding: 8px 5px;
167
+ background-color: #fff !important;
168
+ }
169
+ button.svelte-1tcem6n.svelte-1tcem6n:hover {
170
+ background-color: #de8fc2 !important;
171
  }
172
  .tab-container.svelte-1tcem6n.svelte-1tcem6n:after {
173
  content: "";
 
190
 
191
 
192
  div[class*="gradio-container"] .prose table {
193
+ color:#000 !important;
194
  border-top: 2px solid #dca02a !important;
195
  border-bottom: 2px solid #dca02a !important;
196
  margin-bottom:20px;
 
226
  padding: 8px 5px;
227
  border: 0 !important;
228
  vertical-align: middle;
229
+ color:#000 !important;
230
  }
231
  div[class*="gradio-container"] .prose th:first-child,
232
  div[class*="gradio-container"] .prose td:first-child {
 
271
  text-align: center;
272
  }
273
 
274
+ div[class*="gradio-container"] .md :not(pre)>code
275
+ {
276
+ background: #fcbb99 !important;
277
+ border: 1px solid #763412 !important;
 
278
  }
279
+ div[class*="gradio-container"] .md *
280
+ {
281
  color: #000 !important;
 
282
  }
 
283
  """
284
 
285
  introduction_text = """