-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (78 loc) · 1.62 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* background:#455A64; */
}
body {
width: 100vw;
height: 100vh;
}
.header {
height: 50px;
width: 100%;
text-align: center;
font-size: 20px;
padding: 10px;
color: #fff;
background: #7c4dff;
}
.header span {
color: greenyellow;
}
.chats {
width: 100%;
margin-top: 5px;
margin-bottom: 5px;
display: flex;
flex-direction: column;
}
.from {
/* border: 2px solid black; */
display: flex;
justify-content: flex-start;
margin-bottom: 5px;
}
.contentfrom {
padding: 9px;
border-radius: 20px;
background: #f57c00;
color: #fff;
font-size: 18px;
}
.to {
/* border: 2px solid black; */
display: flex;
justify-content: flex-end;
margin-bottom: 5px;
}
.contentto {
padding: 9px;
border-radius: 20px;
background: #448aff;
color: #fff;
font-size: 18px;
}
.sendbox {
bottom: 0;
position: absolute;
margin-bottom: 50px;
width: 100%;
text-align: center;
}
.sendbox input {
width: 80vw;
height: 50px;
font-size: 20px;
padding: 5px;
}
.sendbox button {
width: 90px;
height: 50px;
font-size: 20px;
font-style: bold;
}
.chats{
height: 80vh;
overflow-y: scroll;
}