Tabatha-625 commited on
Commit
0ea79ec
·
verified ·
1 Parent(s): c74af9c

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +64 -22
static/styles.css CHANGED
@@ -1,37 +1,79 @@
1
  :root {
2
- --bg-main: #0f172a;
3
- --bg-sidebar: #020617;
4
- --bg-user: #2563eb;
5
- --bg-ai: #1e293b;
6
- --border: #1e293b;
7
- --text-main: #e5e7eb;
 
 
 
 
 
8
  }
9
 
10
  body {
11
- background: var(--bg-main);
12
- color: var(--text-main);
13
- font-family: ui-sans-serif, system-ui, -apple-system;
 
 
 
 
 
 
 
 
 
 
14
  }
15
- .msg-user {
16
- background: var(--bg-user);
17
- margin-left: auto;
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
20
- .msg-ai {
21
- background: var(--bg-ai);
22
- margin-right: auto;
 
23
  }
24
 
25
  .msg {
26
  max-width: 720px;
27
- padding: 14px 18px;
28
- border-radius: 14px;
29
- white-space: pre-wrap;
30
- line-height: 1.6;
31
  }
32
- .chat-input {
33
- background: #020617;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  border: 1px solid var(--border);
35
  border-radius: 12px;
36
- padding: 14px;
 
 
37
  }
 
1
  :root {
2
+ --bg: #0f0f10;
3
+ --panel: #1a1a1c;
4
+ --border: #2a2a2d;
5
+ --text: #e5e7eb;
6
+ --muted: #9ca3af;
7
+ --accent: #10a37f;
8
+ }
9
+
10
+ * {
11
+ box-sizing: border-box;
12
+ font-family: system-ui, -apple-system, BlinkMacSystemFont;
13
  }
14
 
15
  body {
16
+ margin: 0;
17
+ background: var(--bg);
18
+ color: var(--text);
19
+ display: flex;
20
+ height: 100vh;
21
+ }
22
+
23
+ /* SIDEBAR */
24
+ .sidebar {
25
+ width: 260px;
26
+ background: var(--panel);
27
+ border-right: 1px solid var(--border);
28
+ padding: 12px;
29
  }
30
+
31
+ .new-chat {
32
+ border: 1px solid var(--border);
33
+ border-radius: 8px;
34
+ padding: 10px;
35
+ text-align: center;
36
+ cursor: pointer;
37
+ }
38
+
39
+ /* CHAT AREA */
40
+ .chat {
41
+ flex: 1;
42
+ display: flex;
43
+ flex-direction: column;
44
  }
45
 
46
+ .messages {
47
+ flex: 1;
48
+ padding: 24px;
49
+ overflow-y: auto;
50
  }
51
 
52
  .msg {
53
  max-width: 720px;
54
+ margin-bottom: 24px;
 
 
 
55
  }
56
+
57
+ .user {
58
+ align-self: flex-end;
59
+ }
60
+
61
+ .assistant {
62
+ align-self: flex-start;
63
+ }
64
+
65
+ /* INPUT */
66
+ .input {
67
+ border-top: 1px solid var(--border);
68
+ padding: 16px;
69
+ }
70
+
71
+ textarea {
72
+ width: 100%;
73
+ background: #1f1f22;
74
  border: 1px solid var(--border);
75
  border-radius: 12px;
76
+ padding: 12px;
77
+ color: var(--text);
78
+ resize: none;
79
  }