86 lines
1.4 KiB
CSS
86 lines
1.4 KiB
CSS
/*
|
|
|
|
Darcula color scheme from the JetBrains family of IDEs
|
|
|
|
*/
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #333; 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:#2b2b2b ! important; margin-right: -10px }
|
|
|
|
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 0.5em;
|
|
background: #2b2b2b;
|
|
}
|
|
|
|
.hljs {
|
|
color: #bababa;
|
|
}
|
|
|
|
.hljs-strong,
|
|
.hljs-emphasis {
|
|
color: #a8a8a2;
|
|
}
|
|
|
|
.hljs-bullet,
|
|
.hljs-quote,
|
|
.hljs-link,
|
|
.hljs-number,
|
|
.hljs-regexp,
|
|
.hljs-literal {
|
|
color: #6896ba;
|
|
}
|
|
|
|
.hljs-code,
|
|
.hljs-selector-class {
|
|
color: #a6e22e;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-keyword,
|
|
.hljs-selector-tag,
|
|
.hljs-section,
|
|
.hljs-attribute,
|
|
.hljs-name,
|
|
.hljs-variable {
|
|
color: #cb7832;
|
|
}
|
|
|
|
.hljs-params {
|
|
color: #b9b9b9;
|
|
}
|
|
|
|
.hljs-string {
|
|
color: #6a8759;
|
|
}
|
|
|
|
.hljs-subst,
|
|
.hljs-type,
|
|
.hljs-built_in,
|
|
.hljs-builtin-name,
|
|
.hljs-symbol,
|
|
.hljs-selector-id,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-pseudo,
|
|
.hljs-template-tag,
|
|
.hljs-template-variable,
|
|
.hljs-addition {
|
|
color: #e0c46c;
|
|
}
|
|
|
|
.hljs-comment,
|
|
.hljs-deletion,
|
|
.hljs-meta {
|
|
color: #7f7f7f;
|
|
}
|