/** * Prism Essence Theme, based on Material Theme. */ code[class*="language-"], pre[class*="language-"] { padding: 0; color: #fff; background: none; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } /* Code blocks */ pre[class*="language-"] { padding: 1em; margin: .5em 0; overflow: auto; border-radius: 8px; } :not(pre) > code[class*="language-"], pre[class*="language-"] { background: #2d3748; } /* Inline code */ :not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; white-space: normal; } /* Purple (keywords) */ .token.important, .token.atrule, .token.keyword, .token.builtin { color: #d9a9ff; // #cc99cd; } /* Yellow (classes, properties) */ .token.entity, .token.name, .token.class-name, .token.class, .token.package, .token.scope, .token.attr-name { color: #ffe484; // #FFCB6B; } /* Blue (functions) */ .token.function-name, .token.boolean, .token.function { color: #82AAFF; } /* Red (tags) */ .token.tag, .token.namespace, .token.selector, .token.deleted { color: #ff8383; // #F07178; } /* Green (strings, attribute values) */ .token.string, .token.char, .token.property, .token.attr-value, .token.regex { color: #b5f4a5; // #C3E88D; } /* Orange (numbers) */ .token.number, .token.constant { color: #F78C6C; } /* Cyan (signs) */ .token.symbol, .token.punctuation, .token.operator, .token.url, .token.unit, .token.hexcode, .token.doctype-tag { color: #89DDFF; } /* White (variables, CSS pseudo classes) */ .token.variable, .token.pseudo-class { color: #fff; } /* Gray (comments) */ .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata { color: #99a3d0; // Palelight } .token.important, .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.inserted { color: green; }