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