-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat.css
More file actions
72 lines (61 loc) · 1.27 KB
/
chat.css
File metadata and controls
72 lines (61 loc) · 1.27 KB
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
body {
background-color: #F3F3F3;
font-family: Arial, sans-serif;
}
.container {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
max-width: 800px;
margin: 80px auto;
padding: 20px;
}
.chat-header {
border-bottom: 1px solid #ccc;
padding-bottom: 20px;
}
.chat-box {
height: 400px;
overflow-y: scroll;
margin-top: 20px;
padding: 10px;
}
.chat-message {
border-radius: 5px;
display: inline-block;
margin-bottom: 10px;
max-width: 80%;
padding: 10px;
}
.chat-message.received {
background-color: #f1f0f0;
float: left;
}
.chat-form {
display: flex;
margin-top: 20px;
}
.chat-form input[type="text"] {
border-radius: 5px;
border: none;
box-sizing: border-box;
font-size: 16px;
padding: 10px;
width: 100%;
}
.chat-form button[type="submit"] {
background-color: #4CAF50;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
font-size: 18px;
margin-left: 10px;
padding: 10px;
}
button[type="submit"]:hover {
background-color: #3e8e41;
}
a {
color: inherit;
}