80 lines
1.4 KiB
CSS
80 lines
1.4 KiB
CSS
|
/*
|
||
|
Monokai style - ported by Luigi Maselli - http://grigio.org
|
||
|
*/
|
||
|
|
||
|
/* 伪元素 滚动条 边角修饰 **/
|
||
|
pre { border-radius: 5px; }
|
||
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
||
|
pre code::-webkit-scrollbar-thumb { background: #aaa; 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:#272822 ! important; margin-right: -10px }
|
||
|
|
||
|
|
||
|
.hljs {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding: 0.5em;
|
||
|
background: #272822; color: #ddd;
|
||
|
}
|
||
|
|
||
|
.hljs-tag,
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-literal,
|
||
|
.hljs-strong,
|
||
|
.hljs-name {
|
||
|
color: #f92672;
|
||
|
}
|
||
|
|
||
|
.hljs-code {
|
||
|
color: #66d9ef;
|
||
|
}
|
||
|
|
||
|
.hljs-class .hljs-title {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.hljs-attribute,
|
||
|
.hljs-symbol,
|
||
|
.hljs-regexp,
|
||
|
.hljs-link {
|
||
|
color: #bf79db;
|
||
|
}
|
||
|
|
||
|
.hljs-string,
|
||
|
.hljs-bullet,
|
||
|
.hljs-subst,
|
||
|
.hljs-title,
|
||
|
.hljs-section,
|
||
|
.hljs-emphasis,
|
||
|
.hljs-type,
|
||
|
.hljs-built_in,
|
||
|
.hljs-builtin-name,
|
||
|
.hljs-selector-attr,
|
||
|
.hljs-selector-pseudo,
|
||
|
.hljs-addition,
|
||
|
.hljs-variable,
|
||
|
.hljs-template-tag,
|
||
|
.hljs-template-variable {
|
||
|
color: #a6e22e;
|
||
|
}
|
||
|
|
||
|
.hljs-comment,
|
||
|
.hljs-quote,
|
||
|
.hljs-deletion,
|
||
|
.hljs-meta {
|
||
|
color: #75715e;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-literal,
|
||
|
.hljs-doctag,
|
||
|
.hljs-title,
|
||
|
.hljs-section,
|
||
|
.hljs-type,
|
||
|
.hljs-selector-id {
|
||
|
font-weight: bold;
|
||
|
}
|