Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
margin-top: 0;
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
margin-top: 5px;
|
16 |
}
|
17 |
|
18 |
-
.
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
}
|
25 |
|
26 |
-
.
|
27 |
-
|
|
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Reset styles */
|
2 |
+
* {
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
box-sizing: border-box;
|
6 |
+
}
|
7 |
+
|
8 |
body {
|
9 |
+
font-family: Arial, sans-serif;
|
10 |
+
background-color: #f3f3f3;
|
11 |
+
display: flex;
|
12 |
+
justify-content: center;
|
13 |
+
align-items: center;
|
14 |
+
min-height: 100vh;
|
15 |
+
}
|
16 |
+
|
17 |
+
.container {
|
18 |
+
max-width: 700px;
|
19 |
+
width: 100%;
|
20 |
+
background-color: #fff;
|
21 |
+
border-radius: 10px;
|
22 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
23 |
+
}
|
24 |
+
|
25 |
+
.chat-window {
|
26 |
+
padding: 20px;
|
27 |
+
height: 500px;
|
28 |
+
overflow-y: auto;
|
29 |
+
}
|
30 |
+
|
31 |
+
.messages {
|
32 |
+
display: flex;
|
33 |
+
flex-direction: column;
|
34 |
+
height: 100%;
|
35 |
}
|
36 |
|
37 |
+
.messages .message {
|
38 |
+
margin-bottom: 10px;
|
|
|
39 |
}
|
40 |
|
41 |
+
.messages .user-message {
|
42 |
+
align-self: flex-end;
|
43 |
+
background-color: #dcf8c6;
|
44 |
+
border-radius: 10px 10px 0 10px;
|
|
|
45 |
}
|
46 |
|
47 |
+
.messages .bot-message {
|
48 |
+
align-self: flex-start;
|
49 |
+
background-color: #e6e6e6;
|
50 |
+
border-radius: 10px 10px 10px 10px;
|
|
|
|
|
51 |
}
|
52 |
|
53 |
+
.input-container {
|
54 |
+
display: flex;
|
55 |
+
margin-top: 20px;
|
56 |
}
|
57 |
+
|
58 |
+
#user-input {
|
59 |
+
flex: 1;
|
60 |
+
padding: 10px;
|
61 |
+
border: none;
|
62 |
+
border-bottom-left-radius: 10px;
|
63 |
+
font-size: 16px;
|
64 |
+
}
|
65 |
+
|
66 |
+
#user-input:focus {
|
67 |
+
outline: none;
|
68 |
+
}
|
69 |
+
|
70 |
+
#send-button {
|
71 |
+
background-color: #0077ff;
|
72 |
+
color: #fff;
|
73 |
+
border: none;
|
74 |
+
padding: 10px;
|
75 |
+
border-top-right-radius: 10px;
|
76 |
+
cursor: pointer;
|
77 |
+
}
|
78 |
+
|
79 |
+
#send-button:hover {
|
80 |
+
background-color: #0066cc;
|
81 |
+
}
|