Spaces:
Running
Running
nroggendorff
commited on
Commit
•
6e71a5c
1
Parent(s):
2c9f54d
Create style.css
Browse files- public/style.css +60 -0
public/style.css
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
display: flex;
|
3 |
+
justify-content: center;
|
4 |
+
align-items: center;
|
5 |
+
min-height: 100vh;
|
6 |
+
margin: 0;
|
7 |
+
font-family: Arial, sans-serif;
|
8 |
+
background-color: #f4f6f8;
|
9 |
+
}
|
10 |
+
|
11 |
+
.chat-container {
|
12 |
+
width: 100%;
|
13 |
+
max-width: 400px;
|
14 |
+
border-radius: 8px;
|
15 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
16 |
+
overflow: hidden;
|
17 |
+
display: flex;
|
18 |
+
flex-direction: column;
|
19 |
+
background-color: white;
|
20 |
+
}
|
21 |
+
|
22 |
+
.messages {
|
23 |
+
flex-grow: 1;
|
24 |
+
padding: 16px;
|
25 |
+
overflow-y: auto;
|
26 |
+
}
|
27 |
+
|
28 |
+
.message {
|
29 |
+
margin-bottom: 12px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.message.user {
|
33 |
+
text-align: right;
|
34 |
+
color: #007bff;
|
35 |
+
}
|
36 |
+
|
37 |
+
.message.ai {
|
38 |
+
text-align: left;
|
39 |
+
color: #333;
|
40 |
+
}
|
41 |
+
|
42 |
+
#chat-form {
|
43 |
+
display: flex;
|
44 |
+
border-top: 1px solid #eee;
|
45 |
+
}
|
46 |
+
|
47 |
+
#user-input {
|
48 |
+
flex-grow: 1;
|
49 |
+
padding: 12px;
|
50 |
+
border: none;
|
51 |
+
border-top-left-radius: 8px;
|
52 |
+
}
|
53 |
+
|
54 |
+
button {
|
55 |
+
padding: 12px;
|
56 |
+
background-color: #007bff;
|
57 |
+
color: white;
|
58 |
+
border: none;
|
59 |
+
cursor: pointer;
|
60 |
+
}
|