Spaces:
Sleeping
Sleeping
Create static/styles.css
Browse files- static/styles.css +94 -0
static/styles.css
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
display: flex;
|
6 |
+
justify-content: center;
|
7 |
+
align-items: center;
|
8 |
+
height: 100vh;
|
9 |
+
background-color: #f0f2f5;
|
10 |
+
}
|
11 |
+
|
12 |
+
.chat-container {
|
13 |
+
width: 400px;
|
14 |
+
height: 600px;
|
15 |
+
border: 1px solid #ccc;
|
16 |
+
border-radius: 10px;
|
17 |
+
overflow: hidden;
|
18 |
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
19 |
+
background-color: white;
|
20 |
+
}
|
21 |
+
|
22 |
+
.chat-header {
|
23 |
+
background-color: #f28c38;
|
24 |
+
color: white;
|
25 |
+
padding: 10px;
|
26 |
+
text-align: center;
|
27 |
+
font-size: 20px;
|
28 |
+
}
|
29 |
+
|
30 |
+
.chat-messages {
|
31 |
+
height: 500px;
|
32 |
+
overflow-y: auto;
|
33 |
+
padding: 20px;
|
34 |
+
}
|
35 |
+
|
36 |
+
.bot-message {
|
37 |
+
background-color: #fffbe6;
|
38 |
+
padding: 10px;
|
39 |
+
margin: 10px 0;
|
40 |
+
border-radius: 5px;
|
41 |
+
max-width: 70%;
|
42 |
+
}
|
43 |
+
|
44 |
+
.user-message {
|
45 |
+
background-color: #e1f5fe;
|
46 |
+
padding: 10px;
|
47 |
+
margin: 10px 0;
|
48 |
+
border-radius: 5px;
|
49 |
+
max-width: 70%;
|
50 |
+
margin-left: auto;
|
51 |
+
text-align: right;
|
52 |
+
}
|
53 |
+
|
54 |
+
.chat-input {
|
55 |
+
display: flex;
|
56 |
+
padding: 10px;
|
57 |
+
border-top: 1px solid #ccc;
|
58 |
+
}
|
59 |
+
|
60 |
+
.chat-input input {
|
61 |
+
flex: 1;
|
62 |
+
padding: 5px;
|
63 |
+
border: 1px solid #ccc;
|
64 |
+
border-radius: 5px;
|
65 |
+
}
|
66 |
+
|
67 |
+
.chat-input button {
|
68 |
+
padding: 5px 10px;
|
69 |
+
margin-left: 10px;
|
70 |
+
background-color: #f28c38;
|
71 |
+
color: white;
|
72 |
+
border: none;
|
73 |
+
border-radius: 5px;
|
74 |
+
cursor: pointer;
|
75 |
+
}
|
76 |
+
|
77 |
+
.option-button {
|
78 |
+
display: inline-block;
|
79 |
+
padding: 10px 20px;
|
80 |
+
margin: 5px;
|
81 |
+
background-color: #9c27b0;
|
82 |
+
color: white;
|
83 |
+
border: none;
|
84 |
+
border-radius: 5px;
|
85 |
+
cursor: pointer;
|
86 |
+
}
|
87 |
+
|
88 |
+
.option-button.green {
|
89 |
+
background-color: #4caf50;
|
90 |
+
}
|
91 |
+
|
92 |
+
.option-button.red {
|
93 |
+
background-color: #f44336;
|
94 |
+
}
|