2018-02-20 18:00:08 +08:00
|
|
|
/**
|
|
|
|
* GHColors theme by Avi Aryan (http://aviaryan.in)
|
|
|
|
* Inspired by Github syntax coloring
|
|
|
|
*/
|
|
|
|
|
|
|
|
code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #393A34;
|
|
|
|
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
|
|
|
direction: ltr;
|
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-break: normal;
|
|
|
|
font-size: .9em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
-o-tab-size: 4;
|
|
|
|
tab-size: 4;
|
|
|
|
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
-moz-hyphens: none;
|
|
|
|
-ms-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code[class*="language-"] {
|
|
|
|
font-size: 1em;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
|
|
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
2019-10-08 09:57:05 +08:00
|
|
|
background: #b3d4fc;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
|
|
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
2019-10-08 09:57:05 +08:00
|
|
|
background: #b3d4fc;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Code blocks */
|
|
|
|
pre[class*="language-"] {
|
2019-10-08 09:57:05 +08:00
|
|
|
padding: 1em;
|
|
|
|
margin: .5em 0;
|
|
|
|
overflow: auto;
|
|
|
|
border: 1px solid #dddddd;
|
|
|
|
background-color: white;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline code */
|
|
|
|
:not(pre) > code[class*="language-"] {
|
2019-10-08 09:57:05 +08:00
|
|
|
padding: .2em;
|
|
|
|
padding-top: 1px; padding-bottom: 1px;
|
|
|
|
background: #f8f8f8;
|
|
|
|
border: 1px solid #dddddd;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #999988; font-style: italic;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.namespace {
|
2019-10-08 09:57:05 +08:00
|
|
|
opacity: .7;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.string,
|
|
|
|
.token.attr-value {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #e3116c;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
.token.punctuation,
|
|
|
|
.token.operator {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #393A34; /* no highlight */
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.token.symbol,
|
|
|
|
.token.number,
|
|
|
|
.token.boolean,
|
|
|
|
.token.variable,
|
|
|
|
.token.constant,
|
|
|
|
.token.property,
|
|
|
|
.token.regex,
|
|
|
|
.token.inserted {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #36acaa;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.keyword,
|
|
|
|
.token.attr-name,
|
|
|
|
.language-autohotkey .token.selector {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #00a4db;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.function,
|
|
|
|
.token.deleted,
|
|
|
|
.language-autohotkey .token.tag {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #9a050f;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.tag,
|
|
|
|
.token.selector,
|
|
|
|
.language-autohotkey .token.keyword {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #00009f;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.function,
|
|
|
|
.token.bold {
|
2019-10-08 09:57:05 +08:00
|
|
|
font-weight: bold;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.italic {
|
2019-10-08 09:57:05 +08:00
|
|
|
font-style: italic;
|
|
|
|
}
|