Improve formatting of code highlighting styles
This commit is contained in:
parent
3b642fa002
commit
293f0ba957
1 changed files with 195 additions and 225 deletions
|
|
@ -146,12 +146,7 @@ hr {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.content {
|
.codeblock {
|
||||||
.codeblock {
|
|
||||||
color: var(--foreground);
|
|
||||||
background-color: var(--background);
|
|
||||||
border: 1px solid var(--gray6);
|
|
||||||
|
|
||||||
.err {
|
.err {
|
||||||
color: var(--red);
|
color: var(--red);
|
||||||
}
|
}
|
||||||
|
|
@ -354,38 +349,14 @@ hr {
|
||||||
color: var(--yellow);
|
color: var(--yellow);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Comment */
|
/* comment */
|
||||||
.c {
|
/* comment: hashbang */
|
||||||
color: #75715e;
|
/* comment: multiline */
|
||||||
}
|
/* comment: single */
|
||||||
|
/* comment: special */
|
||||||
/* CommentHashbang */
|
/* comment: preproc */
|
||||||
.ch {
|
/* comment: preproc file */
|
||||||
color: #75715e;
|
.c, .ch, .cm, .c1, .cs, .cp, .cpf {
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentMultiline */
|
|
||||||
.cm {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentSingle */
|
|
||||||
.c1 {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentSpecial */
|
|
||||||
.cs {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentPreproc */
|
|
||||||
.cp {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentPreprocFile */
|
|
||||||
.cpf {
|
|
||||||
color: #75715e;
|
color: #75715e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -413,5 +384,4 @@ hr {
|
||||||
.gu {
|
.gu {
|
||||||
color: #75715e;
|
color: #75715e;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue