Spaces:
Paused
Paused
Create style.py
Browse files- components/style.py +30 -0
components/style.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
custom_css = """
|
| 2 |
+
body {
|
| 3 |
+
background-color: #121212;
|
| 4 |
+
color: white;
|
| 5 |
+
}
|
| 6 |
+
.centered-text {
|
| 7 |
+
text-align: center;
|
| 8 |
+
margin-left: auto;
|
| 9 |
+
margin-right: auto;
|
| 10 |
+
}
|
| 11 |
+
#submit-btn, #symptom-btn, #faq-btn, #process-btn {
|
| 12 |
+
background-color: #cc5500 !important;
|
| 13 |
+
color: white;
|
| 14 |
+
font-weight: bold;
|
| 15 |
+
border-radius: 8px;
|
| 16 |
+
padding: 10px 20px;
|
| 17 |
+
}
|
| 18 |
+
#explanation-box textarea {
|
| 19 |
+
background-color: #1c1c1c !important;
|
| 20 |
+
color: #f0f0f0 !important;
|
| 21 |
+
border-radius: 10px;
|
| 22 |
+
border: 1px solid #444 !important;
|
| 23 |
+
font-size: 15px;
|
| 24 |
+
padding: 12px;
|
| 25 |
+
box-shadow: 0 0 8px rgba(0,0,0,0.4);
|
| 26 |
+
}
|
| 27 |
+
.gr-markdown > div {
|
| 28 |
+
background: transparent !important;
|
| 29 |
+
}
|
| 30 |
+
"""
|