|
| 1 | +/* PrismJS 1.17.1 |
| 2 | +https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+diff&plugins=jsonp-highlight+highlight-keywords+match-braces */ |
| 3 | +/** |
| 4 | + * okaidia theme for JavaScript, CSS and HTML |
| 5 | + * Loosely based on Monokai textmate theme by http://www.monokai.nl/ |
| 6 | + * @author ocodia |
| 7 | + */ |
| 8 | + |
| 9 | +code[class*="language-"], |
| 10 | +pre[class*="language-"] { |
| 11 | + color: black; |
| 12 | + background: none; |
| 13 | + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| 14 | + font-size: 1em; |
| 15 | + text-align: left; |
| 16 | + white-space: pre; |
| 17 | + word-spacing: normal; |
| 18 | + word-break: normal; |
| 19 | + word-wrap: normal; |
| 20 | + line-height: 1.5; |
| 21 | + |
| 22 | + -moz-tab-size: 4; |
| 23 | + -o-tab-size: 4; |
| 24 | + tab-size: 4; |
| 25 | + |
| 26 | + -webkit-hyphens: none; |
| 27 | + -moz-hyphens: none; |
| 28 | + -ms-hyphens: none; |
| 29 | + hyphens: none; |
| 30 | +} |
| 31 | + |
| 32 | +/* Code blocks */ |
| 33 | +pre[class*="language-"] { |
| 34 | + padding: 1em; |
| 35 | + margin: .5em 0; |
| 36 | + overflow: auto; |
| 37 | + border-radius: 0.3em; |
| 38 | +} |
| 39 | + |
| 40 | +:not(pre) > code[class*="language-"], |
| 41 | +pre[class*="language-"] { |
| 42 | + background: white; |
| 43 | +} |
| 44 | + |
| 45 | +/* Inline code */ |
| 46 | +:not(pre) > code[class*="language-"] { |
| 47 | + padding: .1em; |
| 48 | + border-radius: .3em; |
| 49 | + white-space: normal; |
| 50 | +} |
| 51 | + |
| 52 | +.token.comment, |
| 53 | +.token.prolog, |
| 54 | +.token.doctype, |
| 55 | +.token.cdata { |
| 56 | + color: black; |
| 57 | +} |
| 58 | + |
| 59 | +.token.punctuation { |
| 60 | + color: black; |
| 61 | +} |
| 62 | + |
| 63 | +.namespace { |
| 64 | + opacity: .7; |
| 65 | +} |
| 66 | + |
| 67 | +.token.property, |
| 68 | +.token.tag, |
| 69 | +.token.constant, |
| 70 | +.token.symbol, |
| 71 | +.token.deleted { |
| 72 | + color: #f92672; |
| 73 | +} |
| 74 | + |
| 75 | +.token.boolean, |
| 76 | +.token.number { |
| 77 | + color: #ae81ff; |
| 78 | +} |
| 79 | + |
| 80 | +.token.selector, |
| 81 | +.token.attr-name, |
| 82 | +.token.string, |
| 83 | +.token.char, |
| 84 | +.token.builtin, |
| 85 | +.token.inserted { |
| 86 | + color: darkviolet; |
| 87 | +} |
| 88 | + |
| 89 | +.token.operator, |
| 90 | +.token.entity, |
| 91 | +.token.url, |
| 92 | +.language-css .token.string, |
| 93 | +.style .token.string, |
| 94 | +.token.variable { |
| 95 | + color: darkslategrey; |
| 96 | +} |
| 97 | + |
| 98 | +.token.atrule, |
| 99 | +.token.attr-value, |
| 100 | +.token.function, |
| 101 | +.token.class-name { |
| 102 | + color: firebrick; |
| 103 | +} |
| 104 | + |
| 105 | +.token.keyword { |
| 106 | + color: blue; |
| 107 | +} |
| 108 | + |
| 109 | +.token.regex, |
| 110 | +.token.important { |
| 111 | + color: #fd971f; |
| 112 | +} |
| 113 | + |
| 114 | +.token.important, |
| 115 | +.token.bold { |
| 116 | + font-weight: bold; |
| 117 | +} |
| 118 | +.token.italic { |
| 119 | + font-style: italic; |
| 120 | +} |
| 121 | + |
| 122 | +.token.entity { |
| 123 | + cursor: help; |
| 124 | +} |
| 125 | + |
| 126 | +.token.punctuation.brace-hover, |
| 127 | +.token.punctuation.brace-selected { |
| 128 | + outline: solid 1px; |
| 129 | +} |
| 130 | + |
| 131 | +.rainbow-braces .token.punctuation.brace-level-1, |
| 132 | +.rainbow-braces .token.punctuation.brace-level-5, |
| 133 | +.rainbow-braces .token.punctuation.brace-level-9 { |
| 134 | + color: #E50; |
| 135 | + opacity: 1; |
| 136 | +} |
| 137 | +.rainbow-braces .token.punctuation.brace-level-2, |
| 138 | +.rainbow-braces .token.punctuation.brace-level-6, |
| 139 | +.rainbow-braces .token.punctuation.brace-level-10 { |
| 140 | + color: darkgreen; |
| 141 | + opacity: 1; |
| 142 | +} |
| 143 | +.rainbow-braces .token.punctuation.brace-level-3, |
| 144 | +.rainbow-braces .token.punctuation.brace-level-7, |
| 145 | +.rainbow-braces .token.punctuation.brace-level-11 { |
| 146 | + color: #26F; |
| 147 | + opacity: 1; |
| 148 | +} |
| 149 | +.rainbow-braces .token.punctuation.brace-level-4, |
| 150 | +.rainbow-braces .token.punctuation.brace-level-8, |
| 151 | +.rainbow-braces .token.punctuation.brace-level-12 { |
| 152 | + color: #E0E; |
| 153 | + opacity: 1; |
| 154 | +} |
| 155 | + |
0 commit comments