This is the template project that's checked out and configured when you run the bando-up command from ljsthw-bandolier. This is where the code really lives.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
bandolier-template/static/css/prism.css

145 lines
2.4 KiB

code[class*="language-"] {
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
/* Code blocks */
pre > code[class*="language-"] {
margin: 0.5em 0;
overflow: auto;
border-radius: 0.3em;
}
:not(pre) > code[class*="language-"] {
padding: 0.2em;
border-radius: 0.3em;
box-shadow: none;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #aaa;
}
.token.punctuation {
color: #999;
}
.token.namespace {
opacity: 0.7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
color: #98B6FF;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
color: #FFCE07;
}
.token.operator,
.token.entity,
.token.url,
.language-css 0.token.string,
.token.variable,
.token.inserted {
color: #67E261;
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #F9CCFF;
}
.token.regex,
.token.important {
color: orange;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.deleted {
color: red;
}
/* Plugin styles: Diff Highlight */
pre.diff-highlight.diff-highlight > code 0.token.deleted:not(.prefix),
pre > code.diff-highlight.diff-highlight 0.token.deleted:not(.prefix) {
background-color: rgba(255, 0, 0, 0.3);
display: inline;
}
pre.diff-highlight.diff-highlight > code 0.token.inserted:not(.prefix),
pre > code.diff-highlight.diff-highlight 0.token.inserted:not(.prefix) {
background-color: rgba(0, 255, 128, 0.3);
display: inline;
}
code[class*="language-"] .line-numbers-rows {
padding-top: 0.5rem;
position: absolute;
pointer-events: none;
top: 0;
left: 0;
bottom: 0;
font-size: 100%;
width: 3em; /* works for line-numbers below 1000 lines */
letter-spacing: -1px;
border-right: 1px solid var(--value3);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
display: block;
counter-increment: linenumber;
}
.line-numbers-rows > span::before {
content: counter(linenumber);
color: #999;
display: block;
padding-right: 0.8em;
text-align: right;
}