-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
197 lines (171 loc) · 3.55 KB
/
Copy pathstyles.css
File metadata and controls
197 lines (171 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
:root {
color-scheme: dark;
--bg: #0b0e10;
--panel: #111819;
--panel-2: #182322;
--line: #2a3936;
--text: #f6f2e9;
--muted: #a9b6ae;
--green: #42d69b;
--blue: #74a5ff;
--amber: #f1be57;
--coral: #ff7f64;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
margin: 0;
min-height: 100vh;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background:
radial-gradient(circle at 85% 8%, rgba(255, 127, 100, 0.16), transparent 28%),
radial-gradient(circle at 14% 18%, rgba(66, 214, 155, 0.15), transparent 34%),
linear-gradient(135deg, #0b0e10 0%, #111817 48%, #10131a 100%);
color: var(--text);
}
button,
textarea { font: inherit; }
.shell {
width: min(1120px, calc(100vw - 32px));
margin: 0 auto;
padding: 40px 0;
}
.hero {
display: flex;
justify-content: space-between;
gap: 24px;
align-items: flex-end;
margin-bottom: 28px;
}
.eyebrow {
margin: 0 0 8px;
color: var(--green);
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
}
h1 {
margin: 0;
font-size: clamp(34px, 6vw, 64px);
line-height: 0.95;
letter-spacing: 0;
}
.lede {
max-width: 680px;
margin: 18px 0 0;
color: #dce5dc;
font-size: 18px;
line-height: 1.55;
}
.demo-link,
.composer button,
.prompts button {
border: 1px solid var(--line);
border-radius: 8px;
color: var(--text);
background: var(--panel-2);
text-decoration: none;
cursor: pointer;
}
.demo-link {
flex: 0 0 auto;
padding: 12px 16px;
}
.workspace {
display: grid;
grid-template-columns: 280px 1fr;
gap: 18px;
min-height: 620px;
}
.prompts {
display: flex;
flex-direction: column;
gap: 10px;
}
.prompts button {
padding: 14px;
text-align: left;
color: #e2eadf;
}
.prompts button:hover,
.demo-link:hover,
.composer button:hover {
border-color: var(--green);
}
.chat-panel {
display: grid;
grid-template-rows: 1fr auto;
min-height: 620px;
border: 1px solid var(--line);
border-radius: 12px;
background: rgba(17, 24, 25, 0.9);
overflow: hidden;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}
.messages {
display: flex;
flex-direction: column;
gap: 14px;
padding: 20px;
overflow: auto;
}
.message {
max-width: 78%;
padding: 14px 16px;
border-radius: 12px;
line-height: 1.5;
white-space: pre-wrap;
}
.message.assistant {
align-self: flex-start;
background: #172221;
border: 1px solid var(--line);
}
.message.user {
align-self: flex-end;
background: #245f4c;
}
.meta {
margin-top: 8px;
color: var(--muted);
font-size: 12px;
}
.composer {
display: grid;
grid-template-columns: 1fr auto;
gap: 12px;
padding: 16px;
border-top: 1px solid var(--line);
background: #0e1415;
}
textarea {
width: 100%;
resize: vertical;
min-height: 72px;
max-height: 180px;
border: 1px solid var(--line);
border-radius: 8px;
padding: 12px;
background: #0a1010;
color: var(--text);
outline: none;
}
textarea:focus { border-color: var(--blue); }
.composer button {
width: 96px;
background: var(--green);
color: #061713;
font-weight: 800;
}
@media (max-width: 760px) {
.shell { width: min(100vw - 24px, 1120px); padding: 24px 0; }
.hero { display: block; }
.demo-link { display: inline-block; margin-top: 18px; }
.workspace { grid-template-columns: 1fr; min-height: 0; }
.prompts { display: grid; grid-template-columns: 1fr; }
.chat-panel { min-height: 560px; }
.message { max-width: 92%; }
.composer { grid-template-columns: 1fr; }
.composer button { width: 100%; height: 44px; }
}