-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
74 lines (64 loc) · 1.13 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
body {
margin: 0;
padding: 0;
text-align: center;
}
.header {
font-family: cursive;
margin: 0;
padding: 6px;
}
.messages {
display: inline-block;
padding-bottom: 30px; /* 24 + 6 px */
text-align: left;
}
.message {
margin: 6px;
}
.message .avatar {
float: left;
width: 36px;
height: 36px;
background-size: 100%;
background-repeat: no-repeat;
border-radius: 18px;
margin-top: 4px;
}
.message .body {
overflow: hidden;
position: relative;
margin-left: 42px;
}
.message .text {
display: inline-block;
padding: 6px;
background-color: #b5f0ff;
border-radius: 24px;
}
.message .text:before, .message .text:after {
content: " ";
}
.message .headline {
font-size: 9pt;
}
.message .name {
font-weight: bold;
}
.input {
display: block;
position: fixed;
bottom: 6px;
left: 6px;
right: 6px;
width: calc(100% - 12px);
box-sizing: border-box;
background: #eee;
padding: 3px 6px;
border: 1px solid #ccc;
border-radius: 12px;
height: 24px;
line-height: 24px;
font: inherit;
outline: none;
}