commit | author | age
|
b505f3
|
1 |
.markdown-body{ |
054cde
|
2 |
*{ |
I |
3 |
max-width: 100% !important; |
|
4 |
} |
|
5 |
|
b505f3
|
6 |
body{ |
I |
7 |
margin: 0 auto; |
|
8 |
font-family: "Microsoft YaHei", arial,sans-serif; |
|
9 |
color: #444444; |
|
10 |
line-height: 1; |
|
11 |
padding: 30px; |
|
12 |
} |
|
13 |
@media screen and (min-width: 768px) { |
|
14 |
body { |
|
15 |
width: 748px; |
|
16 |
margin: 10px auto; |
|
17 |
} |
|
18 |
} |
0b0125
|
19 |
|
8ec9c5
|
20 |
p{ |
I |
21 |
text-indent: 2rem; |
|
22 |
} |
fa1bd9
|
23 |
|
I |
24 |
|
6461f5
|
25 |
img:hover{ |
I |
26 |
transform: scale(1.05); |
|
27 |
//box-shadow: 0 0 4px rgba(0,0,0,0.5); |
|
28 |
-webkit-filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); |
|
29 |
filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); |
|
30 |
} |
fa1bd9
|
31 |
|
6461f5
|
32 |
img{ |
fa1bd9
|
33 |
width: 150px; |
6461f5
|
34 |
border-radius: 12px; |
I |
35 |
margin: 10px auto; |
|
36 |
transition: all .5s; |
|
37 |
} |
8ec9c5
|
38 |
// img{ |
I |
39 |
// max-width: -webkit-fill-available; |
|
40 |
// display: inline; |
|
41 |
// box-shadow: 0 0 4px rgba(0,0,0,0.5); |
|
42 |
// overflow: visible; |
|
43 |
// border-radius: 12px; |
|
44 |
// -webkit-filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); |
|
45 |
// filter: drop-shadow(4px 4px 10px rgba(0,0,0,.5)); |
|
46 |
// } |
fa1bd9
|
47 |
|
b505f3
|
48 |
h1, h2, h3, h4 { |
I |
49 |
color: #111111; |
|
50 |
font-weight: 400; |
|
51 |
margin-top: 1em; |
|
52 |
} |
|
53 |
|
|
54 |
h1, h2, h3, h4, h5 { |
|
55 |
font-family: Georgia, Palatino, serif; |
|
56 |
} |
fa1bd9
|
57 |
|
b505f3
|
58 |
h1, h2, h3, h4, h5, p , dl{ |
I |
59 |
margin-bottom: 16px; |
|
60 |
padding: 0; |
|
61 |
} |
|
62 |
h1 { |
|
63 |
font-size: 38px; |
|
64 |
line-height: 54px; |
|
65 |
} |
|
66 |
h2 { |
|
67 |
font-size: 36px; |
|
68 |
line-height: 42px; |
|
69 |
} |
|
70 |
h1, h2 { |
|
71 |
border-bottom: 1px solid #EFEAEA; |
|
72 |
padding-bottom: 10px; |
|
73 |
} |
|
74 |
h3 { |
|
75 |
font-size: 24px; |
|
76 |
line-height: 30px; |
|
77 |
} |
|
78 |
h4 { |
|
79 |
font-size: 21px; |
|
80 |
line-height: 26px; |
|
81 |
} |
|
82 |
h5 { |
|
83 |
font-size: 18px; |
|
84 |
list-style: 23px; |
|
85 |
} |
|
86 |
a { |
|
87 |
color: #0099ff; |
|
88 |
margin: 0; |
|
89 |
padding: 0; |
a23166
|
90 |
word-wrap: break-word; |
b505f3
|
91 |
vertical-align: baseline; |
I |
92 |
} |
|
93 |
a:hover { |
|
94 |
text-decoration: none; |
|
95 |
color: #ff6600; |
|
96 |
} |
|
97 |
a:visited { |
|
98 |
/*color: purple;*/ |
|
99 |
} |
|
100 |
ul, ol { |
|
101 |
padding: 0; |
|
102 |
padding-left: 24px; |
|
103 |
margin: 0; |
|
104 |
} |
|
105 |
li { |
|
106 |
line-height: 24px; |
|
107 |
} |
|
108 |
p, ul, ol { |
|
109 |
font-size: 16px; |
|
110 |
line-height: 24px; |
|
111 |
} |
|
112 |
|
|
113 |
ol ol, ul ol { |
|
114 |
list-style-type: lower-roman; |
|
115 |
} |
|
116 |
|
|
117 |
/*pre { |
|
118 |
padding: 0px 24px; |
|
119 |
max-width: 800px; |
|
120 |
white-space: pre-wrap; |
|
121 |
} |
|
122 |
code { |
|
123 |
font-family: Consolas, Monaco, Andale Mono, monospace; |
|
124 |
line-height: 1.5; |
|
125 |
font-size: 13px; |
|
126 |
}*/ |
|
127 |
|
|
128 |
code, pre { |
|
129 |
border-radius: 3px; |
|
130 |
background-color:#f7f7f7; |
|
131 |
color: inherit; |
|
132 |
} |
|
133 |
|
|
134 |
code { |
|
135 |
font-family: Consolas, Monaco, Andale Mono, monospace; |
|
136 |
margin: 0 2px; |
|
137 |
} |
|
138 |
|
|
139 |
pre { |
|
140 |
line-height: 1.7em; |
|
141 |
overflow: auto; |
|
142 |
padding: 6px 10px; |
|
143 |
border-left: 5px solid #6CE26C; |
|
144 |
} |
|
145 |
|
|
146 |
pre > code { |
|
147 |
border: 0; |
|
148 |
display: inline; |
|
149 |
max-width: initial; |
|
150 |
padding: 0; |
|
151 |
margin: 0; |
|
152 |
overflow: initial; |
|
153 |
line-height: inherit; |
|
154 |
font-size: .85em; |
|
155 |
white-space: pre; |
|
156 |
background: 0 0; |
|
157 |
} |
|
158 |
|
|
159 |
code { |
|
160 |
color: #666555; |
|
161 |
} |
|
162 |
|
|
163 |
|
|
164 |
/** markdown preview plus 对于代码块的处理有些问题, 所以使用统一的颜色 */ |
|
165 |
/*code .keyword { |
|
166 |
color: #8959a8; |
|
167 |
} |
|
168 |
|
|
169 |
code .number { |
|
170 |
color: #f5871f; |
|
171 |
} |
|
172 |
|
|
173 |
code .comment { |
|
174 |
color: #998 |
|
175 |
}*/ |
|
176 |
|
|
177 |
aside { |
|
178 |
display: block; |
|
179 |
float: right; |
|
180 |
width: 390px; |
|
181 |
} |
|
182 |
blockquote { |
cb7779
|
183 |
border-left:.5em solid #cfcfcf; |
6461f5
|
184 |
//padding: 0 0 0 2em; |
fa1bd9
|
185 |
margin-left: 0em; |
b505f3
|
186 |
} |
I |
187 |
blockquote cite { |
|
188 |
font-size:14px; |
|
189 |
line-height:20px; |
|
190 |
color:#bfbfbf; |
|
191 |
} |
|
192 |
blockquote cite:before { |
|
193 |
content: '\2014 \00A0'; |
|
194 |
} |
|
195 |
|
|
196 |
blockquote p { |
fa1bd9
|
197 |
text-indent: inherit; |
b505f3
|
198 |
color: #666; |
I |
199 |
} |
fa1bd9
|
200 |
blockquote *{ |
I |
201 |
margin-left: 10px; |
|
202 |
} |
b505f3
|
203 |
hr { |
I |
204 |
text-align: left; |
|
205 |
color: #999; |
|
206 |
height: 2px; |
|
207 |
padding: 0; |
|
208 |
margin: 16px 0; |
|
209 |
background-color: #e7e7e7; |
|
210 |
border: 0 none; |
|
211 |
} |
|
212 |
|
|
213 |
dl { |
|
214 |
padding: 0; |
|
215 |
} |
|
216 |
|
|
217 |
dl dt { |
|
218 |
padding: 10px 0; |
|
219 |
margin-top: 16px; |
|
220 |
font-size: 1em; |
|
221 |
font-style: italic; |
|
222 |
font-weight: bold; |
|
223 |
} |
|
224 |
|
|
225 |
dl dd { |
|
226 |
padding: 0 16px; |
|
227 |
margin-bottom: 16px; |
|
228 |
} |
|
229 |
|
|
230 |
dd { |
|
231 |
margin-left: 0; |
|
232 |
} |
|
233 |
|
|
234 |
/* Code below this line is copyright Twitter Inc. */ |
|
235 |
|
|
236 |
button, |
|
237 |
input, |
|
238 |
select, |
|
239 |
textarea { |
|
240 |
font-size: 100%; |
|
241 |
margin: 0; |
|
242 |
vertical-align: baseline; |
|
243 |
*vertical-align: middle; |
|
244 |
} |
|
245 |
button, input { |
|
246 |
line-height: normal; |
|
247 |
*overflow: visible; |
|
248 |
} |
|
249 |
button::-moz-focus-inner, input::-moz-focus-inner { |
|
250 |
border: 0; |
|
251 |
padding: 0; |
|
252 |
} |
|
253 |
button, |
|
254 |
input[type="button"], |
|
255 |
input[type="reset"], |
|
256 |
input[type="submit"] { |
|
257 |
cursor: pointer; |
|
258 |
-webkit-appearance: button; |
|
259 |
} |
|
260 |
input[type=checkbox], input[type=radio] { |
|
261 |
cursor: pointer; |
|
262 |
} |
|
263 |
/* override default chrome & firefox settings */ |
|
264 |
input:not([type="image"]), textarea { |
|
265 |
-webkit-box-sizing: content-box; |
|
266 |
-moz-box-sizing: content-box; |
|
267 |
box-sizing: content-box; |
|
268 |
} |
|
269 |
|
|
270 |
input[type="search"] { |
|
271 |
-webkit-appearance: textfield; |
|
272 |
-webkit-box-sizing: content-box; |
|
273 |
-moz-box-sizing: content-box; |
|
274 |
box-sizing: content-box; |
|
275 |
} |
|
276 |
input[type="search"]::-webkit-search-decoration { |
|
277 |
-webkit-appearance: none; |
|
278 |
} |
|
279 |
label, |
|
280 |
input, |
|
281 |
select, |
|
282 |
textarea { |
|
283 |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
284 |
font-size: 13px; |
|
285 |
font-weight: normal; |
|
286 |
line-height: normal; |
|
287 |
margin-bottom: 18px; |
|
288 |
} |
|
289 |
input[type=checkbox], input[type=radio] { |
|
290 |
cursor: pointer; |
|
291 |
margin-bottom: 0; |
|
292 |
} |
|
293 |
input[type=text], |
|
294 |
input[type=password], |
|
295 |
textarea, |
|
296 |
select { |
|
297 |
display: inline-block; |
|
298 |
width: 210px; |
|
299 |
padding: 4px; |
|
300 |
font-size: 13px; |
|
301 |
font-weight: normal; |
|
302 |
line-height: 18px; |
|
303 |
height: 18px; |
|
304 |
color: #808080; |
|
305 |
border: 1px solid #ccc; |
|
306 |
-webkit-border-radius: 3px; |
|
307 |
-moz-border-radius: 3px; |
|
308 |
border-radius: 3px; |
|
309 |
} |
|
310 |
select, input[type=file] { |
|
311 |
height: 27px; |
|
312 |
line-height: 27px; |
|
313 |
} |
|
314 |
textarea { |
|
315 |
height: auto; |
|
316 |
} |
|
317 |
/* grey out placeholders */ |
|
318 |
:-moz-placeholder { |
|
319 |
color: #bfbfbf; |
|
320 |
} |
|
321 |
::-webkit-input-placeholder { |
|
322 |
color: #bfbfbf; |
|
323 |
} |
|
324 |
input[type=text], |
|
325 |
input[type=password], |
|
326 |
select, |
|
327 |
textarea { |
|
328 |
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s; |
|
329 |
-moz-transition: border linear 0.2s, box-shadow linear 0.2s; |
|
330 |
transition: border linear 0.2s, box-shadow linear 0.2s; |
|
331 |
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); |
|
332 |
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); |
|
333 |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); |
|
334 |
} |
|
335 |
input[type=text]:focus, input[type=password]:focus, textarea:focus { |
|
336 |
outline: none; |
|
337 |
border-color: rgba(82, 168, 236, 0.8); |
|
338 |
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); |
|
339 |
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); |
|
340 |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6); |
|
341 |
} |
|
342 |
/* buttons */ |
|
343 |
button { |
|
344 |
display: inline-block; |
|
345 |
padding: 4px 14px; |
|
346 |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
347 |
font-size: 13px; |
|
348 |
line-height: 18px; |
|
349 |
-webkit-border-radius: 4px; |
|
350 |
-moz-border-radius: 4px; |
|
351 |
border-radius: 4px; |
|
352 |
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
353 |
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
354 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
355 |
background-color: #0064cd; |
|
356 |
background-repeat: repeat-x; |
|
357 |
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd)); |
|
358 |
background-image: -moz-linear-gradient(top, #049cdb, #0064cd); |
|
359 |
background-image: -ms-linear-gradient(top, #049cdb, #0064cd); |
|
360 |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd)); |
|
361 |
background-image: -webkit-linear-gradient(top, #049cdb, #0064cd); |
|
362 |
background-image: -o-linear-gradient(top, #049cdb, #0064cd); |
|
363 |
background-image: linear-gradient(top, #049cdb, #0064cd); |
|
364 |
color: #fff; |
|
365 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
|
366 |
border: 1px solid #004b9a; |
|
367 |
border-bottom-color: #003f81; |
|
368 |
-webkit-transition: 0.1s linear all; |
|
369 |
-moz-transition: 0.1s linear all; |
|
370 |
transition: 0.1s linear all; |
|
371 |
border-color: #0064cd #0064cd #003f81; |
|
372 |
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); |
|
373 |
} |
|
374 |
button:hover { |
|
375 |
color: #fff; |
|
376 |
background-position: 0 -15px; |
|
377 |
text-decoration: none; |
|
378 |
} |
|
379 |
button:active { |
|
380 |
-webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
381 |
-moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
382 |
box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); |
|
383 |
} |
|
384 |
button::-moz-focus-inner { |
|
385 |
padding: 0; |
|
386 |
border: 0; |
|
387 |
} |
|
388 |
table { |
|
389 |
*border-collapse: collapse; /* IE7 and lower */ |
|
390 |
border-spacing: 0; |
|
391 |
width: 100%; |
|
392 |
} |
|
393 |
table { |
|
394 |
border: solid #ccc 1px; |
|
395 |
-moz-border-radius: 6px; |
|
396 |
-webkit-border-radius: 6px; |
|
397 |
border-radius: 6px; |
|
398 |
/*-webkit-box-shadow: 0 1px 1px #ccc; |
|
399 |
-moz-box-shadow: 0 1px 1px #ccc; |
|
400 |
box-shadow: 0 1px 1px #ccc; */ |
|
401 |
} |
|
402 |
table tr:hover { |
|
403 |
background: #fbf8e9; |
|
404 |
-o-transition: all 0.1s ease-in-out; |
|
405 |
-webkit-transition: all 0.1s ease-in-out; |
|
406 |
-moz-transition: all 0.1s ease-in-out; |
|
407 |
-ms-transition: all 0.1s ease-in-out; |
|
408 |
transition: all 0.1s ease-in-out; |
|
409 |
} |
|
410 |
table td, .table th { |
|
411 |
border-left: 1px solid #ccc; |
|
412 |
border-top: 1px solid #ccc; |
|
413 |
padding: 10px; |
|
414 |
text-align: left; |
|
415 |
} |
|
416 |
|
|
417 |
table th { |
|
418 |
background-color: #dce9f9; |
|
419 |
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); |
|
420 |
background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); |
|
421 |
background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); |
|
422 |
background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); |
|
423 |
background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); |
|
424 |
background-image: linear-gradient(top, #ebf3fc, #dce9f9); |
|
425 |
/*-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; |
|
426 |
-moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset; |
|
427 |
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;*/ |
|
428 |
border-top: none; |
|
429 |
text-shadow: 0 1px 0 rgba(255,255,255,.5); |
|
430 |
padding: 5px; |
|
431 |
} |
|
432 |
|
|
433 |
table td:first-child, table th:first-child { |
|
434 |
border-left: none; |
|
435 |
} |
|
436 |
|
|
437 |
table th:first-child { |
|
438 |
-moz-border-radius: 6px 0 0 0; |
|
439 |
-webkit-border-radius: 6px 0 0 0; |
|
440 |
border-radius: 6px 0 0 0; |
|
441 |
} |
|
442 |
table th:last-child { |
|
443 |
-moz-border-radius: 0 6px 0 0; |
|
444 |
-webkit-border-radius: 0 6px 0 0; |
|
445 |
border-radius: 0 6px 0 0; |
|
446 |
} |
|
447 |
table th:only-child{ |
|
448 |
-moz-border-radius: 6px 6px 0 0; |
|
449 |
-webkit-border-radius: 6px 6px 0 0; |
|
450 |
border-radius: 6px 6px 0 0; |
|
451 |
} |
|
452 |
table tr:last-child td:first-child { |
|
453 |
-moz-border-radius: 0 0 0 6px; |
|
454 |
-webkit-border-radius: 0 0 0 6px; |
|
455 |
border-radius: 0 0 0 6px; |
|
456 |
} |
|
457 |
table tr:last-child td:last-child { |
|
458 |
-moz-border-radius: 0 0 6px 0; |
|
459 |
-webkit-border-radius: 0 0 6px 0; |
|
460 |
border-radius: 0 0 6px 0; |
|
461 |
} |
|
462 |
|
|
463 |
} |