83 lines
1.5 KiB
CSS
83 lines
1.5 KiB
CSS
/* Ocean Dark Theme */
|
|
/* https://github.com/gavsiu */
|
|
/* Original theme - https://github.com/chriskempson/base16 */
|
|
/* 伪元素 滚动条 边角修饰 **/
|
|
pre { border-radius: 5px; }
|
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
|
pre code::-webkit-scrollbar-thumb { background: #0b101b; 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:#2b303b ! important; margin-right: -10px }
|
|
|
|
|
|
/* Ocean Comment */
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #65737e;
|
|
}
|
|
|
|
/* Ocean Red */
|
|
.hljs-variable,
|
|
.hljs-template-variable,
|
|
.hljs-tag,
|
|
.hljs-name,
|
|
.hljs-selector-id,
|
|
.hljs-selector-class,
|
|
.hljs-regexp,
|
|
.hljs-deletion {
|
|
color: #bf616a;
|
|
}
|
|
|
|
/* Ocean Orange */
|
|
.hljs-number,
|
|
.hljs-built_in,
|
|
.hljs-builtin-name,
|
|
.hljs-literal,
|
|
.hljs-type,
|
|
.hljs-params,
|
|
.hljs-meta,
|
|
.hljs-link {
|
|
color: #d08770;
|
|
}
|
|
|
|
/* Ocean Yellow */
|
|
.hljs-attribute {
|
|
color: #ebcb8b;
|
|
}
|
|
|
|
/* Ocean Green */
|
|
.hljs-string,
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-addition {
|
|
color: #a3be8c;
|
|
}
|
|
|
|
/* Ocean Blue */
|
|
.hljs-title,
|
|
.hljs-section {
|
|
color: #8fa1b3;
|
|
}
|
|
|
|
/* Ocean Purple */
|
|
.hljs-keyword,
|
|
.hljs-selector-tag {
|
|
color: #b48ead;
|
|
}
|
|
|
|
.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
background: #2b303b;
|
|
color: #c0c5ce;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|