feat(plugins/code): add new code plugin (#526)
This commit is contained in:
@@ -1121,6 +1121,17 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Code snippet */
|
||||
.snippet .body {
|
||||
padding-left: 12px;
|
||||
}
|
||||
.snippet.additions {
|
||||
color: #336543;
|
||||
}
|
||||
.snippet.deletions {
|
||||
color: #9A5256;
|
||||
}
|
||||
|
||||
/* Markdown and syntax highlighting */
|
||||
.markdown b, .markdown i {
|
||||
display: inline-block;
|
||||
@@ -1140,6 +1151,15 @@
|
||||
width: 97%;
|
||||
margin-top: 4px;
|
||||
}
|
||||
span.code {
|
||||
background-color: #7777771F;
|
||||
padding: 1px 5px;
|
||||
font-size: 80%;
|
||||
border-radius: 6px;
|
||||
color: #777777;
|
||||
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
|
||||
margin: 0 4px -3px;
|
||||
}
|
||||
.token.comment {
|
||||
color: #669900;
|
||||
}
|
||||
@@ -1160,7 +1180,27 @@
|
||||
}
|
||||
.token.trimmed {
|
||||
font-style: italic;
|
||||
color: #77777760
|
||||
color: #77777760;
|
||||
}
|
||||
.token.coord {
|
||||
color: #D2A8FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.inserted:not(.prefix) {
|
||||
color: #AAD0B4DC;
|
||||
background-color: #336543DC;
|
||||
}
|
||||
.token.deleted:not(.prefix) {
|
||||
color: #EED2D0DC;
|
||||
background-color: #9A5256DC;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
.space {
|
||||
margin-left: 7px;
|
||||
}
|
||||
.blue {
|
||||
color: #58a6ff;
|
||||
}
|
||||
|
||||
/* Charts */
|
||||
|
||||
Reference in New Issue
Block a user