82 lines
1.5 KiB
CSS
82 lines
1.5 KiB
CSS
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
|
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #4d4d4c; 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:white ! important; margin-right: -10px }
|
|
|
|
|
|
/* Tomorrow Comment */
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #8e908c;
|
|
}
|
|
|
|
/* Tomorrow Red */
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-tag,
|
|
.hljs-name,
|
|
.hljs-selector-id,
|
|
.hljs-selector-class,
|
|
.hljs-regexp,
|
|
.hljs-deletion {
|
|
color: #c82829;
|
|
}
|
|
|
|
/* Tomorrow Orange */
|
|
.hljs-number,
|
|
.hljs-built_in,
|
|
.hljs-builtin-name,
|
|
.hljs-literal,
|
|
.hljs-type,
|
|
.hljs-params,
|
|
.hljs-meta,
|
|
.hljs-link {
|
|
color: #f5871f;
|
|
}
|
|
|
|
/* Tomorrow Yellow */
|
|
.hljs-attribute {
|
|
color: #eab700;
|
|
}
|
|
|
|
/* Tomorrow Green */
|
|
.hljs-string,
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-addition {
|
|
color: #718c00;
|
|
}
|
|
|
|
/* Tomorrow Blue */
|
|
.hljs-title,
|
|
.hljs-section {
|
|
color: #4271ae;
|
|
}
|
|
|
|
/* Tomorrow Purple */
|
|
.hljs-keyword,
|
|
.hljs-selector-tag {
|
|
color: #8959a8;
|
|
}
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
background: white;
|
|
color: #4d4d4c;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|