/* Tomorrow Night Theme */ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ /* Original theme - https://github.com/chriskempson/tomorrow-theme */ /* 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: #c5c8c6; 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:#1d1f21 ! important; margin-right: -10px } /* Tomorrow Comment */ .hljs-comment, .hljs-quote { color: #969896; } /* Tomorrow Red */ .hljs-variable, .hljs-template-variable, .hljs-tag, .hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-regexp, .hljs-deletion { color: #cc6666; } /* Tomorrow Orange */ .hljs-number, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, .hljs-meta, .hljs-link { color: #de935f; } /* Tomorrow Yellow */ .hljs-attribute { color: #f0c674; } /* Tomorrow Green */ .hljs-string, .hljs-symbol, .hljs-bullet, .hljs-addition { color: #b5bd68; } /* Tomorrow Blue */ .hljs-title, .hljs-section { color: #81a2be; } /* Tomorrow Purple */ .hljs-keyword, .hljs-selector-tag { color: #b294bb; } .hljs { display: block; overflow-x: auto; background: #1d1f21; color: #c5c8c6; padding: 0.5em; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; }