UNPKG

8.76 kBCSSView Raw
1.syntaxhighlighter a,
2.syntaxhighlighter div,
3.syntaxhighlighter code,
4.syntaxhighlighter table,
5.syntaxhighlighter table td,
6.syntaxhighlighter table tr,
7.syntaxhighlighter table tbody,
8.syntaxhighlighter table thead,
9.syntaxhighlighter table caption,
10.syntaxhighlighter textarea {
11 -moz-border-radius: 0 0 0 0 !important;
12 -webkit-border-radius: 0 0 0 0 !important;
13 background: none !important;
14 border: 0 !important;
15 bottom: auto !important;
16 float: none !important;
17 height: auto !important;
18 left: auto !important;
19 line-height: 1.1em !important;
20 margin: 0 !important;
21 outline: 0 !important;
22 overflow: visible !important;
23 position: static !important;
24 right: auto !important;
25 text-align: left !important;
26 top: auto !important;
27 vertical-align: baseline !important;
28 width: auto !important;
29 box-sizing: content-box !important;
30 font-family: Consolas, "Liberation Mono", Courier, monospace !important;
31
32 font-weight: normal !important;
33 font-style: normal !important;
34 font-size: 13px !important;
35 min-height: inherit !important;
36 min-height: auto !important;
37}
38
39.syntaxhighlighter {
40 width: 100% !important;
41 position: relative !important;
42 overflow: auto !important;
43 font-size: 1em !important;
44 border: 1px solid #DDD;
45 border-radius: 3px;
46 font-size: 13px;
47 line-height: 19px;
48}
49
50/* Override Bootstrap */
51
52.syntaxhighlighter .container {
53 padding: 0;
54}
55
56.syntaxhighlighter .container:after {
57 clear: inherit;
58}
59
60.syntaxhighlighter .container:before, .container:after {
61 content: "";
62 display: inherit;
63 line-height: inherit;
64}
65
66.syntaxhighlighter.source {
67 overflow: hidden !important;
68}
69.syntaxhighlighter .bold {
70 font-weight: bold !important;
71}
72.syntaxhighlighter .italic {
73 font-style: italic !important;
74}
75.syntaxhighlighter .line {
76 white-space: pre !important;
77}
78.syntaxhighlighter table {
79 width: 100% !important;
80}
81
82.syntaxhighlighter td {
83 padding: 10px;
84}
85
86.syntaxhighlighter table caption {
87 text-align: left !important;
88 padding: .5em 0 0.5em 1em !important;
89}
90.syntaxhighlighter table td.code {
91 width: 100% !important;
92}
93.syntaxhighlighter table td.code .container {
94 position: relative !important;
95}
96.syntaxhighlighter table td.code .container textarea {
97 box-sizing: border-box !important;
98 position: absolute !important;
99 left: 0 !important;
100 top: 0 !important;
101 width: 100% !important;
102 height: 100% !important;
103 border: none !important;
104 background: white !important;
105 padding-left: 1em !important;
106 overflow: hidden !important;
107 white-space: pre !important;
108}
109.syntaxhighlighter table td.gutter .line {
110 text-align: right !important;
111 padding: 0 0.5em 0 1em !important;
112}
113.syntaxhighlighter table td.gutter {
114 padding-right: 4px;
115 padding-left: 4px;
116}
117
118.syntaxhighlighter table td.gutter .line,
119.syntaxhighlighter table td.code .line {
120 padding: 0 .5em 5px .5em !important;
121}
122
123.syntaxhighlighter table td.gutter .line:last-child,
124.syntaxhighlighter table td.code .line:last-child {
125 padding-bottom: 0 !important;
126}
127
128.syntaxhighlighter table td.code {
129 padding-left: 5px;
130}
131
132.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
133 padding-left: 0em !important;
134}
135.syntaxhighlighter.show {
136 display: block !important;
137}
138.syntaxhighlighter.collapsed table {
139 display: none !important;
140}
141.syntaxhighlighter.collapsed .toolbar {
142 padding: 0.1em 0.8em 0em 0.8em !important;
143 font-size: 1em !important;
144 position: static !important;
145 width: auto !important;
146 height: auto !important;
147}
148.syntaxhighlighter.collapsed .toolbar span {
149 display: inline !important;
150 margin-right: 1em !important;
151}
152.syntaxhighlighter.collapsed .toolbar span a {
153 padding: 0 !important;
154 display: none !important;
155}
156.syntaxhighlighter.collapsed .toolbar span a.expandSource {
157 display: inline !important;
158}
159.syntaxhighlighter .toolbar {
160 position: absolute !important;
161 right: 1px !important;
162 top: 1px !important;
163 width: 11px !important;
164 height: 11px !important;
165 font-size: 10px !important;
166 z-index: 10 !important;
167}
168.syntaxhighlighter .toolbar span.title {
169 display: inline !important;
170}
171.syntaxhighlighter .toolbar a {
172 display: block !important;
173 text-align: center !important;
174 text-decoration: none !important;
175 padding-top: 1px !important;
176}
177.syntaxhighlighter .toolbar a.expandSource {
178 display: none !important;
179}
180.syntaxhighlighter.ie {
181 font-size: .9em !important;
182 padding: 1px 0 1px 0 !important;
183}
184.syntaxhighlighter.ie .toolbar {
185 line-height: 8px !important;
186}
187.syntaxhighlighter.ie .toolbar a {
188 padding-top: 0px !important;
189}
190.syntaxhighlighter.printing .line.alt1 .content,
191.syntaxhighlighter.printing .line.alt2 .content,
192.syntaxhighlighter.printing .line.highlighted .number,
193.syntaxhighlighter.printing .line.highlighted.alt1 .content,
194.syntaxhighlighter.printing .line.highlighted.alt2 .content {
195 background: none !important;
196}
197.syntaxhighlighter.printing .line .number {
198 color: #bbbbbb !important;
199}
200.syntaxhighlighter.printing .line .content {
201 color: black !important;
202}
203.syntaxhighlighter.printing .toolbar {
204 display: none !important;
205}
206.syntaxhighlighter.printing a {
207 text-decoration: none !important;
208}
209.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
210 color: black !important;
211}
212.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
213 color: #008200 !important;
214}
215.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
216 color: blue !important;
217}
218.syntaxhighlighter.printing .keyword {
219 color: #006699 !important;
220 font-weight: bold !important;
221}
222.syntaxhighlighter.printing .preprocessor {
223 color: gray !important;
224}
225.syntaxhighlighter.printing .variable {
226 color: #aa7700 !important;
227}
228.syntaxhighlighter.printing .value {
229 color: #009900 !important;
230}
231.syntaxhighlighter.printing .functions {
232 color: #ff1493 !important;
233}
234.syntaxhighlighter.printing .constants {
235 color: #0066cc !important;
236}
237.syntaxhighlighter.printing .script {
238 font-weight: bold !important;
239}
240.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
241 color: gray !important;
242}
243.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
244 color: #ff1493 !important;
245}
246.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
247 color: red !important;
248}
249.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
250 color: black !important;
251}
252
253.syntaxhighlighter .line.alt1,
254.syntaxhighlighter .line.alt2 {
255}
256.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
257 background-color: #e0e0e0 !important;
258}
259.syntaxhighlighter .line.highlighted.number {
260 color: black !important;
261}
262.syntaxhighlighter table caption {
263 color: black !important;
264}
265.syntaxhighlighter .gutter {
266 color: #b6c1c6 !important;
267 background-color: #e6f1f6 !important;
268}
269.syntaxhighlighter .gutter .line.highlighted {
270 background-color: #6ce26c !important;
271 color: white !important;
272}
273.syntaxhighlighter.printing .line .content {
274 border: none !important;
275}
276.syntaxhighlighter.collapsed {
277 overflow: visible !important;
278}
279.syntaxhighlighter.collapsed .toolbar {
280 color: blue !important;
281 background: white !important;
282 border: 1px solid #6ce26c !important;
283}
284.syntaxhighlighter.collapsed .toolbar a {
285 color: blue !important;
286}
287.syntaxhighlighter.collapsed .toolbar a:hover {
288 color: red !important;
289}
290.syntaxhighlighter .toolbar {
291 color: white !important;
292 background: #6ce26c !important;
293 border: none !important;
294}
295.syntaxhighlighter .toolbar a {
296 color: white !important;
297}
298.syntaxhighlighter .toolbar a:hover {
299 color: black !important;
300}
301.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
302}
303.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
304 color: #008200 !important;
305}
306.syntaxhighlighter .string, .syntaxhighlighter .string a {
307 color: blue !important;
308}
309.syntaxhighlighter .keyword {
310 color: #006699 !important;
311}
312.syntaxhighlighter .preprocessor {
313 color: gray !important;
314}
315.syntaxhighlighter .variable {
316 color: #aa7700 !important;
317}
318.syntaxhighlighter .value {
319 color: #009900 !important;
320}
321.syntaxhighlighter .functions {
322 color: #ff1493 !important;
323}
324.syntaxhighlighter .constants {
325 color: #0066cc !important;
326}
327.syntaxhighlighter .script {
328 font-weight: bold !important;
329 color: #006699 !important;
330 background-color: none !important;
331}
332.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
333 color: gray !important;
334}
335.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
336 color: #ff1493 !important;
337}
338.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
339 color: red !important;
340}
341
342.syntaxhighlighter .keyword {
343 font-weight: bold !important;
344}