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