comparison src/site.css @ 79:d4473741142c default tip

chat UI
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 02 Sep 2025 16:33:45 -0600
parents b96cf27e719d
children
comparison
equal deleted inserted replaced
78:2be9ea450de3 79:d4473741142c
91 pre, 91 pre,
92 code { 92 code {
93 white-space: pre-wrap; 93 white-space: pre-wrap;
94 } 94 }
95 95
96 div[role] div[flex] {
97 display: flex;
98 }
99 div[role=user] div[flex] {
100 justify-content: flex-end;
101 }
102 div[role] div[bubble] {
103 border-radius: 20px;
104 padding: 4px 20px;
105 margin-top: 16px;
106 }
107 div[role=user] div[bubble] {
108 background-color: #C1D5D9;
109 max-width: 70%;
110 }
111 div[role=assistant] div[bubble] {
112 background-color: #E0E0E0;
113 }
96 div[role=assistant] div[trans] { 114 div[role=assistant] div[trans] {
97 display: none; 115 display: none;
98 border-top: 1px solid #cccccc; 116 border-top: 1px solid #cccccc;
99 white-space: pre-wrap; 117 white-space: pre-wrap;
100 } 118 }