Spaces:
Running
Running
Rename style.css to styles.css
Browse files- style.css +0 -28
- styles.css +82 -0
style.css
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
body {
|
2 |
-
padding: 2rem;
|
3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
4 |
-
}
|
5 |
-
|
6 |
-
h1 {
|
7 |
-
font-size: 16px;
|
8 |
-
margin-top: 0;
|
9 |
-
}
|
10 |
-
|
11 |
-
p {
|
12 |
-
color: rgb(107, 114, 128);
|
13 |
-
font-size: 15px;
|
14 |
-
margin-bottom: 10px;
|
15 |
-
margin-top: 5px;
|
16 |
-
}
|
17 |
-
|
18 |
-
.card {
|
19 |
-
max-width: 620px;
|
20 |
-
margin: 0 auto;
|
21 |
-
padding: 16px;
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
-
}
|
25 |
-
|
26 |
-
.card p:last-child {
|
27 |
-
margin-bottom: 0;
|
28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles.css
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
background-color: #f4f4f4;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
display: flex;
|
7 |
+
justify-content: center;
|
8 |
+
align-items: center;
|
9 |
+
height: 100vh;
|
10 |
+
}
|
11 |
+
|
12 |
+
.chat-container {
|
13 |
+
width: 400px;
|
14 |
+
height: 600px;
|
15 |
+
background: #ffffff;
|
16 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
17 |
+
display: flex;
|
18 |
+
flex-direction: column;
|
19 |
+
overflow: hidden;
|
20 |
+
border-radius: 8px;
|
21 |
+
}
|
22 |
+
|
23 |
+
.chat-header {
|
24 |
+
background: #0078d7;
|
25 |
+
color: white;
|
26 |
+
padding: 10px;
|
27 |
+
text-align: center;
|
28 |
+
}
|
29 |
+
|
30 |
+
.chat-messages {
|
31 |
+
flex: 1;
|
32 |
+
padding: 10px;
|
33 |
+
overflow-y: auto;
|
34 |
+
background: #f9f9f9;
|
35 |
+
}
|
36 |
+
|
37 |
+
.message {
|
38 |
+
margin-bottom: 10px;
|
39 |
+
padding: 10px;
|
40 |
+
border-radius: 4px;
|
41 |
+
max-width: 80%;
|
42 |
+
}
|
43 |
+
|
44 |
+
.user-message {
|
45 |
+
background: #0078d7;
|
46 |
+
color: white;
|
47 |
+
align-self: flex-end;
|
48 |
+
}
|
49 |
+
|
50 |
+
.bot-message {
|
51 |
+
background: #e4e6eb;
|
52 |
+
color: #000;
|
53 |
+
align-self: flex-start;
|
54 |
+
}
|
55 |
+
|
56 |
+
.chat-input {
|
57 |
+
display: flex;
|
58 |
+
padding: 10px;
|
59 |
+
border-top: 1px solid #ddd;
|
60 |
+
}
|
61 |
+
|
62 |
+
.chat-input input {
|
63 |
+
flex: 1;
|
64 |
+
padding: 10px;
|
65 |
+
border: 1px solid #ccc;
|
66 |
+
border-radius: 4px;
|
67 |
+
outline: none;
|
68 |
+
}
|
69 |
+
|
70 |
+
.chat-input button {
|
71 |
+
margin-left: 10px;
|
72 |
+
padding: 10px 20px;
|
73 |
+
background: #0078d7;
|
74 |
+
color: white;
|
75 |
+
border: none;
|
76 |
+
border-radius: 4px;
|
77 |
+
cursor: pointer;
|
78 |
+
}
|
79 |
+
|
80 |
+
.chat-input button:hover {
|
81 |
+
background: #005bb5;
|
82 |
+
}
|