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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -31,7 +31,7 @@ google_style_css = """
31
  /* Citation Block */
32
  .citation-block {
33
  position: relative;
34
- background-color: #FDF6E3; /* Light cream background */
35
  border-radius: 8px;
36
  padding: 25px;
37
  }
@@ -47,13 +47,13 @@ google_style_css = """
47
  position: absolute;
48
  top: 15px;
49
  right: 15px;
50
- background-color: #D97706;
51
- border-color: #c56a05;
52
- color: white;
53
  }
54
  .citation-block .btn-copy:hover, .citation-block .btn-copy:focus {
55
- background-color: #c56a05;
56
- color: white;
57
  }
58
 
59
 
@@ -99,7 +99,7 @@ div.svelte-1nguped {
99
  }
100
  .content-card h4 {
101
  font-family: "Rubik", sans-serif;
102
- color: #7d3561;
103
  }
104
  .content-card h2 {
105
  font-family: "Rubik", sans-serif;
@@ -107,7 +107,7 @@ div.svelte-1nguped {
107
  font-weight: 600;
108
  line-height: 1.25;
109
  letter-spacing: -1px;
110
- color: #2f3b7d;
111
  text-transform:none;
112
 
113
  /* font-size: 30px;
@@ -118,10 +118,10 @@ div.svelte-1nguped {
118
  }
119
  .content-card h3 {
120
  font-size: 20px;
121
- color: #2f3b7d;
122
  }
123
  .content-card h3 .title {
124
- color: #7d3561;
125
  }
126
  .content-card p {
127
  /* font-size: 18px; */
@@ -199,7 +199,7 @@ div[class*="gradio-container"] .prose thead tr {
199
  }
200
  div[class*="gradio-container"] .prose th .rotate_div {
201
  transform: rotate(-45deg) !important;
202
- color: #7d3561;
203
  padding-top: 10px !important;
204
  padding-bottom: 5px !important;
205
  font-weight: None !important;
@@ -208,7 +208,7 @@ font-size: 12px !important;
208
  }
209
  div[class*="gradio-container"] .prose th {
210
  /* transform: rotate(-90deg) !important; */
211
- color: #7d3561;
212
  font-weight: bold;
213
  /* font-size: 20px; */
214
  padding: 8px 5px;
@@ -268,6 +268,7 @@ div[class*="gradio-container"] .prose td:not(:first-child) {
268
 
269
  html.dark .content-card {
270
  background-color: #fff !important;
 
271
  }
272
 
273
  div[class*="gradio-container"] .prose * {
 
31
  /* Citation Block */
32
  .citation-block {
33
  position: relative;
34
+ background-color: #FDF6E3 !important; /* Light cream background */
35
  border-radius: 8px;
36
  padding: 25px;
37
  }
 
47
  position: absolute;
48
  top: 15px;
49
  right: 15px;
50
+ background-color: #D97706 !important;
51
+ border-color: #c56a05 !important;
52
+ color: white !important;
53
  }
54
  .citation-block .btn-copy:hover, .citation-block .btn-copy:focus {
55
+ background-color: #c56a05 !important;
56
+ color: white !important;
57
  }
58
 
59
 
 
99
  }
100
  .content-card h4 {
101
  font-family: "Rubik", sans-serif;
102
+ color: #7d3561 !important;
103
  }
104
  .content-card h2 {
105
  font-family: "Rubik", sans-serif;
 
107
  font-weight: 600;
108
  line-height: 1.25;
109
  letter-spacing: -1px;
110
+ color: #2f3b7d !important;
111
  text-transform:none;
112
 
113
  /* font-size: 30px;
 
118
  }
119
  .content-card h3 {
120
  font-size: 20px;
121
+ color: #2f3b7d !important;
122
  }
123
  .content-card h3 .title {
124
+ color: #7d3561 !important;
125
  }
126
  .content-card p {
127
  /* font-size: 18px; */
 
199
  }
200
  div[class*="gradio-container"] .prose th .rotate_div {
201
  transform: rotate(-45deg) !important;
202
+ color: #7d3561 !important;
203
  padding-top: 10px !important;
204
  padding-bottom: 5px !important;
205
  font-weight: None !important;
 
208
  }
209
  div[class*="gradio-container"] .prose th {
210
  /* transform: rotate(-90deg) !important; */
211
+ color: #7d3561 !important;
212
  font-weight: bold;
213
  /* font-size: 20px; */
214
  padding: 8px 5px;
 
268
 
269
  html.dark .content-card {
270
  background-color: #fff !important;
271
+ color: #000 !important;
272
  }
273
 
274
  div[class*="gradio-container"] .prose * {