-
Notifications
You must be signed in to change notification settings - Fork 2
/
c2h.css
94 lines (94 loc) · 1.63 KB
/
c2h.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
body {
background-color: #dadada;
#{backgroundImage}
}
h1 {
width: 80%;
clear: both;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
border-radius: 8px;
background: #000000;
color: #ffffff;
text-align: center;
padding: 10px;
}
h2 {
width: 40%;
clear: both;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
border-radius: 8px;
background: #000000;
color: #ffffff;
text-align: center;
padding: 10px;
}
h3 {
font-weight: bold;
text-align: center;
}
dt {
font-weight: bold;
}
span.senderName {
font-weight: bold;
}
div.message {
width: 96%;
margin-left: 2%;
margin-right: 2%;
}
div.systemMessage {
width: 80%;
margin-left: 10%;
margin-right: 10%;
font-style: italic;
background-color: #c0c0c0;
text-align: center;
clear: both;
padding: 10px;
}
div.userMessage {
clear: both;
width: 80%;
border-radius: 8px;
padding: 10px;
overflow: auto;
position: relative;
}
div.userMessage-Me {
background-color:#dcf8c6;
margin-left: 20%;
}
div.userMessage-Them {
background-color:#ffffff;
margin-right: 20%;
}
div.timestamp {
text-align: right;
position: absolute;
bottom: 2px;
right: 5px;
font-size: 70%;
}
div.overflow {
overflow: auto;
}
img.inlineImage {
max-width: #{imageWidth}px;
max-height: #{imageHeight}px;
}
img.inlineEmoji {
width: 20px;
height: 20px;
}
img.standaloneEmoji {
width: 40px;
height: 40px;
}
video {
width: 320px;
}