Spaces:
Running
Running
Update css/theme.css
Browse files- css/theme.css +19 -10
css/theme.css
CHANGED
|
@@ -1,23 +1,32 @@
|
|
| 1 |
-
with gr.Blocks(title="Minimal Selfhood Threshold") as demo:
|
| 2 |
-
with open("css/theme.css") as f:
|
| 3 |
-
gr.HTML(f"<style>{f.read()}</style>")
|
| 4 |
:root {
|
| 5 |
-
--bg: #080f1e;
|
| 6 |
-
--fg: #e8eaf0;
|
| 7 |
-
--
|
| 8 |
-
--
|
|
|
|
| 9 |
}
|
|
|
|
| 10 |
.gradio-container {
|
| 11 |
background: var(--bg);
|
| 12 |
color: var(--fg);
|
| 13 |
}
|
|
|
|
| 14 |
h1, h2, h3, h4 {
|
| 15 |
color: var(--fg);
|
| 16 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
footer, .dark .footer {
|
| 18 |
background: var(--bg);
|
| 19 |
color: var(--muted);
|
| 20 |
}
|
| 21 |
-
button {
|
| 22 |
-
border-radius: 8px !important;
|
| 23 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
:root {
|
| 2 |
+
--bg: #080f1e; /* deep midnight blue */
|
| 3 |
+
--fg: #e8eaf0; /* light foreground text */
|
| 4 |
+
--gold: #ffd228; /* gold for awakened cells */
|
| 5 |
+
--blue: #1e3a8a; /* dim blue for sleeping cells */
|
| 6 |
+
--muted: #b7c0d4; /* muted text */
|
| 7 |
}
|
| 8 |
+
|
| 9 |
.gradio-container {
|
| 10 |
background: var(--bg);
|
| 11 |
color: var(--fg);
|
| 12 |
}
|
| 13 |
+
|
| 14 |
h1, h2, h3, h4 {
|
| 15 |
color: var(--fg);
|
| 16 |
}
|
| 17 |
+
|
| 18 |
+
button {
|
| 19 |
+
border-radius: 10px !important;
|
| 20 |
+
background-color: var(--blue);
|
| 21 |
+
color: var(--fg);
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
button:hover {
|
| 25 |
+
background-color: var(--gold);
|
| 26 |
+
color: #000;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
footer, .dark .footer {
|
| 30 |
background: var(--bg);
|
| 31 |
color: var(--muted);
|
| 32 |
}
|
|
|
|
|
|
|
|
|