ZENLLC commited on
Commit
8b603dc
Β·
verified Β·
1 Parent(s): de31d7b

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +39 -3
style.css CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  :root {
2
  --zen-accent-h: 220; /* Change for color theme */
3
  --zen-accent-s: 95%;
@@ -5,25 +8,52 @@
5
  --zen-font: "Inter", "Segoe UI", Arial, sans-serif;
6
  }
7
 
 
 
 
8
  html, body, * {
9
  font-family: var(--zen-font);
10
  font-size: 1.08em;
11
  }
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  .gr-button-primary {
14
  background: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
15
- color: white;
16
  border: none;
17
  }
18
  .gr-button-primary:hover { filter: brightness(1.1); }
19
 
 
 
 
20
  .gr-chatbot .message.user {
21
  background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 25%), .18);
 
22
  }
23
  .gr-chatbot .message.bot {
24
  background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 15%), .13);
 
25
  }
26
 
 
 
 
27
  .gr-image, .gr-plot {
28
  border-radius: 12px;
29
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
@@ -34,6 +64,12 @@ html, body, * {
34
  border-radius: 8px;
35
  }
36
 
37
- body {
38
- background: #f7fafe;
 
 
 
 
 
 
39
  }
 
1
+ /* ─────────────────────────────────────────
2
+ Core theme variables
3
+ ────────────────────────────────────────── */
4
  :root {
5
  --zen-accent-h: 220; /* Change for color theme */
6
  --zen-accent-s: 95%;
 
8
  --zen-font: "Inter", "Segoe UI", Arial, sans-serif;
9
  }
10
 
11
+ /* ─────────────────────────────────────────
12
+ Global text & layout
13
+ ────────────────────────────────────────── */
14
  html, body, * {
15
  font-family: var(--zen-font);
16
  font-size: 1.08em;
17
  }
18
 
19
+ /* NEW: default page text is solid black */
20
+ body {
21
+ background: #f7fafe; /* existing backdrop */
22
+ color: #000; /* ← readable on light bg */
23
+ }
24
+
25
+ /* NEW: ensure markdown & headings inherit black */
26
+ .gr-markdown, .markdown-body,
27
+ .gr-block, p,
28
+ h1, h2, h3, h4, h5, h6 {
29
+ color: #000;
30
+ }
31
+
32
+ /* ─────────────────────────────────────────
33
+ Buttons
34
+ ────────────────────────────────────────── */
35
  .gr-button-primary {
36
  background: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
37
+ color: #fff;
38
  border: none;
39
  }
40
  .gr-button-primary:hover { filter: brightness(1.1); }
41
 
42
+ /* ─────────────────────────────────────────
43
+ Chatbot bubbles
44
+ ────────────────────────────────────────── */
45
  .gr-chatbot .message.user {
46
  background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 25%), .18);
47
+ color: #000; /* NEW: readable text */
48
  }
49
  .gr-chatbot .message.bot {
50
  background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 15%), .13);
51
+ color: #000; /* NEW: readable text */
52
  }
53
 
54
+ /* ─────────────────────────────────────────
55
+ Media & input
56
+ ────────────────────────────────────────── */
57
  .gr-image, .gr-plot {
58
  border-radius: 12px;
59
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
 
64
  border-radius: 8px;
65
  }
66
 
67
+ /* NEW: text inside textareas is black */
68
+ .gr-textbox textarea {
69
+ color: #000;
70
+ }
71
+
72
+ /* Optional: links keep accent hue */
73
+ a {
74
+ color: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
75
  }