69 lines
1.4 KiB
CSS
69 lines
1.4 KiB
CSS
/*
|
|
codepen.io Embed Theme
|
|
Author: Justin Perry <http://github.com/ourmaninamsterdam>
|
|
Original theme - https://github.com/chriskempson/tomorrow-theme
|
|
*/
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #333; 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;
|
|
color: #fff;
|
|
}
|
|
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #777;
|
|
}
|
|
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-tag,
|
|
.hljs-regexp,
|
|
.hljs-meta,
|
|
.hljs-number,
|
|
.hljs-built_in,
|
|
.hljs-builtin-name,
|
|
.hljs-literal,
|
|
.hljs-params,
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-link,
|
|
.hljs-deletion {
|
|
color: #ab875d;
|
|
}
|
|
|
|
.hljs-section,
|
|
.hljs-title,
|
|
.hljs-name,
|
|
.hljs-selector-id,
|
|
.hljs-selector-class,
|
|
.hljs-type,
|
|
.hljs-attribute {
|
|
color: #9b869b;
|
|
}
|
|
|
|
.hljs-string,
|
|
.hljs-keyword,
|
|
.hljs-selector-tag,
|
|
.hljs-addition {
|
|
color: #8f9c6c;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|