@@ -219,6 +219,43 @@ a:hover {
219
219
.content blockquote : last-child {
220
220
padding-bottom : 0 ;
221
221
}
222
+ .content table {
223
+ margin-top : 10px ;
224
+ margin-bottom : 10px ;
225
+ padding : 0 ;
226
+ border-collapse : collapse;
227
+ clear : both;
228
+ }
229
+ .content table tr {
230
+ border-top : 1px solid # ccc ;
231
+ background-color : # fff ;
232
+ margin : 0 ;
233
+ padding : 0 ;
234
+ }
235
+ .content table tr : nth-child (2n) {
236
+ background-color : # f8f8f8 ;
237
+ }
238
+ .content table tr th {
239
+ text-align : auto;
240
+ font-weight : bold;
241
+ border : 1px solid # ccc ;
242
+ margin : 0 ;
243
+ padding : 6px 13px ;
244
+ }
245
+ .content table tr td {
246
+ text-align : auto;
247
+ border : 1px solid # ccc ;
248
+ margin : 0 ;
249
+ padding : 6px 13px ;
250
+ }
251
+ .content table tr th : first-child ,
252
+ .content table tr td : first-child {
253
+ margin-top : 0 ;
254
+ }
255
+ .content table tr th : last-child ,
256
+ .content table tr td : last-child {
257
+ margin-bottom : 0 ;
258
+ }
222
259
/* ----------------------------------------------------------------------------
223
260
* Content
224
261
*/
@@ -286,12 +323,11 @@ body.big-h3 .content h3 {
286
323
body .big-h3 .content h3 : before {
287
324
display : block;
288
325
content : '' ;
289
- background : -webkit-gradient (linear, left top, right top, color-stop (0.8 , # dfe2e7 ), color-stop (1 , rgba (223 , 226 , 231 , 0 )));
290
- background : -webkit-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ) 100% );
291
- background : -moz-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ) 100% );
292
- background : -o-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ) 100% );
293
- background : -ms-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ) 100% );
294
- background : linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ) 100% );
326
+ background : -webkit-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ));
327
+ background : -moz-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ));
328
+ background : -o-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ));
329
+ background : -ms-linear-gradient (left, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ));
330
+ background : linear-gradient (to right, # dfe2e7 80% , rgba (223 , 226 , 231 , 0 ));
295
331
-webkit-box-shadow : 0 1px 0 rgba (255 , 255 , 255 , 0.4 );
296
332
box-shadow : 0 1px 0 rgba (255 , 255 , 255 , 0.4 );
297
333
height : 1px ;
@@ -304,6 +340,7 @@ body.big-h3 .content h3:before {
304
340
.content h1 ,
305
341
.content h2 ,
306
342
.content .big-heading ,
343
+ body .big-h3 .content h3 ,
307
344
body .big-h3 .content h3 {
308
345
padding-top : 40px ;
309
346
}
@@ -538,6 +575,11 @@ body.no-literate .content pre > code:hover::-webkit-scrollbar-thumb {
538
575
padding-left : 0 ;
539
576
padding-right : 0 ;
540
577
}
578
+ body : not (.no-literate ) .content > table {
579
+ margin-left : 40px ;
580
+ margin-right : 40px ;
581
+ max-width : 470px ;
582
+ }
541
583
body : not (.no-literate ): not (.big-h3 ) .content > h3 {
542
584
margin-left : 40px ;
543
585
width : 470px ;
@@ -828,4 +870,3 @@ code .comment {
828
870
position : relative;
829
871
z-index : 1 ;
830
872
}
831
-
0 commit comments