Spaces:
Running
Running
Create static/styles.css
Browse files- static/styles.css +47 -0
static/styles.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
font-family: sans-serif;
|
3 |
+
background: #f8f8f8;
|
4 |
+
padding: 20px;
|
5 |
+
}
|
6 |
+
|
7 |
+
#chat-container {
|
8 |
+
max-width: 500px;
|
9 |
+
margin: auto;
|
10 |
+
background: white;
|
11 |
+
border-radius: 10px;
|
12 |
+
padding: 20px;
|
13 |
+
box-shadow: 0 0 10px #ccc;
|
14 |
+
}
|
15 |
+
|
16 |
+
#chatroom-title {
|
17 |
+
font-weight: bold;
|
18 |
+
text-align: center;
|
19 |
+
margin-bottom: 10px;
|
20 |
+
font-size: 1.2em;
|
21 |
+
}
|
22 |
+
|
23 |
+
#chat {
|
24 |
+
background: #f0f0f0;
|
25 |
+
padding: 10px;
|
26 |
+
overflow-y: auto;
|
27 |
+
height: 300px;
|
28 |
+
}
|
29 |
+
|
30 |
+
.chat-line {
|
31 |
+
margin: 8px 0;
|
32 |
+
}
|
33 |
+
|
34 |
+
.me {
|
35 |
+
color: blue;
|
36 |
+
font-weight: bold;
|
37 |
+
}
|
38 |
+
|
39 |
+
.other {
|
40 |
+
color: green;
|
41 |
+
font-weight: bold;
|
42 |
+
}
|
43 |
+
|
44 |
+
.status {
|
45 |
+
color: gray;
|
46 |
+
font-style: italic;
|
47 |
+
}
|