triflix commited on
Commit
061161f
·
verified ·
1 Parent(s): a46bf43

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +45 -0
static/style.css CHANGED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: Arial, sans-serif;
3
+ }
4
+
5
+ .chat-box {
6
+ height: 70vh;
7
+ overflow-y: auto;
8
+ display: flex;
9
+ flex-direction: column;
10
+ padding: 1rem;
11
+ }
12
+
13
+ .message-container {
14
+ display: flex;
15
+ margin-bottom: 1rem;
16
+ }
17
+
18
+ .message-bubble {
19
+ max-width: 70%;
20
+ padding: 0.75rem 1rem;
21
+ border-radius: 1.25rem;
22
+ word-wrap: break-word;
23
+ }
24
+
25
+ /* User messages align to the right */
26
+ .user-message {
27
+ justify-content: flex-end;
28
+ }
29
+
30
+ .user-message .message-bubble {
31
+ background-color: #0d6efd; /* Bootstrap primary color */
32
+ color: white;
33
+ border-bottom-right-radius: 0.25rem;
34
+ }
35
+
36
+ /* Bot messages align to the left */
37
+ .bot-message {
38
+ justify-content: flex-start;
39
+ }
40
+
41
+ .bot-message .message-bubble {
42
+ background-color: #e9ecef; /* Bootstrap light grey */
43
+ color: black;
44
+ border-bottom-left-radius: 0.25rem;
45
+ }