/* PrismJS 1.24.0 https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript */ /** * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics); * @author Tim Shedor */ code[class*="language-"], pre[class*="language-"] { @apply text-wall-600; background: none; font-family: "Source Code Pro", 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-"] { position: relative; overflow: visible; } code[class*="language-"] { max-height: inherit; height: inherit; display: block; overflow: auto; } /* Inline code */ :not(pre) > code[class*="language-"] { position: relative; border-radius: 0.3em; color: #c92c2c; display: inline; white-space: normal; } .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata { color: #7d8b99; } .token.punctuation { color: #5f6364; } .token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { @apply text-red; } .token.function-name, .token.function { @apply text-wall-600; } .token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { @apply text-green-400; } .token.operator, .token.entity, .token.url, .token.variable { @apply text-wall-500; } .token.atrule, .token.attr-value, .token.class-name { @apply text-blue-400; } .token.keyword { @apply text-purple; } .token.regex, .token.important { color: #e90; } .language-css .token.string, .style .token.string { color: #a67f59; background: rgba(255, 255, 255, 0.5); } .token.important { font-weight: normal; } .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } .token.namespace { opacity: 0.7; } @media screen and (max-width: 767px) { pre[class*="language-"]:before, pre[class*="language-"]:after { bottom: 14px; box-shadow: none; } } /* Plugin styles: Line Numbers */ pre[class*="language-"].line-numbers.line-numbers { padding-left: 0; } pre[class*="language-"].line-numbers.line-numbers code { padding-left: 3.8em; } pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows { left: 0; } /* Plugin styles: Line Highlight */ pre[class*="language-"][data-line] { padding-top: 0; padding-bottom: 0; padding-left: 0; } pre[data-line] code { position: relative; padding-left: 4em; } pre .line-highlight { margin-top: 0; }