|
| 1 | +/* PrismJS 1.15.0 |
| 2 | +https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript+dart+pug */ |
| 3 | +/* |
| 4 | + Solarized Color Schemes originally by Ethan Schoonover |
| 5 | + http://ethanschoonover.com/solarized |
| 6 | +
|
| 7 | + Ported for PrismJS by Hector Matos |
| 8 | + Website: https://krakendev.io |
| 9 | + Twitter Handle: https://twitter.com/allonsykraken) |
| 10 | +*/ |
| 11 | + |
| 12 | +/* |
| 13 | +SOLARIZED HEX |
| 14 | +--------- ------- |
| 15 | +base03 #002b36 |
| 16 | +base02 #073642 |
| 17 | +base01 #586e75 |
| 18 | +base00 #657b83 |
| 19 | +base0 #839496 |
| 20 | +base1 #93a1a1 |
| 21 | +base2 #eee8d5 |
| 22 | +base3 #fdf6e3 |
| 23 | +yellow #b58900 |
| 24 | +orange #cb4b16 |
| 25 | +red #dc322f |
| 26 | +magenta #d33682 |
| 27 | +violet #6c71c4 |
| 28 | +blue #268bd2 |
| 29 | +cyan #2aa198 |
| 30 | +green #859900 |
| 31 | +*/ |
| 32 | + |
| 33 | +code[class*="language-"], |
| 34 | +pre[class*="language-"] { |
| 35 | + color: #657b83; /* base00 */ |
| 36 | + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| 37 | + text-align: left; |
| 38 | + white-space: pre; |
| 39 | + word-spacing: normal; |
| 40 | + word-break: normal; |
| 41 | + word-wrap: normal; |
| 42 | + |
| 43 | + line-height: 1.5; |
| 44 | + |
| 45 | + -moz-tab-size: 4; |
| 46 | + -o-tab-size: 4; |
| 47 | + tab-size: 4; |
| 48 | + |
| 49 | + -webkit-hyphens: none; |
| 50 | + -moz-hyphens: none; |
| 51 | + -ms-hyphens: none; |
| 52 | + hyphens: none; |
| 53 | +} |
| 54 | + |
| 55 | +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, |
| 56 | +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { |
| 57 | + background: #073642; /* base02 */ |
| 58 | +} |
| 59 | + |
| 60 | +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, |
| 61 | +code[class*="language-"]::selection, code[class*="language-"] ::selection { |
| 62 | + background: #073642; /* base02 */ |
| 63 | +} |
| 64 | + |
| 65 | +/* Code blocks */ |
| 66 | +pre[class*="language-"] { |
| 67 | + padding: 1em; |
| 68 | + margin: .5em 0; |
| 69 | + overflow: auto; |
| 70 | + border-radius: 0.3em; |
| 71 | +} |
| 72 | + |
| 73 | +:not(pre) > code[class*="language-"], |
| 74 | +pre[class*="language-"] { |
| 75 | + background-color: #fdf6e3; /* base3 */ |
| 76 | +} |
| 77 | + |
| 78 | +/* Inline code */ |
| 79 | +:not(pre) > code[class*="language-"] { |
| 80 | + padding: .1em; |
| 81 | + border-radius: .3em; |
| 82 | +} |
| 83 | + |
| 84 | +.token.comment, |
| 85 | +.token.prolog, |
| 86 | +.token.doctype, |
| 87 | +.token.cdata { |
| 88 | + color: #93a1a1; /* base1 */ |
| 89 | +} |
| 90 | + |
| 91 | +.token.punctuation { |
| 92 | + color: #586e75; /* base01 */ |
| 93 | +} |
| 94 | + |
| 95 | +.namespace { |
| 96 | + opacity: .7; |
| 97 | +} |
| 98 | + |
| 99 | +.token.property, |
| 100 | +.token.tag, |
| 101 | +.token.boolean, |
| 102 | +.token.number, |
| 103 | +.token.constant, |
| 104 | +.token.symbol, |
| 105 | +.token.deleted { |
| 106 | + color: #268bd2; /* blue */ |
| 107 | +} |
| 108 | + |
| 109 | +.token.selector, |
| 110 | +.token.attr-name, |
| 111 | +.token.string, |
| 112 | +.token.char, |
| 113 | +.token.builtin, |
| 114 | +.token.url, |
| 115 | +.token.inserted { |
| 116 | + color: #2aa198; /* cyan */ |
| 117 | +} |
| 118 | + |
| 119 | +.token.entity { |
| 120 | + color: #657b83; /* base00 */ |
| 121 | + background: #eee8d5; /* base2 */ |
| 122 | +} |
| 123 | + |
| 124 | +.token.atrule, |
| 125 | +.token.attr-value, |
| 126 | +.token.keyword { |
| 127 | + color: #859900; /* green */ |
| 128 | +} |
| 129 | + |
| 130 | +.token.function, |
| 131 | +.token.class-name { |
| 132 | + color: #b58900; /* yellow */ |
| 133 | +} |
| 134 | + |
| 135 | +.token.regex, |
| 136 | +.token.important, |
| 137 | +.token.variable { |
| 138 | + color: #cb4b16; /* orange */ |
| 139 | +} |
| 140 | + |
| 141 | +.token.important, |
| 142 | +.token.bold { |
| 143 | + font-weight: bold; |
| 144 | +} |
| 145 | +.token.italic { |
| 146 | + font-style: italic; |
| 147 | +} |
| 148 | + |
| 149 | +.token.entity { |
| 150 | + cursor: help; |
| 151 | +} |
| 152 | + |
0 commit comments