Create styles.css
Browse files- public/styles.css +74 -0
public/styles.css
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* General styles */
|
| 2 |
+
body {
|
| 3 |
+
margin: 0;
|
| 4 |
+
font-family: Arial, sans-serif;
|
| 5 |
+
background-color: #121212;
|
| 6 |
+
color: #e0e0e0;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
header {
|
| 10 |
+
background-color: #2a2a2a;
|
| 11 |
+
padding: 10px 20px;
|
| 12 |
+
text-align: center;
|
| 13 |
+
border-bottom: 1px solid #333;
|
| 14 |
+
color: #fff;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
main {
|
| 18 |
+
padding: 10px;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
/* Loading spinner */
|
| 22 |
+
#loading {
|
| 23 |
+
display: none;
|
| 24 |
+
text-align: center;
|
| 25 |
+
margin-top: 50px;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.spinner {
|
| 29 |
+
border: 4px solid #444;
|
| 30 |
+
border-top: 4px solid #1a73e8;
|
| 31 |
+
border-radius: 50%;
|
| 32 |
+
width: 30px;
|
| 33 |
+
height: 30px;
|
| 34 |
+
animation: spin 1s linear infinite;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
@keyframes spin {
|
| 38 |
+
0% {
|
| 39 |
+
transform: rotate(0deg);
|
| 40 |
+
}
|
| 41 |
+
100% {
|
| 42 |
+
transform: rotate(360deg);
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Chat list */
|
| 47 |
+
.chat {
|
| 48 |
+
display: flex;
|
| 49 |
+
justify-content: space-between;
|
| 50 |
+
align-items: center;
|
| 51 |
+
background-color: #1e1e1e;
|
| 52 |
+
padding: 15px;
|
| 53 |
+
border-radius: 8px;
|
| 54 |
+
margin-bottom: 10px;
|
| 55 |
+
cursor: pointer;
|
| 56 |
+
transition: background-color 0.2s ease;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.chat:hover {
|
| 60 |
+
background-color: #2c2c2c;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.chat-info h2 {
|
| 64 |
+
margin: 0;
|
| 65 |
+
font-size: 1rem;
|
| 66 |
+
font-weight: bold;
|
| 67 |
+
color: #fff;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.chat-info p {
|
| 71 |
+
margin: 5px 0 0;
|
| 72 |
+
font-size: 0.9rem;
|
| 73 |
+
color: #aaa;
|
| 74 |
+
}
|