94 lines
1.5 KiB
CSS
94 lines
1.5 KiB
CSS
/*
|
|
|
|
Style with support for rainbow parens
|
|
|
|
*/
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #d1d9e1; 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:#474949 ! important; margin-right: -10px }
|
|
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 0.5em;
|
|
background: #474949;
|
|
color: #d1d9e1;
|
|
}
|
|
|
|
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #969896;
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-keyword,
|
|
.hljs-selector-tag,
|
|
.hljs-literal,
|
|
.hljs-type,
|
|
.hljs-addition {
|
|
color: #cc99cc;
|
|
}
|
|
|
|
.hljs-number,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-pseudo {
|
|
color: #f99157;
|
|
}
|
|
|
|
.hljs-string,
|
|
.hljs-doctag,
|
|
.hljs-regexp {
|
|
color: #8abeb7;
|
|
}
|
|
|
|
.hljs-title,
|
|
.hljs-name,
|
|
.hljs-section,
|
|
.hljs-built_in {
|
|
color: #b5bd68;
|
|
}
|
|
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-selector-id,
|
|
.hljs-class .hljs-title {
|
|
color: #ffcc66;
|
|
}
|
|
|
|
.hljs-section,
|
|
.hljs-name,
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-subst,
|
|
.hljs-meta,
|
|
.hljs-link {
|
|
color: #f99157;
|
|
}
|
|
|
|
.hljs-deletion {
|
|
color: #dc322f;
|
|
}
|
|
|
|
.hljs-formula {
|
|
background: #eee8d5;
|
|
}
|
|
|
|
.hljs-attr,
|
|
.hljs-attribute {
|
|
color: #81a2be;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|