AkshayaKeerthi commited on
Commit
c6cb92e
1 Parent(s): ec6ddd5

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +68 -0
static/styles.css CHANGED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* static/styles.css */
2
+ body {
3
+ font-family: Arial, sans-serif;
4
+ background-color: #f0f0f0;
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ height: 100vh;
9
+ margin: 0;
10
+ }
11
+
12
+ .chat-container {
13
+ width: 400px;
14
+ background-color: #ffffff;
15
+ border-radius: 8px;
16
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
17
+ overflow: hidden;
18
+ }
19
+
20
+ .chat-box {
21
+ max-height: 500px;
22
+ overflow-y: auto;
23
+ padding: 20px;
24
+ border-bottom: 1px solid #ddd;
25
+ }
26
+
27
+ .message {
28
+ padding: 10px;
29
+ margin: 10px 0;
30
+ border-radius: 5px;
31
+ max-width: 80%;
32
+ }
33
+
34
+ .message.sent {
35
+ background-color: #dcf8c6;
36
+ align-self: flex-end;
37
+ margin-left: auto;
38
+ }
39
+
40
+ .message.received {
41
+ background-color: #f1f0f0;
42
+ }
43
+
44
+ #chat-form {
45
+ display: flex;
46
+ padding: 20px;
47
+ background-color: #ffffff;
48
+ }
49
+
50
+ #user-input {
51
+ flex: 1;
52
+ padding: 10px;
53
+ border: 1px solid #ddd;
54
+ border-radius: 5px;
55
+ }
56
+
57
+ button {
58
+ padding: 10px 20px;
59
+ border: none;
60
+ background-color: #007bff;
61
+ color: white;
62
+ border-radius: 5px;
63
+ margin-left: 10px;
64
+ }
65
+
66
+ button:hover {
67
+ background-color: #0056b3;
68
+ }