107 lines
1.6 KiB
CSS
107 lines
1.6 KiB
CSS
|
/*
|
||
|
Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
|
||
|
*/
|
||
|
|
||
|
/* 伪元素 滚动条 边角修饰 **/
|
||
|
pre { border-radius: 5px; }
|
||
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
||
|
pre code::-webkit-scrollbar-thumb { background: #ccc; 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:#f8f8ff ! important; margin-right: -10px }
|
||
|
|
||
|
|
||
|
.hljs {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding: 0.5em;
|
||
|
color: #000;
|
||
|
background: #f8f8ff;
|
||
|
}
|
||
|
|
||
|
.hljs-comment,
|
||
|
.hljs-quote {
|
||
|
color: #408080;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-literal,
|
||
|
.hljs-subst {
|
||
|
color: #954121;
|
||
|
}
|
||
|
|
||
|
.hljs-number {
|
||
|
color: #40a070;
|
||
|
}
|
||
|
|
||
|
.hljs-string,
|
||
|
.hljs-doctag {
|
||
|
color: #219161;
|
||
|
}
|
||
|
|
||
|
.hljs-selector-id,
|
||
|
.hljs-selector-class,
|
||
|
.hljs-section,
|
||
|
.hljs-type {
|
||
|
color: #19469d;
|
||
|
}
|
||
|
|
||
|
.hljs-params {
|
||
|
color: #00f;
|
||
|
}
|
||
|
|
||
|
.hljs-title {
|
||
|
color: #458;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.hljs-tag,
|
||
|
.hljs-name,
|
||
|
.hljs-attribute {
|
||
|
color: #000080;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
|
||
|
.hljs-variable,
|
||
|
.hljs-template-variable {
|
||
|
color: #008080;
|
||
|
}
|
||
|
|
||
|
.hljs-regexp,
|
||
|
.hljs-link {
|
||
|
color: #b68;
|
||
|
}
|
||
|
|
||
|
.hljs-symbol,
|
||
|
.hljs-bullet {
|
||
|
color: #990073;
|
||
|
}
|
||
|
|
||
|
.hljs-built_in,
|
||
|
.hljs-builtin-name {
|
||
|
color: #0086b3;
|
||
|
}
|
||
|
|
||
|
.hljs-meta {
|
||
|
color: #999;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.hljs-deletion {
|
||
|
background: #fdd;
|
||
|
}
|
||
|
|
||
|
.hljs-addition {
|
||
|
background: #dfd;
|
||
|
}
|
||
|
|
||
|
.hljs-emphasis {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
.hljs-strong {
|
||
|
font-weight: bold;
|
||
|
}
|