OLD | NEW |
1 /** | 1 /** |
2 * prism.js Twilight theme | 2 * prism.js Twilight theme |
3 * Based (more or less) on the Twilight theme originally of Textmate fame. | 3 * Based (more or less) on the Twilight theme originally of Textmate fame. |
4 * @author Remy Bach | 4 * @author Remy Bach |
5 */ | 5 */ |
6 code[class*="language-"], | 6 code[class*="language-"], |
7 pre[class*="language-"] { | 7 pre[class*="language-"] { |
8 color: white; | 8 color: white; |
9 direction: ltr; | 9 direction: ltr; |
10 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | 10 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
11 text-align: left; | 11 text-align: left; |
12 text-shadow: 0 -.1em .2em black; | 12 text-shadow: 0 -.1em .2em black; |
13 white-space: pre; | 13 white-space: pre; |
14 word-spacing: normal; | 14 word-spacing: normal; |
15 word-break: normal; | 15 word-break: normal; |
| 16 word-wrap: normal; |
16 line-height: 1.5; | 17 line-height: 1.5; |
17 | 18 |
18 -moz-tab-size: 4; | 19 -moz-tab-size: 4; |
19 -o-tab-size: 4; | 20 -o-tab-size: 4; |
20 tab-size: 4; | 21 tab-size: 4; |
21 | 22 |
22 -webkit-hyphens: none; | 23 -webkit-hyphens: none; |
23 -moz-hyphens: none; | 24 -moz-hyphens: none; |
24 -ms-hyphens: none; | 25 -ms-hyphens: none; |
25 hyphens: none; | 26 hyphens: none; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 text-shadow: none; | 191 text-shadow: none; |
191 top: .4em; | 192 top: .4em; |
192 vertical-align: .3em; | 193 vertical-align: .3em; |
193 } | 194 } |
194 | 195 |
195 .line-highlight[data-end]:after { | 196 .line-highlight[data-end]:after { |
196 bottom: .4em; | 197 bottom: .4em; |
197 content: attr(data-end); | 198 content: attr(data-end); |
198 top: auto; | 199 top: auto; |
199 } | 200 } |
OLD | NEW |