84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
|
/*
|
||
|
Date: 17.V.2011
|
||
|
Author: pumbur <pumbur@pumbur.net>
|
||
|
*/
|
||
|
|
||
|
/* 伪元素 滚动条 边角修饰 **/
|
||
|
pre { border-radius: 5px; }
|
||
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
||
|
pre code::-webkit-scrollbar-thumb { background: #000; 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:#222 ! important; margin-right: -10px }
|
||
|
|
||
|
|
||
|
|
||
|
.hljs {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding: 0.5em;
|
||
|
background: #222;
|
||
|
}
|
||
|
|
||
|
.hljs,
|
||
|
.hljs-subst {
|
||
|
color: #aaa;
|
||
|
}
|
||
|
|
||
|
.hljs-section {
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.hljs-comment,
|
||
|
.hljs-quote,
|
||
|
.hljs-meta {
|
||
|
color: #444;
|
||
|
}
|
||
|
|
||
|
.hljs-string,
|
||
|
.hljs-symbol,
|
||
|
.hljs-bullet,
|
||
|
.hljs-regexp {
|
||
|
color: #ffcc33;
|
||
|
}
|
||
|
|
||
|
.hljs-number,
|
||
|
.hljs-addition {
|
||
|
color: #00cc66;
|
||
|
}
|
||
|
|
||
|
.hljs-built_in,
|
||
|
.hljs-builtin-name,
|
||
|
.hljs-literal,
|
||
|
.hljs-type,
|
||
|
.hljs-template-variable,
|
||
|
.hljs-attribute,
|
||
|
.hljs-link {
|
||
|
color: #32aaee;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-name,
|
||
|
.hljs-selector-id,
|
||
|
.hljs-selector-class {
|
||
|
color: #6644aa;
|
||
|
}
|
||
|
|
||
|
.hljs-title,
|
||
|
.hljs-variable,
|
||
|
.hljs-deletion,
|
||
|
.hljs-template-tag {
|
||
|
color: #bb1166;
|
||
|
}
|
||
|
|
||
|
.hljs-section,
|
||
|
.hljs-doctag,
|
||
|
.hljs-strong {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.hljs-emphasis {
|
||
|
font-style: italic;
|
||
|
}
|