Spaces:
Running
Running
Update playground.html
Browse files- playground.html +24 -34
playground.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
|
14 |
|
15 |
<style>
|
16 |
-
|
17 |
|
18 |
:root {
|
19 |
--bg-dark: #0a0a0f;
|
@@ -207,24 +207,23 @@
|
|
207 |
border-radius: 15px;
|
208 |
}
|
209 |
|
210 |
-
.chat-container {
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
}
|
215 |
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
}
|
228 |
|
229 |
.message {
|
230 |
max-width: 80%;
|
@@ -269,22 +268,13 @@
|
|
269 |
border: 1px solid var(--border-color);
|
270 |
}
|
271 |
|
272 |
-
chat-input {
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
bottom: 0;
|
280 |
-
z-index: 1; /* Ensure it stays above messages */
|
281 |
-
background-color: var(--bg-darker);
|
282 |
-
}
|
283 |
-
|
284 |
-
/* Optional: Adjust input field style for smooth UX */
|
285 |
-
.chat-input input {
|
286 |
-
flex-grow: 1;
|
287 |
-
}
|
288 |
|
289 |
.chat-input button {
|
290 |
background-color: var(--accent-color);
|
|
|
13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
|
14 |
|
15 |
<style>
|
16 |
+
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Protest+Revolution&display=swap');
|
17 |
|
18 |
:root {
|
19 |
--bg-dark: #0a0a0f;
|
|
|
207 |
border-radius: 15px;
|
208 |
}
|
209 |
|
210 |
+
.chat-container {
|
211 |
+
display: none;
|
212 |
+
flex-direction: column;
|
213 |
+
height: 100%;
|
214 |
+
}
|
215 |
|
216 |
+
.chat-messages {
|
217 |
+
flex: 1;
|
218 |
+
overflow-y: auto;
|
219 |
+
padding: 20px;
|
220 |
+
display: flex;
|
221 |
+
flex-direction: column;
|
222 |
+
gap: 16px;
|
223 |
+
background-color: var(--bg-dark);
|
224 |
+
font-family: 'JetBrains Mono', monospace;
|
225 |
+
overscroll-behavior: contain;
|
226 |
+
}
|
|
|
227 |
|
228 |
.message {
|
229 |
max-width: 80%;
|
|
|
268 |
border: 1px solid var(--border-color);
|
269 |
}
|
270 |
|
271 |
+
.chat-input {
|
272 |
+
display: flex;
|
273 |
+
gap: 12px;
|
274 |
+
padding: 16px;
|
275 |
+
background-color: var(--bg-darker);
|
276 |
+
border-top: 1px solid var(--border-color);
|
277 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
|
279 |
.chat-input button {
|
280 |
background-color: var(--accent-color);
|