106 lines
1.8 KiB
CSS
106 lines
1.8 KiB
CSS
/*
|
|
|
|
Atom One Light by Daniel Gamage
|
|
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
|
|
|
|
base: #fafafa
|
|
mono-1: #383a42
|
|
mono-2: #686b77
|
|
mono-3: #a0a1a7
|
|
hue-1: #0184bb
|
|
hue-2: #4078f2
|
|
hue-3: #a626a4
|
|
hue-4: #50a14f
|
|
hue-5: #e45649
|
|
hue-5-2: #c91243
|
|
hue-6: #986801
|
|
hue-6-2: #c18401
|
|
|
|
*/
|
|
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #383a42; border-radius: 4px; } /*滚动轴*/
|
|
pre code::-webkit-scrollbar-corner { background: rgba(0,0,0,0);} /*交点 */
|
|
.hljs ul { list-style: decimal-leading-zero ! important; }
|
|
.hljs ul li::before { position: relative; left: -12px; content:' '; background:#fafafa ! important; margin-right: -10px }
|
|
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 0.5em;
|
|
color: #383a42;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #a0a1a7;
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-doctag,
|
|
.hljs-keyword,
|
|
.hljs-formula {
|
|
color: #a626a4;
|
|
}
|
|
|
|
.hljs-section,
|
|
.hljs-name,
|
|
.hljs-selector-tag,
|
|
.hljs-deletion,
|
|
.hljs-subst {
|
|
color: #e45649;
|
|
}
|
|
|
|
.hljs-literal {
|
|
color: #0184bb;
|
|
}
|
|
|
|
.hljs-string,
|
|
.hljs-regexp,
|
|
.hljs-addition,
|
|
.hljs-attribute,
|
|
.hljs-meta-string {
|
|
color: #50a14f;
|
|
}
|
|
|
|
.hljs-built_in,
|
|
.hljs-class .hljs-title {
|
|
color: #c18401;
|
|
}
|
|
|
|
.hljs-attr,
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-type,
|
|
.hljs-selector-class,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-pseudo,
|
|
.hljs-number {
|
|
color: #986801;
|
|
}
|
|
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-link,
|
|
.hljs-meta,
|
|
.hljs-selector-id,
|
|
.hljs-title {
|
|
color: #4078f2;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hljs-link {
|
|
text-decoration: underline;
|
|
}
|