Spaces:
Sleeping
Sleeping
Commit
·
06a6f85
1
Parent(s):
e1116fd
Rename chatbox/style.css to static/style.css
Browse files- {chatbox → static}/style.css +12 -31
{chatbox → static}/style.css
RENAMED
@@ -1,16 +1,15 @@
|
|
1 |
-
/* Dark color theme styles */
|
2 |
body {
|
3 |
-
font-family: Arial, sans-serif;
|
4 |
-
background-color: #333;
|
5 |
-
color: #eee;
|
6 |
}
|
7 |
|
8 |
.chat-container {
|
9 |
-
border: 1px solid #555;
|
10 |
width: 600px;
|
11 |
margin: 20px auto;
|
12 |
padding: 10px;
|
13 |
-
background-color: #444;
|
14 |
}
|
15 |
|
16 |
.chat-messages {
|
@@ -24,7 +23,7 @@ body {
|
|
24 |
margin-bottom: 10px;
|
25 |
padding: 5px;
|
26 |
border-radius: 5px;
|
27 |
-
background-color: #555;
|
28 |
}
|
29 |
|
30 |
.nme {
|
@@ -32,21 +31,12 @@ body {
|
|
32 |
margin-bottom: 5px;
|
33 |
}
|
34 |
|
35 |
-
/* Your existing styles */
|
36 |
-
|
37 |
-
/* Adjusted styles for message content padding */
|
38 |
.msg {
|
39 |
margin-bottom: 10px;
|
40 |
-
padding: 10px;
|
41 |
border-radius: 5px;
|
42 |
}
|
43 |
|
44 |
-
/* Rest of your existing styles */
|
45 |
-
|
46 |
-
|
47 |
-
/* Your existing styles */
|
48 |
-
|
49 |
-
/* Adjusted styles for input and button layout */
|
50 |
.chat-input {
|
51 |
display: flex;
|
52 |
flex-direction: row;
|
@@ -60,11 +50,11 @@ input[type="text"] {
|
|
60 |
padding: 10px;
|
61 |
border: 1px solid #ccc;
|
62 |
border-radius: 5px;
|
63 |
-
margin-right: 10px;
|
64 |
}
|
65 |
|
66 |
input[type="text"]:last-child {
|
67 |
-
margin-right: 0;
|
68 |
}
|
69 |
|
70 |
.chat-input button {
|
@@ -76,23 +66,14 @@ input[type="text"]:last-child {
|
|
76 |
border-radius: 5px;
|
77 |
}
|
78 |
|
79 |
-
/* Rest of your existing styles */
|
80 |
-
|
81 |
-
|
82 |
.chat-input button:hover {
|
83 |
-
background-color: #2980b9;
|
84 |
}
|
85 |
|
86 |
-
/* Your existing styles */
|
87 |
-
|
88 |
-
/* Adjusted styles for alternating message backgrounds */
|
89 |
.msg:nth-child(even) {
|
90 |
-
background-color: #555;
|
91 |
}
|
92 |
|
93 |
.msg:nth-child(odd) {
|
94 |
-
background-color: #444;
|
95 |
}
|
96 |
-
|
97 |
-
/* Rest of your existing styles */
|
98 |
-
|
|
|
|
|
1 |
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
background-color: #333;
|
4 |
+
color: #eee;
|
5 |
}
|
6 |
|
7 |
.chat-container {
|
8 |
+
border: 1px solid #555;
|
9 |
width: 600px;
|
10 |
margin: 20px auto;
|
11 |
padding: 10px;
|
12 |
+
background-color: #444;
|
13 |
}
|
14 |
|
15 |
.chat-messages {
|
|
|
23 |
margin-bottom: 10px;
|
24 |
padding: 5px;
|
25 |
border-radius: 5px;
|
26 |
+
background-color: #555;
|
27 |
}
|
28 |
|
29 |
.nme {
|
|
|
31 |
margin-bottom: 5px;
|
32 |
}
|
33 |
|
|
|
|
|
|
|
34 |
.msg {
|
35 |
margin-bottom: 10px;
|
36 |
+
padding: 10px;
|
37 |
border-radius: 5px;
|
38 |
}
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
.chat-input {
|
41 |
display: flex;
|
42 |
flex-direction: row;
|
|
|
50 |
padding: 10px;
|
51 |
border: 1px solid #ccc;
|
52 |
border-radius: 5px;
|
53 |
+
margin-right: 10px;
|
54 |
}
|
55 |
|
56 |
input[type="text"]:last-child {
|
57 |
+
margin-right: 0;
|
58 |
}
|
59 |
|
60 |
.chat-input button {
|
|
|
66 |
border-radius: 5px;
|
67 |
}
|
68 |
|
|
|
|
|
|
|
69 |
.chat-input button:hover {
|
70 |
+
background-color: #2980b9;
|
71 |
}
|
72 |
|
|
|
|
|
|
|
73 |
.msg:nth-child(even) {
|
74 |
+
background-color: #555;
|
75 |
}
|
76 |
|
77 |
.msg:nth-child(odd) {
|
78 |
+
background-color: #444;
|
79 |
}
|
|
|
|
|
|