80 lines
1.4 KiB
CSS
80 lines
1.4 KiB
CSS
|
/**
|
||
|
* GitHub Gist Theme
|
||
|
* Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
|
||
|
*/
|
||
|
/* 伪元素 滚动条 边角修饰 **/
|
||
|
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:white ! important; margin-right: -10px }
|
||
|
|
||
|
|
||
|
.hljs {
|
||
|
display: block;
|
||
|
background: white;
|
||
|
padding: 0.5em;
|
||
|
color: #333333;
|
||
|
overflow-x: auto;
|
||
|
}
|
||
|
|
||
|
.hljs-comment,
|
||
|
.hljs-meta {
|
||
|
color: #969896;
|
||
|
}
|
||
|
|
||
|
.hljs-string,
|
||
|
.hljs-variable,
|
||
|
.hljs-template-variable,
|
||
|
.hljs-strong,
|
||
|
.hljs-emphasis,
|
||
|
.hljs-quote {
|
||
|
color: #df5000;
|
||
|
}
|
||
|
|
||
|
.hljs-keyword,
|
||
|
.hljs-selector-tag,
|
||
|
.hljs-type {
|
||
|
color: #a71d5d;
|
||
|
}
|
||
|
|
||
|
.hljs-literal,
|
||
|
.hljs-symbol,
|
||
|
.hljs-bullet,
|
||
|
.hljs-attribute {
|
||
|
color: #0086b3;
|
||
|
}
|
||
|
|
||
|
.hljs-section,
|
||
|
.hljs-name {
|
||
|
color: #63a35c;
|
||
|
}
|
||
|
|
||
|
.hljs-tag {
|
||
|
color: #333333;
|
||
|
}
|
||
|
|
||
|
.hljs-title,
|
||
|
.hljs-attr,
|
||
|
.hljs-selector-id,
|
||
|
.hljs-selector-class,
|
||
|
.hljs-selector-attr,
|
||
|
.hljs-selector-pseudo {
|
||
|
color: #795da3;
|
||
|
}
|
||
|
|
||
|
.hljs-addition {
|
||
|
color: #55a532;
|
||
|
background-color: #eaffea;
|
||
|
}
|
||
|
|
||
|
.hljs-deletion {
|
||
|
color: #bd2c00;
|
||
|
background-color: #ffecec;
|
||
|
}
|
||
|
|
||
|
.hljs-link {
|
||
|
text-decoration: underline;
|
||
|
}
|