1 | export default {
|
---|
2 | "code[class*=\"language-\"]": {
|
---|
3 | "color": "black",
|
---|
4 | "background": "none",
|
---|
5 | "fontFamily": "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
|
---|
6 | "fontSize": "1em",
|
---|
7 | "textAlign": "left",
|
---|
8 | "whiteSpace": "pre",
|
---|
9 | "wordSpacing": "normal",
|
---|
10 | "wordBreak": "normal",
|
---|
11 | "wordWrap": "normal",
|
---|
12 | "lineHeight": "1.5",
|
---|
13 | "MozTabSize": "4",
|
---|
14 | "OTabSize": "4",
|
---|
15 | "tabSize": "4",
|
---|
16 | "WebkitHyphens": "none",
|
---|
17 | "MozHyphens": "none",
|
---|
18 | "msHyphens": "none",
|
---|
19 | "hyphens": "none",
|
---|
20 | "maxHeight": "inherit",
|
---|
21 | "height": "inherit",
|
---|
22 | "padding": "0 1em",
|
---|
23 | "display": "block",
|
---|
24 | "overflow": "auto"
|
---|
25 | },
|
---|
26 | "pre[class*=\"language-\"]": {
|
---|
27 | "color": "black",
|
---|
28 | "background": "none",
|
---|
29 | "fontFamily": "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
|
---|
30 | "fontSize": "1em",
|
---|
31 | "textAlign": "left",
|
---|
32 | "whiteSpace": "pre",
|
---|
33 | "wordSpacing": "normal",
|
---|
34 | "wordBreak": "normal",
|
---|
35 | "wordWrap": "normal",
|
---|
36 | "lineHeight": "1.5",
|
---|
37 | "MozTabSize": "4",
|
---|
38 | "OTabSize": "4",
|
---|
39 | "tabSize": "4",
|
---|
40 | "WebkitHyphens": "none",
|
---|
41 | "MozHyphens": "none",
|
---|
42 | "msHyphens": "none",
|
---|
43 | "hyphens": "none",
|
---|
44 | "position": "relative",
|
---|
45 | "margin": ".5em 0",
|
---|
46 | "overflow": "visible",
|
---|
47 | "padding": "1px",
|
---|
48 | "backgroundColor": "#fdfdfd",
|
---|
49 | "WebkitBoxSizing": "border-box",
|
---|
50 | "MozBoxSizing": "border-box",
|
---|
51 | "boxSizing": "border-box",
|
---|
52 | "marginBottom": "1em"
|
---|
53 | },
|
---|
54 | "pre[class*=\"language-\"] > code": {
|
---|
55 | "position": "relative",
|
---|
56 | "zIndex": "1",
|
---|
57 | "borderLeft": "10px solid #358ccb",
|
---|
58 | "boxShadow": "-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",
|
---|
59 | "backgroundColor": "#fdfdfd",
|
---|
60 | "backgroundImage": "linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",
|
---|
61 | "backgroundSize": "3em 3em",
|
---|
62 | "backgroundOrigin": "content-box",
|
---|
63 | "backgroundAttachment": "local"
|
---|
64 | },
|
---|
65 | ":not(pre) > code[class*=\"language-\"]": {
|
---|
66 | "backgroundColor": "#fdfdfd",
|
---|
67 | "WebkitBoxSizing": "border-box",
|
---|
68 | "MozBoxSizing": "border-box",
|
---|
69 | "boxSizing": "border-box",
|
---|
70 | "marginBottom": "1em",
|
---|
71 | "position": "relative",
|
---|
72 | "padding": ".2em",
|
---|
73 | "borderRadius": "0.3em",
|
---|
74 | "color": "#c92c2c",
|
---|
75 | "border": "1px solid rgba(0, 0, 0, 0.1)",
|
---|
76 | "display": "inline",
|
---|
77 | "whiteSpace": "normal"
|
---|
78 | },
|
---|
79 | "pre[class*=\"language-\"]:before": {
|
---|
80 | "content": "''",
|
---|
81 | "display": "block",
|
---|
82 | "position": "absolute",
|
---|
83 | "bottom": "0.75em",
|
---|
84 | "left": "0.18em",
|
---|
85 | "width": "40%",
|
---|
86 | "height": "20%",
|
---|
87 | "maxHeight": "13em",
|
---|
88 | "boxShadow": "0px 13px 8px #979797",
|
---|
89 | "WebkitTransform": "rotate(-2deg)",
|
---|
90 | "MozTransform": "rotate(-2deg)",
|
---|
91 | "msTransform": "rotate(-2deg)",
|
---|
92 | "OTransform": "rotate(-2deg)",
|
---|
93 | "transform": "rotate(-2deg)"
|
---|
94 | },
|
---|
95 | "pre[class*=\"language-\"]:after": {
|
---|
96 | "content": "''",
|
---|
97 | "display": "block",
|
---|
98 | "position": "absolute",
|
---|
99 | "bottom": "0.75em",
|
---|
100 | "left": "auto",
|
---|
101 | "width": "40%",
|
---|
102 | "height": "20%",
|
---|
103 | "maxHeight": "13em",
|
---|
104 | "boxShadow": "0px 13px 8px #979797",
|
---|
105 | "WebkitTransform": "rotate(2deg)",
|
---|
106 | "MozTransform": "rotate(2deg)",
|
---|
107 | "msTransform": "rotate(2deg)",
|
---|
108 | "OTransform": "rotate(2deg)",
|
---|
109 | "transform": "rotate(2deg)",
|
---|
110 | "right": "0.75em"
|
---|
111 | },
|
---|
112 | "comment": {
|
---|
113 | "color": "#7D8B99"
|
---|
114 | },
|
---|
115 | "block-comment": {
|
---|
116 | "color": "#7D8B99"
|
---|
117 | },
|
---|
118 | "prolog": {
|
---|
119 | "color": "#7D8B99"
|
---|
120 | },
|
---|
121 | "doctype": {
|
---|
122 | "color": "#7D8B99"
|
---|
123 | },
|
---|
124 | "cdata": {
|
---|
125 | "color": "#7D8B99"
|
---|
126 | },
|
---|
127 | "punctuation": {
|
---|
128 | "color": "#5F6364"
|
---|
129 | },
|
---|
130 | "property": {
|
---|
131 | "color": "#c92c2c"
|
---|
132 | },
|
---|
133 | "tag": {
|
---|
134 | "color": "#c92c2c"
|
---|
135 | },
|
---|
136 | "boolean": {
|
---|
137 | "color": "#c92c2c"
|
---|
138 | },
|
---|
139 | "number": {
|
---|
140 | "color": "#c92c2c"
|
---|
141 | },
|
---|
142 | "function-name": {
|
---|
143 | "color": "#c92c2c"
|
---|
144 | },
|
---|
145 | "constant": {
|
---|
146 | "color": "#c92c2c"
|
---|
147 | },
|
---|
148 | "symbol": {
|
---|
149 | "color": "#c92c2c"
|
---|
150 | },
|
---|
151 | "deleted": {
|
---|
152 | "color": "#c92c2c"
|
---|
153 | },
|
---|
154 | "selector": {
|
---|
155 | "color": "#2f9c0a"
|
---|
156 | },
|
---|
157 | "attr-name": {
|
---|
158 | "color": "#2f9c0a"
|
---|
159 | },
|
---|
160 | "string": {
|
---|
161 | "color": "#2f9c0a"
|
---|
162 | },
|
---|
163 | "char": {
|
---|
164 | "color": "#2f9c0a"
|
---|
165 | },
|
---|
166 | "function": {
|
---|
167 | "color": "#2f9c0a"
|
---|
168 | },
|
---|
169 | "builtin": {
|
---|
170 | "color": "#2f9c0a"
|
---|
171 | },
|
---|
172 | "inserted": {
|
---|
173 | "color": "#2f9c0a"
|
---|
174 | },
|
---|
175 | "operator": {
|
---|
176 | "color": "#a67f59",
|
---|
177 | "background": "rgba(255, 255, 255, 0.5)"
|
---|
178 | },
|
---|
179 | "entity": {
|
---|
180 | "color": "#a67f59",
|
---|
181 | "background": "rgba(255, 255, 255, 0.5)",
|
---|
182 | "cursor": "help"
|
---|
183 | },
|
---|
184 | "url": {
|
---|
185 | "color": "#a67f59",
|
---|
186 | "background": "rgba(255, 255, 255, 0.5)"
|
---|
187 | },
|
---|
188 | "variable": {
|
---|
189 | "color": "#a67f59",
|
---|
190 | "background": "rgba(255, 255, 255, 0.5)"
|
---|
191 | },
|
---|
192 | "atrule": {
|
---|
193 | "color": "#1990b8"
|
---|
194 | },
|
---|
195 | "attr-value": {
|
---|
196 | "color": "#1990b8"
|
---|
197 | },
|
---|
198 | "keyword": {
|
---|
199 | "color": "#1990b8"
|
---|
200 | },
|
---|
201 | "class-name": {
|
---|
202 | "color": "#1990b8"
|
---|
203 | },
|
---|
204 | "regex": {
|
---|
205 | "color": "#e90"
|
---|
206 | },
|
---|
207 | "important": {
|
---|
208 | "color": "#e90",
|
---|
209 | "fontWeight": "normal"
|
---|
210 | },
|
---|
211 | ".language-css .token.string": {
|
---|
212 | "color": "#a67f59",
|
---|
213 | "background": "rgba(255, 255, 255, 0.5)"
|
---|
214 | },
|
---|
215 | ".style .token.string": {
|
---|
216 | "color": "#a67f59",
|
---|
217 | "background": "rgba(255, 255, 255, 0.5)"
|
---|
218 | },
|
---|
219 | "bold": {
|
---|
220 | "fontWeight": "bold"
|
---|
221 | },
|
---|
222 | "italic": {
|
---|
223 | "fontStyle": "italic"
|
---|
224 | },
|
---|
225 | "namespace": {
|
---|
226 | "Opacity": ".7"
|
---|
227 | },
|
---|
228 | "pre[class*=\"language-\"].line-numbers.line-numbers": {
|
---|
229 | "paddingLeft": "0"
|
---|
230 | },
|
---|
231 | "pre[class*=\"language-\"].line-numbers.line-numbers code": {
|
---|
232 | "paddingLeft": "3.8em"
|
---|
233 | },
|
---|
234 | "pre[class*=\"language-\"].line-numbers.line-numbers .line-numbers-rows": {
|
---|
235 | "left": "0"
|
---|
236 | },
|
---|
237 | "pre[class*=\"language-\"][data-line]": {
|
---|
238 | "paddingTop": "0",
|
---|
239 | "paddingBottom": "0",
|
---|
240 | "paddingLeft": "0"
|
---|
241 | },
|
---|
242 | "pre[data-line] code": {
|
---|
243 | "position": "relative",
|
---|
244 | "paddingLeft": "4em"
|
---|
245 | },
|
---|
246 | "pre .line-highlight": {
|
---|
247 | "marginTop": "0"
|
---|
248 | }
|
---|
249 | } |
---|