forked from ssbc/patchwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage.mcss
196 lines (170 loc) · 3.1 KB
/
message.mcss
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
Message {
display: flex
flex-direction: column
box-shadow: #dadada 1px 2px 8px
border: 1px solid #f5f5f5
background: white
position: relative
font-size: 120%
flex-shrink: 0
(highlight) {
background-color: yellow
}
:focus {
z-index: 1
}
-data {
header {
div.main {
font-size: 80%
a.avatar {
img {
width: 25px
}
}
}
}
(pre) {
overflow: auto
max-height: 200px
}
}
-mini {
header {
margin-bottom: 15px
}
}
-reply {
font-size: 100%
header {
div.main {
a.avatar {
img {
width: 30px
}
}
}
}
}
header {
margin: 15px 15px
margin-bottom: 5px;
display: flex
div.mini {
flex: 1
}
div.main {
display: flex
flex: 1
a.avatar {
img {
width: 50px
}
}
div.main {
div.name {
font-size: 120%
a {
color: #444
font-weight: bold
}
}
div.meta {
font-size: 90%
}
margin-left: 10px
}
div.meta {
}
}
div.meta {
em {
display: inline-block
padding: 4px
}
a.channel {
display: inline-block
padding: 4px
}
span.likes {
color: #ffffff;
background: linear-gradient(45deg, #859c88, #87d47d);
padding: 5px 8px;
border-radius: 10px;
display: inline-block;
vertical-align: top;
margin: -2px 0;
}
span.private {
display: inline-block;
margin: -3px -3px -3px 4px;
border: 4px solid #525050;
position: relative;
a {
display: inline-block
img {
margin: 0
vertical-align: bottom
border: none
}
}
:after {
content: 'private';
position: absolute;
background: #525050;
bottom: 0;
left: -1px;
font-size: 10px;
padding: 2px 4px 0 2px;
border-top-right-radius: 5px;
color: white;
font-weight: bold;
pointer-events: none;
white-space: nowrap
}
}
}
}
section {
margin: 0 15px
(img) {
max-width: 100%
}
}
a.backlink {
display: block;
border-top: 1px solid #e2e0e0;
margin: 0 -1px;
padding: 10px 15px;
background: #f3f2f2;
border-bottom: 1px solid #d1d0d0;
color: #8f8f8f;
margin-top: -1px;
font-size: 9pt;
:hover {
text-decoration: none
color: #777
}
}
footer {
margin: 10px 10px;
border-top: 1px solid #eee;
padding-top: 10px;
margin-top: 5px;
padding-left: 5px;
div.actions {
a {
margin-right: 10px;
color: #9a9a9a;
font-weight: bold;
padding: 5px
:hover {
background: #cbeeff;
color: #3b7ba2;
text-decoration: none;
border-color: #8eafc1;
}
}
}
}
}