mirror of https://github.com/jkjoy/sunpeiwen.git
183 lines
3.3 KiB
CSS
183 lines
3.3 KiB
CSS
/*
|
|
|
|
Night Owl for highlight.js (c) Carl Baxter <carl@cbax.tech>
|
|
|
|
An adaptation of Sarah Drasner's Night Owl VS Code Theme
|
|
https://github.com/sdras/night-owl-vscode-theme
|
|
|
|
Copyright (c) 2018 Sarah Drasner
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
|
|
*/
|
|
|
|
.highlight {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 0.5em;
|
|
background: #011627;
|
|
color: #d6deeb;
|
|
}
|
|
|
|
/* General Purpose */
|
|
.highlight .keyword {
|
|
color: #c792ea;
|
|
font-style: italic;
|
|
}
|
|
.highlight .built_in {
|
|
color: #addb67;
|
|
font-style: italic;
|
|
}
|
|
.highlight .type {
|
|
color: #82aaff;
|
|
}
|
|
.highlight .literal {
|
|
color: #ff5874;
|
|
}
|
|
.highlight .number {
|
|
color: #F78C6C;
|
|
}
|
|
.highlight .regexp {
|
|
color: #5ca7e4;
|
|
}
|
|
.highlight .string {
|
|
color: #ecc48d;
|
|
}
|
|
.highlight .subst {
|
|
color: #d3423e;
|
|
}
|
|
.highlight .symbol {
|
|
color: #82aaff;
|
|
}
|
|
.highlight .class {
|
|
color: #ffcb8b;
|
|
}
|
|
.highlight .function {
|
|
color: #82AAFF;
|
|
}
|
|
.highlight .title {
|
|
color: #DCDCAA;
|
|
font-style: italic;
|
|
}
|
|
.highlight .params {
|
|
color: #7fdbca;
|
|
}
|
|
|
|
/* Meta */
|
|
.highlight .comment {
|
|
color: #637777;
|
|
font-style: italic;
|
|
}
|
|
.highlight .doctag {
|
|
color: #7fdbca;
|
|
}
|
|
.highlight .meta {
|
|
color: #82aaff;
|
|
}
|
|
.highlight .meta-keyword {
|
|
color: #82aaff;
|
|
}
|
|
.highlight .meta-string {
|
|
color: #ecc48d;
|
|
}
|
|
|
|
/* Tags, attributes, config */
|
|
.highlight .section {
|
|
color: #82b1ff;
|
|
}
|
|
.highlight .tag,
|
|
.highlight .name,
|
|
.highlight .builtin-name {
|
|
color: #7fdbca;
|
|
}
|
|
.highlight .attr {
|
|
color: #7fdbca;
|
|
}
|
|
.highlight .attribute {
|
|
color: #80cbc4;
|
|
}
|
|
.highlight .variable {
|
|
color: #addb67;
|
|
}
|
|
|
|
/* Markup */
|
|
.highlight .bullet {
|
|
color: #d9f5dd;
|
|
}
|
|
.highlight .code {
|
|
color: #80CBC4;
|
|
}
|
|
.highlight .emphasis {
|
|
color: #c792ea;
|
|
font-style: italic;
|
|
}
|
|
.highlight .strong {
|
|
color: #addb67;
|
|
font-weight: bold;
|
|
}
|
|
.highlight .formula {
|
|
color: #c792ea;
|
|
}
|
|
.highlight .link {
|
|
color: #ff869a;
|
|
}
|
|
.highlight .quote {
|
|
color: #697098;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* CSS */
|
|
.highlight .selector-tag {
|
|
color: #ff6363;
|
|
}
|
|
|
|
.highlight .selector-id {
|
|
color: #fad430;
|
|
}
|
|
|
|
.highlight .selector-class {
|
|
color: #addb67;
|
|
font-style: italic;
|
|
}
|
|
|
|
.highlight .selector-attr,
|
|
.highlight .selector-pseudo {
|
|
color: #c792ea;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Templates */
|
|
.highlight .template-tag {
|
|
color: #c792ea;
|
|
}
|
|
.highlight .template-variable {
|
|
color: #addb67;
|
|
}
|
|
|
|
/* diff */
|
|
.highlight .addition {
|
|
color: #addb67ff;
|
|
font-style: italic;
|
|
}
|
|
|
|
.highlight .deletion {
|
|
color: #EF535090;
|
|
font-style: italic;
|
|
}
|