2021-05-27 12:54:38 -05:00
|
|
|
pre,
|
|
|
|
code {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d4d4d4;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
|
|
line-height: 1.5;
|
|
|
|
direction: ltr;
|
|
|
|
white-space: pre;
|
|
|
|
text-align: left;
|
|
|
|
text-shadow: none;
|
|
|
|
word-break: normal;
|
|
|
|
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;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre::selection,
|
|
|
|
code::selection {
|
2021-08-25 13:52:22 -05:00
|
|
|
text-shadow: none;
|
|
|
|
background: #b3d4fc;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2021-08-25 13:52:22 -05:00
|
|
|
pre,
|
2021-05-27 12:54:38 -05:00
|
|
|
code {
|
2021-08-25 13:52:22 -05:00
|
|
|
text-shadow: none;
|
|
|
|
}
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2021-08-25 13:52:22 -05:00
|
|
|
margin: 0.5rem 0 16px;
|
|
|
|
padding: 0.8rem 1rem 0.9rem;
|
|
|
|
overflow: auto;
|
|
|
|
background: #282a36;
|
|
|
|
border-radius: 4px;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
:not(pre) > code {
|
2021-08-25 13:52:22 -05:00
|
|
|
padding: 0.1em 0.3em;
|
|
|
|
color: #db4c69;
|
|
|
|
background: #f9f2f4;
|
|
|
|
border-radius: 0.3em;
|
|
|
|
white-space: pre-wrap;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/*********************************************************
|
|
|
|
* Tokens
|
|
|
|
*/
|
|
|
|
.namespace {
|
2021-08-25 13:52:22 -05:00
|
|
|
opacity: 0.7;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #6a9955;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d4d4d4;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #b5cea8;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #ce9178;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d4d4d4;
|
|
|
|
background: #2d3748;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.keyword {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #c586c0;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.function {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #dcdcaa;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
.token.important,
|
|
|
|
.token.variable {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d16969;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
2021-08-25 13:52:22 -05:00
|
|
|
font-weight: bold;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.italic {
|
2021-08-25 13:52:22 -05:00
|
|
|
font-style: italic;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.constant {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #9cdcfe;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.class-name {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #4ec9b0;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.parameter {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #9cdcfe;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.interpolation {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #9cdcfe;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation.interpolation-punctuation {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #569cd6;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.boolean {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #569cd6;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.property {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #9cdcfe;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d7ba7d;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.tag {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #569cd6;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.attr-name {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #9cdcfe;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.attr-value {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #ce9178;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #4ec9b0;
|
|
|
|
cursor: unset;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.namespace {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #4ec9b0;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/*********************************************************
|
|
|
|
* Language Specific
|
|
|
|
*/
|
|
|
|
pre[class*='language-javascript'],
|
|
|
|
code[class*='language-javascript'] {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #4ec9b0;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*='language-css'],
|
|
|
|
code[class*='language-css'] {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #ce9178;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*='language-html'],
|
|
|
|
code[class*='language-html'] {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d4d4d4;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.language-html .token.punctuation {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #808080;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/*********************************************************
|
|
|
|
* Line highlighting
|
|
|
|
*/
|
|
|
|
pre[data-line] {
|
2021-08-25 13:52:22 -05:00
|
|
|
position: relative;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre > code {
|
2021-08-25 13:52:22 -05:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.line-highlight {
|
2021-08-25 13:52:22 -05:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: inherit 0;
|
|
|
|
line-height: inherit;
|
|
|
|
white-space: pre;
|
|
|
|
background: #f7ebc6;
|
|
|
|
box-shadow: inset 5px 0 0 #f7d87c;
|
|
|
|
pointer-events: none;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*='language-bash'] .token.function {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #d4d4d4;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|
2021-08-25 13:51:04 -05:00
|
|
|
|
2021-05-27 12:54:38 -05:00
|
|
|
.token.comment {
|
2021-08-25 13:52:22 -05:00
|
|
|
color: #fff7;
|
2021-08-25 13:51:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: 900px;
|
|
|
|
margin: auto;
|
2021-05-27 12:54:38 -05:00
|
|
|
}
|