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