File tree 2 files changed +26
-7
lines changed
2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1
- /* Background */ .chroma { color : # 586e75 ; background-color : # eee8d5 }
1
+ /* Background */ .chroma { color : # 586e75 ; background-color : # fdf6e3 }
2
2
/* LineTableTD */ .chroma .lntd { vertical-align : top; padding : 0 ; margin : 0 ; border : 0 ; }
3
3
/* LineTable */ .chroma .lntable { border-spacing : 0 ; padding : 0 ; margin : 0 ; border : 0 ; width : auto; overflow : auto; display : block; }
4
4
/* LineHighlight */ .chroma .hl { display : block; width : 100% ;background-color : # ffffcc }
5
- /* LineNumbersTable */ .chroma .lnt { margin-right : 0.4em ; padding : 0 0.4em 0 0.4em ;color : # 7f7f7f }
5
+ /* LineNumbersTable */ .chroma .lnt { margin-right : 0.4em ; padding : 0 0.4em 0 0.4em ;color : # 7f7f7f; }
6
6
/* LineNumbers */ .chroma .ln { margin-right : 0.4em ; padding : 0 0.4em 0 0.4em ;color : # 7f7f7f }
7
7
/* Keyword */ .chroma .k { color : # 859900 }
8
8
/* KeywordConstant */ .chroma .kc { color : # 859900 ; font-weight : bold }
Original file line number Diff line number Diff line change @@ -24,8 +24,11 @@ body {
24
24
margin : 0 auto;
25
25
padding : 0 ;
26
26
word-wrap : break-word;
27
- -ms-text-size-adjust : 100% ;
27
+
28
+ text-size-adjust : 100% ;
28
29
-webkit-text-size-adjust : 100% ;
30
+ -moz-text-size-adjust : 100% ;
31
+ -ms-text-size-adjust : 100% ;
29
32
30
33
padding-top : constant (safe-area-inset-top);
31
34
padding-right : constant (safe-area-inset-right);
@@ -567,28 +570,44 @@ del {
567
570
}
568
571
569
572
.markdown-body .chroma .lntable {
573
+ display : table;
574
+ border-spacing : 0 ;
575
+ border-collapse : collapse;
576
+ table-layout : auto;
577
+ width : 682px ;
570
578
margin-top : 0 ;
571
579
margin-bottom : 20px ;
572
580
border-radius : 3px ;
573
581
border : 1px solid # eee ;
574
582
}
575
583
.markdown-body .chroma .lntable .lntd {
576
584
min-width : 0 ;
577
- padding : 12px 10px ;
585
+ max-width : 50px ;
586
+ width : 30px ;
587
+ }
588
+ .markdown-body .chroma .lntable tr > td : last-child {
589
+ width : auto;
578
590
}
579
- .markdown-body .chroma .lntable tr > td : last-child {
591
+ .markdown-body .chroma .lntable tr > td : last-child > pre {
580
592
padding-left : 0 ;
581
593
}
582
594
.markdown-body .chroma .lntable .lntd .lnt {
583
595
display : block;
596
+ text-align : right;
584
597
margin : 0 ;
585
598
padding : 0 ;
599
+ overflow : visible;
600
+ cursor : default;
601
+ -webkit-user-select : none;
602
+ -moz-user-select : none;
603
+ -ms-user-select : none;
604
+ user-select : none;
586
605
}
587
606
.markdown-body .chroma .lntable pre {
588
607
font-size : inherit;
589
608
border-radius : 0 ;
590
609
border : 0 ;
591
610
margin : 0 ;
592
- padding : 0 ;
593
- overflow : visible ;
611
+ width : 100 % ;
612
+ overflow : auto ;
594
613
}
You can’t perform that action at this time.
0 commit comments