/* Base16 Atelier Savanna Light - Theme */ /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ /* Original Base16 color scheme by Chris Kempson (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: #526057; 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:#ecf4ee ! important; margin-right: -10px } /* Atelier-Savanna Comment */ .hljs-comment, .hljs-quote { color: #5f6d64; } /* Atelier-Savanna Red */ .hljs-variable, .hljs-template-variable, .hljs-attribute, .hljs-tag, .hljs-name, .hljs-regexp, .hljs-link, .hljs-name, .hljs-selector-id, .hljs-selector-class { color: #b16139; } /* Atelier-Savanna Orange */ .hljs-number, .hljs-meta, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params { color: #9f713c; } /* Atelier-Savanna Green */ .hljs-string, .hljs-symbol, .hljs-bullet { color: #489963; } /* Atelier-Savanna Blue */ .hljs-title, .hljs-section { color: #478c90; } /* Atelier-Savanna Purple */ .hljs-keyword, .hljs-selector-tag { color: #55859b; } .hljs-deletion, .hljs-addition { color: #171c19; display: inline-block; width: 100%; } .hljs-deletion { background-color: #b16139; } .hljs-addition { background-color: #489963; } .hljs { display: block; overflow-x: auto; background: #ecf4ee; color: #526057; padding: 0.5em; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; }