Spaces:
Running
Running
Yufan_Zhou commited on
Commit ·
fb58205
1
Parent(s): 83fafff
Fix text color: ensure all labels and text are black
Browse files
app.py
CHANGED
|
@@ -75,6 +75,28 @@ body, html {
|
|
| 75 |
padding: 0 !important;
|
| 76 |
}
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
.gradio-container {
|
| 79 |
width: 100% !important;
|
| 80 |
max-width: none !important;
|
|
|
|
| 75 |
padding: 0 !important;
|
| 76 |
}
|
| 77 |
|
| 78 |
+
/* Force all text to be dark and readable */
|
| 79 |
+
body, p, span, div, label, input, textarea, select {
|
| 80 |
+
color: #222 !important;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Exception: keep white text on colored backgrounds */
|
| 84 |
+
.section-header, .section-header * {
|
| 85 |
+
color: white !important;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.generate-btn, .generate-btn * {
|
| 89 |
+
color: white !important;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.warning-box, .warning-box * {
|
| 93 |
+
color: #856404 !important;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.info-box, .info-box * {
|
| 97 |
+
color: #004085 !important;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
.gradio-container {
|
| 101 |
width: 100% !important;
|
| 102 |
max-width: none !important;
|