85 lines
1.5 KiB
CSS
85 lines
1.5 KiB
CSS
|
/*
|
||
|
|
||
|
Dracula Theme v1.2.0
|
||
|
|
||
|
https://github.com/zenorocha/dracula-theme
|
||
|
|
||
|
Copyright 2015, All rights reserved
|
||
|
|
||
|
Code licensed under the MIT license
|
||
|
http://zenorocha.mit-license.org
|
||
|
|
||
|
@author Éverton Ribeiro <nuxlli@gmail.com>
|
||
|
@author Zeno Rocha <hi@zenorocha.com>
|
||
|
|
||
|
*/
|
||
|
/* 伪元素 滚动条 边角修饰 **/
|
||
|
pre { border-radius: 5px; }
|
||
|
pre code::-webkit-scrollbar { width: 8px; height: 8px; background: rgba(0,0,0,0); } /*滚动槽*/
|
||
|
pre code::-webkit-scrollbar-thumb { background: #444; 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:#282a36 ! important; margin-right: -10px }
|
||
|
|
||
|
|
||
|
.hljs {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding: 0.5em;
|
||
|
background: #282a36;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-literal,
|
||
|
.hljs-section,
|
||
|
.hljs-link {
|
||
|
color: #8be9fd;
|
||
|
}
|
||
|
|
||
|
.hljs-function .hljs-keyword {
|
||
|
color: #ff79c6;
|
||
|
}
|
||
|
|
||
|
.hljs,
|
||
|
.hljs-subst {
|
||
|
color: #f8f8f2;
|
||
|
}
|
||
|
|
||
|
.hljs-string,
|
||
|
.hljs-title,
|
||
|
.hljs-name,
|
||
|
.hljs-type,
|
||
|
.hljs-attribute,
|
||
|
.hljs-symbol,
|
||
|
.hljs-bullet,
|
||
|
.hljs-addition,
|
||
|
.hljs-variable,
|
||
|
.hljs-template-tag,
|
||
|
.hljs-template-variable {
|
||
|
color: #f1fa8c;
|
||
|
}
|
||
|
|
||
|
.hljs-comment,
|
||
|
.hljs-quote,
|
||
|
.hljs-deletion,
|
||
|
.hljs-meta {
|
||
|
color: #6272a4;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-literal,
|
||
|
.hljs-title,
|
||
|
.hljs-section,
|
||
|
.hljs-doctag,
|
||
|
.hljs-type,
|
||
|
.hljs-name,
|
||
|
.hljs-strong {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.hljs-emphasis {
|
||
|
font-style: italic;
|
||
|
}
|