|
|
@charset "UTF-8";
|
|
|
/* PrismJS 1.9.0
|
|
|
http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+ruby+json+less+php+python+jsx+sass+scss+sql&plugins=line-highlight+line-numbers */
|
|
|
/**
|
|
|
* prism.js default theme for JavaScript, CSS and HTML
|
|
|
* Based on dabblet (http://dabblet.com)
|
|
|
* @author Lea Verou
|
|
|
*/
|
|
|
.token.comment,
|
|
|
.token.prolog,
|
|
|
.token.doctype,
|
|
|
.token.cdata {
|
|
|
color: slategray;
|
|
|
}
|
|
|
|
|
|
.token.punctuation {
|
|
|
color: #999;
|
|
|
}
|
|
|
|
|
|
.namespace {
|
|
|
opacity: .7;
|
|
|
}
|
|
|
|
|
|
.token.property,
|
|
|
.token.tag,
|
|
|
.token.boolean,
|
|
|
.token.number,
|
|
|
.token.constant,
|
|
|
.token.symbol,
|
|
|
.token.deleted {
|
|
|
color: #905;
|
|
|
}
|
|
|
|
|
|
.token.selector,
|
|
|
.token.attr-name,
|
|
|
.token.string,
|
|
|
.token.char,
|
|
|
.token.builtin,
|
|
|
.token.inserted {
|
|
|
color: #690;
|
|
|
}
|
|
|
|
|
|
.token.operator,
|
|
|
.token.entity,
|
|
|
.token.url,
|
|
|
.language-css .token.string,
|
|
|
.style .token.string {
|
|
|
color: #a67f59;
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
}
|
|
|
|
|
|
.token.atrule,
|
|
|
.token.attr-value,
|
|
|
.token.keyword {
|
|
|
color: #07a;
|
|
|
}
|
|
|
|
|
|
.token.function {
|
|
|
color: #dd4a68;
|
|
|
}
|
|
|
|
|
|
.token.regex,
|
|
|
.token.important,
|
|
|
.token.variable {
|
|
|
color: #e90;
|
|
|
}
|
|
|
|
|
|
.token.important,
|
|
|
.token.bold {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.token.italic {
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.token.entity {
|
|
|
cursor: help;
|
|
|
}
|
|
|
|
|
|
pre[data-line] {
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.line-highlight {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
margin-top: 1em;
|
|
|
/* Same as .prism’s padding-top */
|
|
|
background: rgba(255, 255, 0, 0.1);
|
|
|
pointer-events: none;
|
|
|
line-height: inherit;
|
|
|
white-space: pre;
|
|
|
}
|
|
|
|
|
|
.line-highlight:before,
|
|
|
.line-highlight[data-end]:after {
|
|
|
content: attr(data-start);
|
|
|
position: absolute;
|
|
|
top: .4em;
|
|
|
left: .6em;
|
|
|
min-width: 1em;
|
|
|
padding: 0 .5em;
|
|
|
background-color: rgba(153, 122, 102, 0.4);
|
|
|
color: #f5f2f0;
|
|
|
font: bold 65%/1.5 sans-serif;
|
|
|
text-align: center;
|
|
|
vertical-align: .3em;
|
|
|
border-radius: 999px;
|
|
|
text-shadow: none;
|
|
|
box-shadow: 0 1px white;
|
|
|
}
|
|
|
|
|
|
.line-highlight[data-end]:after {
|
|
|
content: attr(data-end);
|
|
|
top: auto;
|
|
|
bottom: .4em;
|
|
|
}
|
|
|
|
|
|
.line-numbers .line-highlight:before,
|
|
|
.line-numbers .line-highlight:after {
|
|
|
content: none;
|
|
|
}
|
|
|
|
|
|
pre.line-numbers {
|
|
|
position: relative;
|
|
|
padding-left: 3.8em;
|
|
|
counter-reset: linenumber;
|
|
|
}
|
|
|
|
|
|
pre.line-numbers > code {
|
|
|
position: relative;
|
|
|
white-space: inherit;
|
|
|
}
|
|
|
|
|
|
.line-numbers .line-numbers-rows {
|
|
|
position: absolute;
|
|
|
pointer-events: none;
|
|
|
top: 0;
|
|
|
font-size: 100%;
|
|
|
left: -3.8em;
|
|
|
width: 3em;
|
|
|
/* works for line-numbers below 1000 lines */
|
|
|
letter-spacing: -1px;
|
|
|
border-right: 1px solid rgba(0, 40, 100, 0.12);
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.line-numbers-rows > span {
|
|
|
pointer-events: none;
|
|
|
display: block;
|
|
|
counter-increment: linenumber;
|
|
|
}
|
|
|
|
|
|
.line-numbers-rows > span:before {
|
|
|
content: counter(linenumber);
|
|
|
color: rgba(154, 160, 172, 0.5);
|
|
|
display: block;
|
|
|
padding-right: 0.8em;
|
|
|
text-align: right;
|
|
|
}
|
|
|
|
|
|
pre.code-toolbar {
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
pre.code-toolbar > .toolbar {
|
|
|
position: absolute;
|
|
|
top: .3em;
|
|
|
right: .2em;
|
|
|
transition: opacity 0.3s ease-in-out;
|
|
|
opacity: 1;
|
|
|
}
|
|
|
|
|
|
pre.code-toolbar > .toolbar .toolbar-item {
|
|
|
display: inline-block;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
pre.code-toolbar > .toolbar a {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
pre.code-toolbar > .toolbar a,
|
|
|
pre.code-toolbar > .toolbar button,
|
|
|
pre.code-toolbar > .toolbar span {
|
|
|
color: #9aa0ac;
|
|
|
padding: 0 .5em;
|
|
|
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
|
font-size: px2rem(14px);
|
|
|
}
|