OLD | NEW |
(Empty) | |
| 1 /** |
| 2 * prism.js default theme for JavaScript, CSS and HTML |
| 3 * Based on dabblet (http://dabblet.com) |
| 4 * @author Lea Verou |
| 5 */ |
| 6 |
| 7 code[class*="language-"], |
| 8 pre[class*="language-"] { |
| 9 color: black; |
| 10 text-shadow: 0 1px white; |
| 11 font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 12 direction: ltr; |
| 13 text-align: left; |
| 14 white-space: pre; |
| 15 word-spacing: normal; |
| 16 word-break: normal; |
| 17 line-height: 1.5; |
| 18 |
| 19 -moz-tab-size: 4; |
| 20 -o-tab-size: 4; |
| 21 tab-size: 4; |
| 22 |
| 23 -webkit-hyphens: none; |
| 24 -moz-hyphens: none; |
| 25 -ms-hyphens: none; |
| 26 hyphens: none; |
| 27 } |
| 28 |
| 29 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selectio
n, |
| 30 code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-select
ion { |
| 31 text-shadow: none; |
| 32 background: #b3d4fc; |
| 33 } |
| 34 |
| 35 pre[class*="language-"]::selection, pre[class*="language-"] ::selection, |
| 36 code[class*="language-"]::selection, code[class*="language-"] ::selection { |
| 37 text-shadow: none; |
| 38 background: #b3d4fc; |
| 39 } |
| 40 |
| 41 @media print { |
| 42 code[class*="language-"], |
| 43 pre[class*="language-"] { |
| 44 text-shadow: none; |
| 45 } |
| 46 } |
| 47 |
| 48 /* Code blocks */ |
| 49 pre[class*="language-"] { |
| 50 padding: 1em; |
| 51 margin: .5em 0; |
| 52 overflow: auto; |
| 53 } |
| 54 |
| 55 :not(pre) > code[class*="language-"], |
| 56 pre[class*="language-"] { |
| 57 background: #f5f2f0; |
| 58 } |
| 59 |
| 60 /* Inline code */ |
| 61 :not(pre) > code[class*="language-"] { |
| 62 padding: .1em; |
| 63 border-radius: .3em; |
| 64 } |
| 65 |
| 66 .token.comment, |
| 67 .token.prolog, |
| 68 .token.doctype, |
| 69 .token.cdata { |
| 70 color: slategray; |
| 71 } |
| 72 |
| 73 .token.punctuation { |
| 74 color: #999; |
| 75 } |
| 76 |
| 77 .namespace { |
| 78 opacity: .7; |
| 79 } |
| 80 |
| 81 .token.property, |
| 82 .token.tag, |
| 83 .token.boolean, |
| 84 .token.number, |
| 85 .token.constant, |
| 86 .token.symbol, |
| 87 .token.deleted { |
| 88 color: #905; |
| 89 } |
| 90 |
| 91 .token.selector, |
| 92 .token.attr-name, |
| 93 .token.string, |
| 94 .token.char, |
| 95 .token.builtin, |
| 96 .token.inserted { |
| 97 color: #690; |
| 98 } |
| 99 |
| 100 .token.operator, |
| 101 .token.entity, |
| 102 .token.url, |
| 103 .language-css .token.string, |
| 104 .style .token.string { |
| 105 color: #a67f59; |
| 106 background: hsla(0, 0%, 100%, .5); |
| 107 } |
| 108 |
| 109 .token.atrule, |
| 110 .token.attr-value, |
| 111 .token.keyword { |
| 112 color: #07a; |
| 113 } |
| 114 |
| 115 .token.function { |
| 116 color: #DD4A68; |
| 117 } |
| 118 |
| 119 .token.regex, |
| 120 .token.important, |
| 121 .token.variable { |
| 122 color: #e90; |
| 123 } |
| 124 |
| 125 .token.important, |
| 126 .token.bold { |
| 127 font-weight: bold; |
| 128 } |
| 129 .token.italic { |
| 130 font-style: italic; |
| 131 } |
| 132 |
| 133 .token.entity { |
| 134 cursor: help; |
| 135 } |
OLD | NEW |