diff src/site.css @ 79:d4473741142c

chat UI
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 02 Sep 2025 16:33:45 -0600
parents b96cf27e719d
children
line wrap: on
line diff
--- a/src/site.css	Tue Sep 02 09:46:04 2025 -0600
+++ b/src/site.css	Tue Sep 02 16:33:45 2025 -0600
@@ -93,6 +93,24 @@
 	white-space: pre-wrap;
 }
 
+div[role] div[flex] {
+	display: flex;
+}
+div[role=user] div[flex] {
+	justify-content: flex-end;
+}
+div[role] div[bubble] {
+	border-radius: 20px;
+	padding: 4px 20px;
+	margin-top: 16px;
+}
+div[role=user] div[bubble] {
+	background-color: #C1D5D9;
+	max-width: 70%;
+}
+div[role=assistant] div[bubble] {
+	background-color: #E0E0E0;
+}
 div[role=assistant] div[trans] {
 	display: none;
 	border-top: 1px solid #cccccc;