Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -240,21 +240,35 @@ custom_css = """
|
|
240 |
color: white;
|
241 |
background: linear-gradient(90deg, hsla(268, 90%, 78%, 1) 0%, hsla(260, 72%, 80%, 1) 50%, hsla(247, 73%, 75%, 1) 100%);
|
242 |
}
|
243 |
-
|
244 |
#container .prose {
|
245 |
text-align: center !important;
|
246 |
}
|
247 |
-
|
248 |
#container h1 {
|
249 |
font-weight: bold;
|
250 |
font-size: 40px;
|
251 |
margin: 0px;
|
252 |
}
|
253 |
-
|
254 |
#container p {
|
255 |
font-size: 18px;
|
256 |
text-align: center;
|
257 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
"""
|
259 |
|
260 |
with gr.Blocks(
|
|
|
240 |
color: white;
|
241 |
background: linear-gradient(90deg, hsla(268, 90%, 78%, 1) 0%, hsla(260, 72%, 80%, 1) 50%, hsla(247, 73%, 75%, 1) 100%);
|
242 |
}
|
|
|
243 |
#container .prose {
|
244 |
text-align: center !important;
|
245 |
}
|
|
|
246 |
#container h1 {
|
247 |
font-weight: bold;
|
248 |
font-size: 40px;
|
249 |
margin: 0px;
|
250 |
}
|
|
|
251 |
#container p {
|
252 |
font-size: 18px;
|
253 |
text-align: center;
|
254 |
}
|
255 |
+
|
256 |
+
/* Custom slider color */
|
257 |
+
.svelte-10lj3xl input[type="range"] {
|
258 |
+
background-color: #a78bfa !important;
|
259 |
+
}
|
260 |
+
|
261 |
+
.svelte-10lj3xl input[type="range"]::-webkit-slider-runnable-track {
|
262 |
+
background: #a78bfa !important;
|
263 |
+
}
|
264 |
+
|
265 |
+
.svelte-10lj3xl input[type="range"]::-moz-range-track {
|
266 |
+
background: #a78bfa !important;
|
267 |
+
}
|
268 |
+
|
269 |
+
.svelte-10lj3xl input[type="range"]::-ms-track {
|
270 |
+
background: #a78bfa !important;
|
271 |
+
}
|
272 |
"""
|
273 |
|
274 |
with gr.Blocks(
|