fix code-highlighting style
This commit is contained in:
parent
40765ae342
commit
5acef4c8bc
2 changed files with 75 additions and 20 deletions
|
@ -8,7 +8,7 @@ code[class*="language-"] {
|
|||
}
|
||||
|
||||
pre {
|
||||
line-height: 1.2;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.chroma {
|
||||
|
@ -38,7 +38,7 @@ pre {
|
|||
.chroma .lnt {
|
||||
color: #999;
|
||||
display: block;
|
||||
padding-left: .5em;
|
||||
padding-left: .9em;
|
||||
padding-right: 1em;
|
||||
text-align: right;
|
||||
line-height: 1.5;
|
||||
|
@ -51,7 +51,7 @@ pre {
|
|||
.chroma .kn,
|
||||
.chroma .kp,
|
||||
.chroma .kr,
|
||||
.chroma .kt,
|
||||
// .chroma .kt,
|
||||
.chroma .k,
|
||||
.chroma .si {
|
||||
color: #569cd6;
|
||||
|
@ -61,15 +61,15 @@ pre {
|
|||
color: #9cdcfe;
|
||||
}
|
||||
|
||||
.chroma .n,
|
||||
// .chroma .n,
|
||||
.chroma .nb,
|
||||
.chroma .bp,
|
||||
.chroma .nc,
|
||||
// .chroma .nc,
|
||||
.chroma .no,
|
||||
.chroma .nd,
|
||||
.chroma .ni,
|
||||
.chroma .ne,
|
||||
.chroma .nf,
|
||||
// .chroma .nf,
|
||||
.chroma .fm,
|
||||
.chroma .nl,
|
||||
.chroma .nn {
|
||||
|
@ -100,7 +100,8 @@ pre {
|
|||
.chroma .sx,
|
||||
.chroma .sr,
|
||||
.chroma .s1,
|
||||
.chroma .ss {
|
||||
.chroma .ss,
|
||||
.chroma .cpf {
|
||||
color: #ce9178;
|
||||
}
|
||||
/* LiteralNumber */
|
||||
|
@ -123,3 +124,18 @@ pre {
|
|||
color: #517043;
|
||||
}
|
||||
|
||||
.chroma .nb,
|
||||
.chroma .kt {
|
||||
color: #4ec9b0;
|
||||
}
|
||||
|
||||
.chroma .fm,
|
||||
.chroma .nf {
|
||||
color: #dcdcaa;
|
||||
}
|
||||
|
||||
|
||||
.chroma .cp {
|
||||
color: #c586c0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue