2019-10-08 09:57:05 +08:00
|
|
|
@import url(https://fonts.googleapis.com/css?family=Fira+Mono);
|
2018-02-20 18:00:08 +08:00
|
|
|
/*
|
|
|
|
* Hopscotch
|
|
|
|
* by Jan T. Sott
|
|
|
|
* https://github.com/idleberg/Hopscotch
|
|
|
|
*
|
|
|
|
* This work is licensed under the Creative Commons CC0 1.0 Universal License
|
2019-10-08 09:57:05 +08:00
|
|
|
*/
|
|
|
|
|
2018-02-20 18:00:08 +08:00
|
|
|
code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #ffffff;
|
|
|
|
font-family: "Fira Mono", Menlo, Monaco, "Lucida Console","Courier New", Courier, monospace;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.375;
|
|
|
|
direction: ltr;
|
|
|
|
text-align: left;
|
|
|
|
word-spacing: normal;
|
|
|
|
|
|
|
|
-moz-tab-size: 4;
|
|
|
|
-o-tab-size: 4;
|
|
|
|
tab-size: 4;
|
|
|
|
|
|
|
|
-webkit-hyphens: none;
|
|
|
|
-moz-hyphens: none;
|
|
|
|
-ms-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
white-space: pre;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
background: #322931;
|
|
|
|
color: #b9b5b8;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code[class*="language-"] {
|
|
|
|
font-size: 1em;
|
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;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline code */
|
|
|
|
:not(pre) > code[class*="language-"] {
|
2019-10-08 09:57:05 +08:00
|
|
|
padding: .1em;
|
|
|
|
border-radius: .3em;
|
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: #797379;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #b9b5b8;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.namespace {
|
2019-10-08 09:57:05 +08:00
|
|
|
opacity: .7;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.null,
|
|
|
|
.token.operator,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #fd8b19;
|
|
|
|
}
|
|
|
|
.token.property {
|
|
|
|
color: #fdcc59;
|
|
|
|
}
|
|
|
|
.token.tag {
|
|
|
|
color: #1290bf;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
.token.string {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #149b93;
|
|
|
|
}
|
|
|
|
.token.selector {
|
|
|
|
color: #c85e7c;
|
|
|
|
}
|
|
|
|
.token.attr-name {
|
|
|
|
color: #fd8b19;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
.token.entity,
|
2019-10-08 09:57:05 +08:00
|
|
|
.token.url,
|
2018-02-20 18:00:08 +08:00
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #149b93;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.attr-value,
|
|
|
|
.token.keyword,
|
|
|
|
.token.control,
|
|
|
|
.token.directive,
|
|
|
|
.token.unit {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #8fc13e;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
|
|
|
|
.token.statement,
|
2019-10-08 09:57:05 +08:00
|
|
|
.token.regex,
|
|
|
|
.token.atrule {
|
|
|
|
color: #149b93;
|
2018-02-20 18:00:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.placeholder,
|
|
|
|
.token.variable {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #1290bf;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
|
|
|
|
.token.important {
|
2019-10-08 09:57:05 +08:00
|
|
|
color: #dd464c;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
|
|
|
|
.token.entity {
|
2019-10-08 09:57:05 +08:00
|
|
|
cursor: help;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
|
|
|
|
pre > code.highlight {
|
2019-10-08 09:57:05 +08:00
|
|
|
outline: .4em solid red;
|
|
|
|
outline-offset: .4em;
|
|
|
|
}
|
2018-02-20 18:00:08 +08:00
|
|
|
|