ZENLLC commited on
Commit
b4703a4
Β·
verified Β·
1 Parent(s): 3a5eb64

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +16 -62
style.css CHANGED
@@ -1,6 +1,3 @@
1
- /* ─────────────────────────────────────────
2
- ZEN – Global Theme Variables
3
- ────────────────────────────────────────── */
4
  :root {
5
  --zen-accent-h: 220; /* Change for color theme */
6
  --zen-accent-s: 95%;
@@ -8,87 +5,44 @@
8
  --zen-font: "Inter", "Segoe UI", Arial, sans-serif;
9
  }
10
 
11
- /* ─────────────────────────────────────────
12
- Base Typography & Layout
13
- ────────────────────────────────────────── */
14
  html, body, * {
15
  font-family: var(--zen-font);
16
  font-size: 1.08em;
17
  }
18
 
19
- body {
20
- background: #f7fafe; /* light slate-blue backdrop */
21
- color: #000; /* default page text: black */
22
- }
23
-
24
- /* Markdown / rich-text blocks inherit black page text */
25
- .gr-markdown,
26
- .markdown-body,
27
- .gr-block,
28
- p,
29
- h1, h2, h3, h4, h5, h6 {
30
- color: #000;
31
- }
32
-
33
- /* ─────────────────────────────────────────
34
- Buttons
35
- ────────────────────────────────────────── */
36
  .gr-button-primary {
37
  background: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
38
- color: #ffffff;
39
  border: none;
40
  }
41
- .gr-button-primary:hover {
42
- filter: brightness(1.1);
43
- }
44
 
45
- /* ─────────────────────────────────────────
46
- Chatbot Bubbles
47
- ────────────────────────────────────────── */
48
  .gr-chatbot .message.user {
49
- background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 25%), 0.18);
 
50
  }
51
  .gr-chatbot .message.bot {
52
- background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 15%), 0.13);
 
53
  }
54
 
55
- /* Force PURE-WHITE text inside every chatbot bubble (overrides anything else) */
56
- .gr-chatbot,
57
- .gr-chatbot .message,
58
- .gr-chatbot .message *,
59
- .gr-chatbot .markdown-body,
60
- .gr-chatbot .markdown-body * {
61
- color: #ffffff !important;
62
  }
63
 
64
- /* Optional: accent-colored links inside bubbles so they’re visible on white text */
65
- .gr-chatbot a {
66
- color: hsl(var(--zen-accent-h) var(--zen-accent-s) 85%);
67
- }
68
-
69
- /* ─────────────────────────────────────────
70
- Media & Inputs
71
- ────────────────────────────────────────── */
72
- .gr-image,
73
- .gr-plot {
74
  border-radius: 12px;
75
- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
76
  margin-top: 6px;
77
  }
78
 
79
- .gr-textbox,
80
- .gr-chatbot {
81
  border-radius: 8px;
82
  }
83
 
84
- /* Black text inside the user input textarea */
85
- .gr-textbox textarea {
86
- color: #000;
87
- }
88
-
89
- /* ─────────────────────────────────────────
90
- General Links on the Page
91
- ────────────────────────────────────────── */
92
- a {
93
- color: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
94
  }
 
 
 
 
1
  :root {
2
  --zen-accent-h: 220; /* Change for color theme */
3
  --zen-accent-s: 95%;
 
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
+ /* ───── Chatbot bubbles ───── */
 
 
21
  .gr-chatbot .message.user {
22
+ background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 25%), .18);
23
+ color: #fff; /* ← NEW */
24
  }
25
  .gr-chatbot .message.bot {
26
+ background: hsla(var(--zen-accent-h) var(--zen-accent-s) calc(var(--zen-accent-l) + 15%), .13);
27
+ color: #fff; /* ← NEW */
28
  }
29
 
30
+ /* Make *everything* inside the bubbles white (links, bold, code, etc.) */
31
+ .gr-chatbot .message.user *,
32
+ .gr-chatbot .message.bot * {
33
+ color: #fff !important; /* ← NEW */
 
 
 
34
  }
35
 
36
+ .gr-image, .gr-plot {
 
 
 
 
 
 
 
 
 
37
  border-radius: 12px;
38
+ box-shadow: 0 4px 16px rgba(0,0,0,.07);
39
  margin-top: 6px;
40
  }
41
 
42
+ .gr-textbox, .gr-chatbot {
 
43
  border-radius: 8px;
44
  }
45
 
46
+ body {
47
+ background: #f7fafe;
 
 
 
 
 
 
 
 
48
  }