1
|
|
- |
* {
|
2
|
|
- |
margin: 0;
|
3
|
|
- |
padding: 0;
|
4
|
|
- |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
5
|
|
- |
|
6
|
|
- |
-moz-box-sizing: border-box;
|
7
|
|
- |
-webkit-box-sizing: border-box;
|
8
|
|
- |
box-sizing: border-box;
|
9
|
|
- |
}
|
10
|
|
- |
|
11
|
|
- |
img
|
12
|
|
- |
{
|
13
|
|
- |
/* Prevent images from taking up too much space in comments */
|
14
|
|
- |
max-width: 100%;
|
15
|
|
- |
}
|
16
|
|
- |
|
17
|
|
- |
label
|
18
|
|
- |
{
|
19
|
|
- |
cursor: pointer;
|
20
|
|
- |
font-weight: normal;
|
21
|
|
- |
}
|
22
|
|
- |
|
23
|
|
- |
html, body
|
24
|
|
- |
{
|
25
|
|
- |
background-color: #fff; /* #f5f8fa; */
|
26
|
|
- |
font-size: 1em;
|
27
|
|
- |
height: 100%;
|
28
|
|
- |
line-height: 1em;
|
29
|
|
- |
margin: 0;
|
30
|
|
- |
padding: 0;
|
31
|
|
- |
width: 100%;
|
32
|
|
- |
}
|
33
|
|
- |
|
34
|
|
- |
/* Page header */
|
35
|
|
- |
.header
|
36
|
|
- |
{
|
37
|
|
- |
padding: 1em 0;
|
38
|
|
- |
text-align: center;
|
39
|
|
- |
}
|
40
|
|
- |
|
41
|
|
- |
/* Logo text */
|
42
|
|
- |
.header a.logo,
|
43
|
|
- |
.header a.logo:hover,
|
44
|
|
- |
.header a.logo:visited
|
45
|
|
- |
{
|
46
|
|
- |
color: #000;
|
47
|
|
- |
font-weight: bold;
|
48
|
|
- |
text-decoration: none;
|
49
|
|
- |
}
|
50
|
|
- |
|
51
|
|
- |
/* Logo picture */
|
52
|
|
- |
.header a.logo > img
|
53
|
|
- |
{
|
54
|
|
- |
height: 1.5em;
|
55
|
|
- |
margin: 0 1em;
|
56
|
|
- |
vertical-align: middle;
|
57
|
|
- |
}
|
58
|
|
- |
|
59
|
|
- |
/* Menu under the logo */
|
60
|
|
- |
.header > .menu
|
61
|
|
- |
{
|
62
|
|
- |
padding: 1em 0;
|
63
|
|
- |
}
|
64
|
|
- |
|
65
|
|
- |
.header > .menu > *
|
66
|
|
- |
{
|
67
|
|
- |
margin: 0 1em;
|
68
|
|
- |
}
|
69
|
|
- |
|
70
|
|
- |
.header > .menu .new_messages
|
71
|
|
- |
{
|
72
|
|
- |
background-color: rgb(255, 175, 50);
|
73
|
|
- |
border-radius: 4px;
|
74
|
|
- |
color: #fff;
|
75
|
|
- |
font-weight: bold;
|
76
|
|
- |
margin: 0 .5em 0 0;
|
77
|
|
- |
padding: 0em 0.5em;
|
78
|
|
- |
text-decoration: none;
|
79
|
|
- |
}
|
80
|
|
- |
|
81
|
|
- |
|
82
|
|
- |
.content
|
83
|
|
- |
{
|
84
|
|
- |
padding: 1em 0;
|
85
|
|
- |
line-height: 1.5em;
|
86
|
|
- |
}
|
87
|
|
- |
|
88
|
|
- |
.content .vote
|
89
|
|
- |
{
|
90
|
|
- |
margin: 0 1.5em 0 0;
|
91
|
|
- |
}
|
92
|
|
- |
|
93
|
|
- |
.content .vote > a
|
94
|
|
- |
{
|
95
|
|
- |
display: inline-block;
|
96
|
|
- |
margin: 0;
|
97
|
|
- |
overflow: hidden;
|
98
|
|
- |
padding: 0;
|
99
|
|
- |
text-decoration: none;
|
100
|
|
- |
vertical-align: middle;
|
101
|
|
- |
}
|
102
|
|
- |
|
103
|
|
- |
.content .vote img {
|
104
|
|
- |
cursor: pointer;
|
105
|
|
- |
height: 1em;
|
106
|
|
- |
margin: 0;
|
107
|
|
- |
padding: .2em;
|
108
|
|
- |
float: left;
|
109
|
|
- |
}
|
110
|
|
- |
|
111
|
|
- |
.content .vote .upvoted
|
112
|
|
- |
{
|
113
|
|
- |
background-color: #fff;
|
114
|
|
- |
border: 1px solid #00E313;
|
115
|
|
- |
border-radius: 999em;
|
116
|
|
- |
}
|
117
|
|
- |
|
118
|
|
- |
.content .vote .downvoted
|
119
|
|
- |
{
|
120
|
|
- |
background-color: #fff;
|
121
|
|
- |
border: 1px solid #FF0000;
|
122
|
|
- |
border-radius: 999em;
|
123
|
|
- |
}
|
124
|
|
- |
|
125
|
|
- |
.content .vote .count {
|
126
|
|
- |
margin: 0 .5em;
|
127
|
|
- |
}
|
128
|
|
- |
|
129
|
|
- |
/* Home page */
|
130
|
|
- |
.content .posts
|
131
|
|
- |
{
|
132
|
|
- |
}
|
133
|
|
- |
|
134
|
|
- |
.content .posts .post
|
135
|
|
- |
{
|
136
|
|
- |
margin: 0 0 2em 0;
|
137
|
|
- |
vertical-align: top;
|
138
|
|
- |
}
|
139
|
|
- |
|
140
|
|
- |
.content .posts .post > .title
|
141
|
|
- |
{
|
142
|
|
- |
font-size: 1.5em;
|
143
|
|
- |
}
|
144
|
|
- |
|
145
|
|
- |
.content .posts .post > .title > a
|
146
|
|
- |
{
|
147
|
|
- |
color: #000;
|
148
|
|
- |
}
|
149
|
|
- |
|
150
|
|
- |
.content .posts .post > .info
|
151
|
|
- |
{
|
152
|
|
- |
color: #666;
|
153
|
|
- |
margin: .5em 0;
|
154
|
|
- |
opacity: .8;
|
155
|
|
- |
}
|
156
|
|
- |
|
157
|
|
- |
/* New submission */
|
158
|
|
- |
.content > form.submit
|
159
|
|
- |
{
|
160
|
|
- |
margin: auto;
|
161
|
|
- |
max-width: 30em;
|
162
|
|
- |
}
|
163
|
|
- |
|
164
|
|
- |
/* View a post */
|
165
|
|
- |
.content > .post
|
166
|
|
- |
{
|
167
|
|
- |
}
|
168
|
|
- |
|
169
|
|
- |
/* Style used to format Markdown tables */
|
170
|
|
- |
.content > .post table
|
171
|
|
- |
{
|
172
|
|
- |
background: #fff;
|
173
|
|
- |
border-collapse: collapse;
|
174
|
|
- |
text-align: left;
|
175
|
|
- |
}
|
176
|
|
- |
|
177
|
|
- |
.content > .post table th
|
178
|
|
- |
{
|
179
|
|
- |
border-bottom: 2px solid #6678b1;
|
180
|
|
- |
color: #039;
|
181
|
|
- |
font-weight: normal;
|
182
|
|
- |
padding: 0 1em;
|
183
|
|
- |
}
|
184
|
|
- |
|
185
|
|
- |
.content > .post table td
|
186
|
|
- |
{
|
187
|
|
- |
border-bottom: 1px solid #ccc;
|
188
|
|
- |
color: #669;
|
189
|
|
- |
padding: .5em 1em;
|
190
|
|
- |
}
|
191
|
|
- |
|
192
|
|
- |
.content > .post table tbody tr:hover td
|
193
|
|
- |
{
|
194
|
|
- |
color: #009;
|
195
|
|
- |
}
|
196
|
|
- |
|
197
|
|
- |
/* The post title */
|
198
|
|
- |
.content > .post > .title
|
199
|
|
- |
{
|
200
|
|
- |
font-size: 1.5em;
|
201
|
|
- |
}
|
202
|
|
- |
|
203
|
|
- |
/* Info below post title */
|
204
|
|
- |
.content > .post > .info
|
205
|
|
- |
{
|
206
|
|
- |
margin: 1em 0;
|
207
|
|
- |
}
|
208
|
|
- |
|
209
|
|
- |
/* Post text */
|
210
|
|
- |
.content > .post > .text
|
211
|
|
- |
{
|
212
|
|
- |
margin: 1em 2.5em;
|
213
|
|
- |
word-wrap: break-word;
|
214
|
|
- |
}
|
215
|
|
- |
|
216
|
|
- |
/* Post "new comment" form */
|
217
|
|
- |
.content > .post > .new_comment
|
218
|
|
- |
{
|
219
|
|
- |
margin: 0 2.5em;
|
220
|
|
- |
overflow: hidden;
|
221
|
|
- |
}
|
222
|
|
- |
|
223
|
|
- |
.content > .post > .new_comment > textarea
|
224
|
|
- |
{
|
225
|
|
- |
height: 2.5em;
|
226
|
|
- |
|
227
|
|
- |
-webkit-transition: 1s;
|
228
|
|
- |
transition: 1s;
|
229
|
|
- |
}
|
230
|
|
- |
|
231
|
|
- |
.content > .post > .new_comment > textarea:focus
|
232
|
|
- |
{
|
233
|
|
- |
height: 10em;
|
234
|
|
- |
}
|
235
|
|
- |
|
236
|
|
- |
.content > .post > .new_comment > input[type=submit]
|
237
|
|
- |
{
|
238
|
|
- |
float: right;
|
239
|
|
- |
margin: 1em 0;
|
240
|
|
- |
}
|
241
|
|
- |
|
242
|
|
- |
/* Comments tree for the Post page */
|
243
|
|
- |
.content > .post > .comments
|
244
|
|
- |
{
|
245
|
|
- |
margin: 5em 0 0 0;
|
246
|
|
- |
}
|
247
|
|
- |
|
248
|
|
- |
.content > .post > .comments > .comment
|
249
|
|
- |
{
|
250
|
|
- |
margin: 0 0 2em 0;
|
251
|
|
- |
overflow: hidden;
|
252
|
|
- |
}
|
253
|
|
- |
|
254
|
|
- |
.content > .post > .comments > .comment > .pin
|
255
|
|
- |
{
|
256
|
|
- |
color: #CD006B;
|
257
|
|
- |
float: left;
|
258
|
|
- |
font-size: .8em;
|
259
|
|
- |
padding: 0 1em 0 0;
|
260
|
|
- |
vertical-align: top;
|
261
|
|
- |
}
|
262
|
|
- |
|
263
|
|
- |
.content > .post > .comments > .comment > .info
|
264
|
|
- |
{
|
265
|
|
- |
font-size: .9em;
|
266
|
|
- |
margin: 0 0 0 1em;
|
267
|
|
- |
}
|
268
|
|
- |
|
269
|
|
- |
.content > .post > .comments > .comment > .info .username > a,
|
270
|
|
- |
.content > .post > .comments > .comment > .info .username > a:hover
|
271
|
|
- |
{
|
272
|
|
- |
font-weight: bold;
|
273
|
|
- |
}
|
274
|
|
- |
|
275
|
|
- |
.content > .post > .comments > .comment > .info .op > a,
|
276
|
|
- |
.content > .post > .comments > .comment > .info .op > a:hover
|
277
|
|
- |
{
|
278
|
|
- |
background-color: rgb(255, 175, 50);
|
279
|
|
- |
border-radius: 4px;
|
280
|
|
- |
color: #fff;
|
281
|
|
- |
font-weight: bold;
|
282
|
|
- |
margin: 0 .5em 0 0;
|
283
|
|
- |
padding: 0em 0.5em;
|
284
|
|
- |
text-decoration: none;
|
285
|
|
- |
}
|
286
|
|
- |
|
287
|
|
- |
.content > .post > .comments > .comment > .info > .vote
|
288
|
|
- |
{
|
289
|
|
- |
margin: 0 1em;
|
290
|
|
- |
}
|
291
|
|
- |
|
292
|
|
- |
.content > .post > .comments > .comment > .text
|
293
|
|
- |
{
|
294
|
|
- |
margin: .5em 0 0 1.5em;
|
295
|
|
- |
word-wrap: break-word;
|
296
|
|
- |
}
|
297
|
|
- |
|
298
|
|
- |
/* Give the comment that's linked to in the URL location hash a lightyellow background color */
|
299
|
|
- |
.content > .post > .comments > .comment:target
|
300
|
|
- |
{
|
301
|
|
- |
background-color: lightyellow;
|
302
|
|
- |
}
|
303
|
|
- |
|
304
|
|
- |
|
305
|
|
- |
/* User home page */
|
306
|
|
- |
.content table.user
|
307
|
|
- |
{
|
308
|
|
- |
/* If one length specified: both horizontal and vertical spacing
|
309
|
|
- |
* If two length specified: first sets the horizontal spacing, and
|
310
|
|
- |
* the second sets the vertical spacing
|
311
|
|
- |
*/
|
312
|
|
- |
border-spacing: 2em 1em;
|
313
|
|
- |
border-collapse: separate;
|
314
|
|
- |
margin: auto;
|
315
|
|
- |
width: 80%;
|
316
|
|
- |
}
|
317
|
|
- |
|
318
|
|
- |
.content table.user tr > td:first-child
|
319
|
|
- |
{
|
320
|
|
- |
font-weight: bold;
|
321
|
|
- |
text-align: right;
|
322
|
|
- |
vertical-align: top;
|
323
|
|
- |
width: 30%;
|
324
|
|
- |
}
|
325
|
|
- |
|
326
|
|
- |
.content table.user tr > td:last-child
|
327
|
|
- |
{
|
328
|
|
- |
text-align: left;
|
329
|
|
- |
}
|
330
|
|
- |
|
331
|
|
- |
.content table.user tr > td:last-child label
|
332
|
|
- |
{
|
333
|
|
- |
padding: 1em 0;
|
334
|
|
- |
}
|
335
|
|
- |
|
336
|
|
- |
/* User activity */
|
337
|
|
- |
.content > .user_activity
|
338
|
|
- |
{
|
339
|
|
- |
}
|
340
|
|
- |
|
341
|
|
- |
.content > .user_activity > *
|
342
|
|
- |
{
|
343
|
|
- |
margin: 0 0 2em 0;
|
344
|
|
- |
}
|
345
|
|
- |
|
346
|
|
- |
.content > .user_activity > * > .info
|
347
|
|
- |
{
|
348
|
|
- |
color: #888;
|
349
|
|
- |
}
|
350
|
|
- |
|
351
|
|
- |
/* Login page */
|
352
|
|
- |
.content > .login
|
353
|
|
- |
{
|
354
|
|
- |
margin: auto;
|
355
|
|
- |
max-width: 20em;
|
356
|
|
- |
}
|
357
|
|
- |
|
358
|
|
- |
.content > .login input[type=submit]
|
359
|
|
- |
{
|
360
|
|
- |
margin: 1em 0;
|
361
|
|
- |
}
|
362
|
|
- |
|
363
|
|
- |
/* Edit a post or a comment */
|
364
|
|
- |
.content > .edit
|
365
|
|
- |
{
|
366
|
|
- |
}
|
367
|
|
- |
|
368
|
|
- |
/* Reply to a comment */
|
369
|
|
- |
.content > .reply
|
370
|
|
- |
{
|
371
|
|
- |
}
|
372
|
|
- |
|
373
|
|
- |
/* About page */
|
374
|
|
- |
.content > .about
|
375
|
|
- |
{
|
376
|
|
- |
}
|
377
|
|
- |
|
378
|
|
- |
.content > .about > h3
|
379
|
|
- |
{
|
380
|
|
- |
margin: 1em 0 .5em 0;
|
381
|
|
- |
}
|
382
|
|
- |
|
383
|
|
- |
.content > .about > p
|
384
|
|
- |
{
|
385
|
|
- |
line-height: 1.5em;
|
386
|
|
- |
}
|
387
|
|
- |
|
388
|
|
- |
.footer
|
389
|
|
- |
{
|
390
|
|
- |
border-top: 1px solid #6ECFFF;
|
391
|
|
- |
margin: 3em 0 0 0;
|
392
|
|
- |
padding: 2em 0;
|
393
|
|
- |
}
|
394
|
|
- |
|
395
|
|
- |
.footer img
|
396
|
|
- |
{
|
397
|
|
- |
height: 1.2em;
|
398
|
|
- |
margin: 0 .5em 0 0;
|
399
|
|
- |
vertical-align: middle;
|
400
|
|
- |
}
|
401
|
|
- |
|
402
|
|
- |
.footer > ul
|
403
|
|
- |
{
|
404
|
|
- |
list-style: none;
|
405
|
|
- |
margin: 0;
|
406
|
|
- |
overflow: hidden;
|
407
|
|
- |
padding: 0;
|
408
|
|
- |
}
|
409
|
|
- |
|
410
|
|
- |
.footer > ul > li
|
411
|
|
- |
{
|
412
|
|
- |
float: left;
|
413
|
|
- |
margin: 0 2em 0 0;
|
414
|
|
- |
}
|
415
|
|
- |
|
416
|
|
- |
/* When users vote, this <iframe/> is used as target, such that
|
417
|
|
- |
* the page is not reloaded
|
418
|
|
- |
*/
|
419
|
|
- |
.vote_sink
|
420
|
|
- |
{
|
421
|
|
- |
height: 1px;
|
422
|
|
- |
left: -10px;
|
423
|
|
- |
position: fixed;
|
424
|
|
- |
top: -10px;
|
425
|
|
- |
width: 1px;
|
426
|
|
- |
} |
426
|
|
> |
\ No newline at end of file
|
|
1
|
+ |
*{margin:0;padding:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}img{max-width:100%}label{cursor:pointer;font-weight:normal}html,body{background-color:#fff;font-size:1em;height:100%;line-height:1em;margin:0;padding:0;width:100%;}html .header,body .header{padding:1em 0;text-align:center;}html .header a.logo,body .header a.logo,html .header a.logo:hover,body .header a.logo:hover,html .header a.logo:visited,body .header a.logo:visited{color:#000;font-weight:bold;text-decoration:none;}html .header a.logo > img,body .header a.logo > img,html .header a.logo:hover > img,body .header a.logo:hover > img,html .header a.logo:visited > img,body .header a.logo:visited > img{height:1.5em;margin:0 1em;vertical-align:middle}html .header > .menu,body .header > .menu{padding:1em 0;}html .header > .menu > *,body .header > .menu > *{margin:0 1em}html .header > .menu .new_messages,body .header > .menu .new_messages{background-color:#ffaf32;border-radius:4px;color:#fff;font-weight:bold;margin:0 .5em 0 0;padding:0 .5em;text-decoration:none}html .content,body .content{padding:1em 0;line-height:1.5em;}html .content .vote,body .content .vote{margin:0 1.5em 0 0;}html .content .vote > a,body .content .vote > a{display:inline-block;margin:0;overflow:hidden;padding:0;text-decoration:none;vertical-align:middle}html .content .vote img,body .content .vote img{cursor:pointer;height:1em;margin:0;padding:.2em;float:left}html .content .vote .upvoted,body .content .vote .upvoted{background-color:#fff;border:1px solid #00e313;border-radius:999em}html .content .vote .downvoted,body .content .vote .downvoted{background-color:#fff;border:1px solid #f00;border-radius:999em}html .content .vote .count,body .content .vote .count{margin:0 .5em}html .content .posts .post,body .content .posts .post{margin:0 0 2em 0;vertical-align:top;}html .content .posts .post > .title,body .content .posts .post > .title{font-size:1.5em;}html .content .posts .post > .title > a,body .content .posts .post > .title > a{color:#000}html .content .posts .post > .info,body .content .posts .post > .info{color:#666;margin:.5em 0;opacity:.8}html .content > form.submit,body .content > form.submit{margin:auto;max-width:30em}html .content > .post table,body .content > .post table{background:#fff;border-collapse:collapse;text-align:left;}html .content > .post table th,body .content > .post table th{border-bottom:2px solid #6678b1;color:#039;font-weight:normal;padding:0 1em}html .content > .post table td,body .content > .post table td{border-bottom:1px solid #ccc;color:#669;padding:.5em 1em}html .content > .post table tbody tr:hover td,body .content > .post table tbody tr:hover td{color:#009}html .content > .post > .title,body .content > .post > .title{font-size:1.5em}html .content > .post .info,body .content > .post .info{margin:1em 0}html .content > .post > .text,body .content > .post > .text{margin:1em 2.5em;word-wrap:break-word}html .content > .post .new_comment,body .content > .post .new_comment{margin:0 2.5em;overflow:hidden;}html .content > .post .new_comment > textarea,body .content > .post .new_comment > textarea{height:2.5em;-webkit-transition:1s;transition:1s}html .content > .post .new_comment > textarea:focus,body .content > .post .new_comment > textarea:focus{height:10em}html .content > .post .new_comment > input[type=submit],body .content > .post .new_comment > input[type=submit]{float:right;margin:1em 0}html .content > .post > .comments,body .content > .post > .comments{margin:5em 0 0 0;}html .content > .post > .comments > .comment,body .content > .post > .comments > .comment{margin:0 0 2em 0;overflow:hidden;}html .content > .post > .comments > .comment > .pin,body .content > .post > .comments > .comment > .pin{color:#cd006b;float:left;font-size:.8em;padding:0 1em 0 0;vertical-align:top}html .content > .post > .comments > .comment > .info,body .content > .post > .comments > .comment > .info{font-size:.9em;margin:0 0 0 1em;}html .content > .post > .comments > .comment > .info .username > a,body .content > .post > .comments > .comment > .info .username > a,html .content > .post > .comments > .comment > .info .username > a:hover,body .content > .post > .comments > .comment > .info .username > a:hover{font-weight:bold}html .content > .post > .comments > .comment > .info .op > a,body .content > .post > .comments > .comment > .info .op > a,html .content > .post > .comments > .comment > .info .op > a:hover,body .content > .post > .comments > .comment > .info .op > a:hover{background-color:#ffaf32;border-radius:4px;color:#fff;font-weight:bold;margin:0 .5em 0 0;padding:0 .5em;text-decoration:none}html .content > .post > .comments > .comment > .info > .vote,body .content > .post > .comments > .comment > .info > .vote{margin:0 1em}html .content > .post > .comments > .comment > .text,body .content > .post > .comments > .comment > .text{margin:.5em 0 0 1.5em;word-wrap:break-word}html .content > .post .comment:target,body .content > .post .comment:target{background-color:#ffffe0}html > table.user,body > table.user{border-spacing:2em 1em;border-collapse:separate;margin:auto;width:80%;}html > table.user tr > td:first-child,body > table.user tr > td:first-child{font-weight:bold;text-align:right;vertical-align:top;width:30%}html > table.user tr > td:last-child,body > table.user tr > td:last-child{text-align:left;}html > table.user tr > td:last-child label,body > table.user tr > td:last-child label{padding:1em 0}html > .user_activity > *,body > .user_activity > *{margin:0 0 2em 0;}html > .user_activity > * > .info,body > .user_activity > * > .info{color:#888}html > .login,body > .login{margin:auto;max-width:20em;}html > .login input[type=submit],body > .login input[type=submit]{margin:1em 0}html > .about > h3,body > .about > h3{margin:1em 0 .5em 0}html > .about > p,body > .about > p{line-height:1.5em}.footer{border-top:1px solid #6ecfff;margin:3em 0 0 0;padding:2em 0;}.footer img{height:1.2em;margin:0 .5em 0 0;vertical-align:middle}.footer > ul{list-style:none;margin:0;overflow:hidden;padding:0;}.footer > ul > li{float:left;margin:0 2em 0 0}.vote_sink{height:1px;left:-10px;position:fixed;top:-10px;width:1px} |
|
1
|
< |
\ No newline at end of file
|