-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
93 lines (78 loc) · 1.25 KB
/
index.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
display: flex;
height: 100vh;
}
.sidebar {
width: 200px;
background-color: #36393f;
color: #fff;
padding: 20px;
}
.sidebar h1 {
font-size: 18px;
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar li {
margin-bottom: 10px;
cursor: pointer;
}
.chat {
flex: 1;
background-color: #fff;
border-left: 1px solid #ccc;
display: flex;
flex-direction: column;
}
.chat-header {
background-color: #36393f;
color: #fff;
padding: 10px;
}
.chat-header h2 {
margin: 0;
font-size: 16px;
}
.messages {
flex: 1;
padding: 20px;
overflow-y: auto;
}
.message {
margin-bottom: 10px;
}
.user {
font-weight: bold;
}
.input-box {
padding: 20px;
display: flex;
}
.input-box input {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}
.input-box button {
padding: 10px 20px;
background-color: #36393f;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
margin-left: 10px;
font-size: 14px;
}
.input-box button:hover {
background-color: #555;
}