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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +41 -23
style.css CHANGED
@@ -1,5 +1,5 @@
1
  /* ─────────────────────────────────────────
2
- Core theme variables
3
  ────────────────────────────────────────── */
4
  :root {
5
  --zen-accent-h: 220; /* Change for color theme */
@@ -9,22 +9,23 @@
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
  }
@@ -34,43 +35,60 @@ h1, h2, h3, h4, h5, h6 {
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
- /* ── Chatbot bubbles ───────────────────────────── */
 
 
 
 
 
 
 
 
 
 
43
  .gr-chatbot,
44
  .gr-chatbot .message,
45
- .gr-chatbot .message.user,
46
- .gr-chatbot .message.bot {
47
- /* force bright text inside every bubble */
48
- color: #fff;
49
  }
50
 
51
- /* optional: tweak links inside bubbles so they’re still visible */
52
  .gr-chatbot a {
53
- color: hsl(var(--zen-accent-h) var(--zen-accent-s) 85%); /* lighter accent */
54
  }
 
55
  /* ─────────────────────────────────────────
56
- Media & input
57
  ────────────────────────────────────────── */
58
- .gr-image, .gr-plot {
 
59
  border-radius: 12px;
60
- box-shadow: 0 4px 16px rgba(0,0,0,.07);
61
  margin-top: 6px;
62
  }
63
 
64
- .gr-textbox, .gr-chatbot {
 
65
  border-radius: 8px;
66
  }
67
 
68
- /* NEW: text inside textareas is black */
69
  .gr-textbox textarea {
70
  color: #000;
71
  }
72
 
73
- /* Optional: links keep accent hue */
 
 
74
  a {
75
  color: hsl(var(--zen-accent-h) var(--zen-accent-s) var(--zen-accent-l));
76
  }
 
1
  /* ─────────────────────────────────────────
2
+ ZEN – Global Theme Variables
3
  ────────────────────────────────────────── */
4
  :root {
5
  --zen-accent-h: 220; /* Change for color theme */
 
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
  }
 
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
  }