-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
125 lines (109 loc) · 2.1 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
body {
background-color: #1e1e1e;
color: white;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.input-container {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
.input-container input {
width: 200px;
padding: 5px;
margin: 0 10px;
border: 1px solid #757575;
border-radius: 5px;
background-color: #2e2e2e;
color: white;
}
.vs-text {
color: #757575;
font-size: 18px;
}
.fetch-button {
padding: 6px 12px;
background-color: #39ff14;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
color: #1e1e1e;
}
.chat-container {
display: flex;
align-items: center; /* Center the chatrooms vertically */
}
.chat {
width: 800px;
height: 800px;
background-color: #2e2e2e;
margin: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
overflow: hidden;
}
.message-container {
max-width: 100%;
margin: 20px;
padding: 10px;
border-radius: 5px;
overflow-y: scroll;
overflow-x: hidden;
display: flex;
flex-direction: column;
}
.message {
margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
background-color: #282828;
}
.message-content {
display: flex;
align-items: center;
}
.message-content .timestamp {
font-style: italic;
color: #757575;
font-size: 12px;
margin-right: 15px;
}
.message-content .username {
color: #39ff14;
font-weight: bold;
margin-right: 15px;
}
.message-content .content {
flex-grow: 1;
}
.system-message {
margin: 10px 0;
text-align: center;
color: #757575;
font-size: 14px;
}
.message-container::-webkit-scrollbar {
width: 6px;
}
.message-container::-webkit-scrollbar-thumb {
background-color: #757575;
border-radius: 3px;
}
.average-display {
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
padding-top: 15px;
font-size: 16px;
text-align: center;
}