UNPKG

ohayolibs

Version:

Ohayo is a set of essential modules for ohayojp.

223 lines (190 loc) 3.25 kB
/** * prism.js default theme for JavaScript, CSS and HTML * Based on dabblet (http://dabblet.com) * @author Lea Verou */ code[class*='hljs'], pre[class*='hljs'] { color: black; line-height: 1.5; direction: ltr; white-space: pre; text-align: left; text-shadow: 0 1px white; word-wrap: normal; word-break: normal; word-spacing: normal; tab-size: 4; hyphens: none; background: none; } pre[class*='hljs']::-moz-selection, pre[class*='hljs'] ::-moz-selection, code[class*='hljs']::-moz-selection, code[class*='hljs'] ::-moz-selection { text-shadow: none; background: #b3d4fc; } pre[class*='hljs']::selection, pre[class*='hljs'] ::selection, code[class*='hljs']::selection, code[class*='hljs'] ::selection { text-shadow: none; background: #b3d4fc; } @media print { code[class*='hljs'], pre[class*='hljs'] { text-shadow: none; } } /* Code blocks */ pre[class*='hljs'] { margin: 1.2em 0; padding: 1em; overflow: auto; } :not(pre) > code[class*='hljs'], pre[class*='hljs'] { background: #f7f7f7; } /* Inline code */ :not(pre) > code[class*='hljs'] { padding: 0.1em; white-space: normal; border-radius: 0.3em; } .token.comment, .token.prolog, .token.doctype, .token.cdata { color: slategray; } .token.punctuation { color: #999; } .namespace { opacity: 0.7; } .token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { color: #bb0606; } .token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #690; } .token.operator, .token.entity, .token.url, .hljscss .token.string, .style .token.string { color: #690; } .token.atrule, .token.attr-value, .token.keyword { color: #07a; } .token.function { color: #dd4a68; } .token.regex, .token.important, .token.variable { color: #e90; } .token.important, .token.bold { font-weight: bold; } .token.italic { font-style: italic; } .token.entity { cursor: help; } /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ /* Tomorrow Comment */ .hljs-comment, .hljs-quote { color: #8e908c; } /* Tomorrow Red */ .hljs-variable, .hljs-template-variable, .hljs-tag, .hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-regexp, .hljs-deletion { color: #bb0606; } /* Tomorrow Orange */ .hljs-number, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, .hljs-meta, .hljs-link { color: #f5871f; } /* Tomorrow Yellow */ .hljs-attribute { color: #eab700; } /* Tomorrow Green */ .hljs-string, .hljs-symbol, .hljs-bullet, .hljs-addition { color: #690; } /* Tomorrow Blue */ .hljs-title, .hljs-section { color: #dd4a68; } /* Tomorrow Purple */ .hljs-keyword, .hljs-selector-tag { color: #07a; } .hljs { display: block; padding: 0.5em; overflow-x: auto; color: #4d4d4c; background: white; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } .highlight-wrapper:hover .code-box-code-copy, .highlight-wrapper:hover .code-box-codepen, .highlight-wrapper:hover .code-box-riddle { opacity: 0.66; } .highlight { position: relative; line-height: 1.5; } .code-box-code-copy.anticon-check { color: #00a854 !important; font-weight: 700; }