[7304c7f] | 1 | /* PrismJS 1.17.1
|
---|
| 2 | https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
---|
| 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 | .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 | background: hsla(0, 0%, 100%, .5);
|
---|
| 112 | }
|
---|
| 113 |
|
---|
| 114 | .token.atrule,
|
---|
| 115 | .token.attr-value,
|
---|
| 116 | .token.keyword {
|
---|
| 117 | color: #07a;
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | .token.function,
|
---|
| 121 | .token.class-name {
|
---|
| 122 | color: #DD4A68;
|
---|
| 123 | }
|
---|
| 124 |
|
---|
| 125 | .token.regex,
|
---|
| 126 | .token.important,
|
---|
| 127 | .token.variable {
|
---|
| 128 | color: #e90;
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | .token.important,
|
---|
| 132 | .token.bold {
|
---|
| 133 | font-weight: bold;
|
---|
| 134 | }
|
---|
| 135 | .token.italic {
|
---|
| 136 | font-style: italic;
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | .token.entity {
|
---|
| 140 | cursor: help;
|
---|
| 141 | }
|
---|
| 142 |
|
---|