OLD | NEW |
1 /** | 1 /** |
2 * prism.js Dark theme for JavaScript, CSS and HTML | 2 * prism.js Dark theme for JavaScript, CSS and HTML |
3 * Based on the slides of the talk “/Reg(exp){2}lained/” | 3 * Based on the slides of the talk “/Reg(exp){2}lained/” |
4 * @author Lea Verou | 4 * @author Lea Verou |
5 */ | 5 */ |
6 | 6 |
7 code[class*="language-"], | 7 code[class*="language-"], |
8 pre[class*="language-"] { | 8 pre[class*="language-"] { |
9 color: white; | 9 color: white; |
10 text-shadow: 0 -.1em .2em black; | 10 text-shadow: 0 -.1em .2em black; |
11 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | 11 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
12 direction: ltr; | 12 direction: ltr; |
13 text-align: left; | 13 text-align: left; |
14 white-space: pre; | 14 white-space: pre; |
15 word-spacing: normal; | 15 word-spacing: normal; |
16 word-break: normal; | 16 word-break: normal; |
| 17 word-wrap: normal; |
17 line-height: 1.5; | 18 line-height: 1.5; |
18 | 19 |
19 -moz-tab-size: 4; | 20 -moz-tab-size: 4; |
20 -o-tab-size: 4; | 21 -o-tab-size: 4; |
21 tab-size: 4; | 22 tab-size: 4; |
22 | 23 |
23 -webkit-hyphens: none; | 24 -webkit-hyphens: none; |
24 -moz-hyphens: none; | 25 -moz-hyphens: none; |
25 -ms-hyphens: none; | 26 -ms-hyphens: none; |
26 hyphens: none; | 27 hyphens: none; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 font-style: italic; | 118 font-style: italic; |
118 } | 119 } |
119 | 120 |
120 .token.entity { | 121 .token.entity { |
121 cursor: help; | 122 cursor: help; |
122 } | 123 } |
123 | 124 |
124 .token.deleted { | 125 .token.deleted { |
125 color: red; | 126 color: red; |
126 } | 127 } |
OLD | NEW |