cookutils view lighttpd/cooker.css @ rev 1019

cook: add fix() to use '--as-needed' linker flag in compile_rules(); cookit(): make QA fail on empty vars / bad values; remove_already_packed(): fix bug when $PACKAGE not listed in $SPLIT and we use this function for the default set. lighttpd/index.cgi: sort orphans. modules/precheck: separate error message by empty lines.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 14:31:28 2017 +0200 (2017-12-07)
parents 03374082dafa
children 847d0e99c922
line source
1 /* CSS style for SliTaz Cooker */
3 html, body {
4 height: 100%;
5 margin: 0;
6 font: 14px/18px sans-serif;
7 color: rgba(0,0,0,0.9);
8 background-color: hsl(0, 0%, 98%);
9 }
10 #container {
11 position: relative;
12 min-height: 100%;
13 margin: 0 auto;
14 }
17 /* HEADER */
19 header, body>h2 {
20 background-color: rgba(0,0,0,0.7);
21 text-align: justify;
22 box-shadow: 0 -8px 8px rgba(0,0,0,0.3) inset;
23 line-height: 0;
24 }
25 header::before, header::after {
26 display: inline-block;
27 width: 100%;
28 overflow: hidden; height: 0; content: ''; visibility: hidden;
29 }
30 header h1 {
31 display: inline-block;
32 }
33 header h1, body>h2 {
34 margin: auto 0;
35 box-sizing: border-box;
36 white-space: nowrap;
37 vertical-align: middle;
38 }
39 body>h2 {
40 padding: 5px 0;
41 }
42 header h1::before, body>h2::before {
43 display: inline-block;
44 content: url("data:image/svg+xml,<svg height='40' width='40' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><linearGradient id='a' gradientUnits='userSpaceOnUse' x1='20' x2='20' y1='2.5' y2='37.5'><stop offset='0' stop-color='%23ff7825'/><stop offset='1' stop-color='%23762400'/></linearGradient><path d='m30.2 26.3c0-.9-4-3.5-4.9-3.9-.1 1.7.3 2.5-.2 4.6-.4 2.1-1.4 4.2-2.8 5.7-1.2 1.3-2.5 2.1-4.4 2.1-2.6 0-4-2.3-4.6-4.8-.5-3.8 1.1-7 1.1-7.4-.5-.1-4.3 2.2-5.7 3.2-.8 3 .4 7.2 2.5 10.9-3.5-3.2-5-7.8-5.6-11.6 2.3-1.8 4.3-2.3 5.5-3.6-.9 0-5.3.4-5.9 1-.8 1.6-1.3 6.8-1.2 10.2-2.5-4.7-1.2-11.2-1.1-11.9.3-.8 7.8-1.2 8.4-1.8-.5-.4-4.5-1.6-7.1-3 .3-1.6 3.2-8.2 6.4-10.6-1.1 2.2-3.1 7.3-3.4 9.3.6.4 5.3 2.4 6 2.3-.4-.7-3.5-3.1-3.9-3.8.8-3.2 6.7-9 8.5-9.8-2 1.9-5.3 6.7-5.7 9.2 1.7 1.7 3.9 3.8 4.9 4.1.3-.1.4-.7.4-1.1.6-2.8 3.2-3.7 4.1-3.7 1.2 0 2.5 1.4 2.7 2.3.1.7-.2 2 0 2.8 1.1-.4 5.7-3.6 6.3-4.4.4-3.3-1.3-6.6-3.2-9.5 2.5 1.4 5.6 6.8 6 9.9-.7 1.1-4 2.7-5 3.9.7 0 5.4-1.5 6.4-2.2.4-.4.4-.8.4-1.1 0-2.8-.4-6.3-1.1-8.8 2.5 2.8 3.4 7 3.6 10.4 0 .4-.1.6-.1 1-1.1.5-7.4 2.4-7.5 2.9-.1.3 5.3.7 7.6 1.5-.4 3.7-1.8 8.7-4.3 11.6.6-2.5 1.7-6.8 1.4-9.9-1.8-.4-5.3-1.1-5.5-.8-.3.4 4.2 2.6 4.2 3.7-1.3 3.9-4.9 8.8-8.6 11.4 4.5-5.6 5.5-9 5.4-10.5z' fill='url(%23a)'/></svg>");
45 vertical-align: middle;
46 }
47 header a, body>h2 {
48 color: hsla(0, 0%, 100%, 0.7);
49 -webkit-transition: .2s text-shadow; transition: .2s text-shadow;
50 text-decoration: none;
51 }
52 header a:hover, body>h2:hover {
53 color: hsla(0, 0%, 100%, 1);
54 text-shadow: 0 0 4px hsla(0, 0%, 100%, 0.5);
55 text-decoration: none;
56 }
57 header h1 a, body>h2 {
58 font: bold italic 20px/20px sans-serif;
59 }
60 .network {
61 display: inline-block;
62 text-align: left;
63 vertical-align: middle;
64 font-size: 12px;
65 line-height: normal;
66 color: #999;
67 }
68 .network a {
69 display: inline-block;
70 padding: 8px 6px;
71 vertical-align: middle;
72 }
73 header select, header option {
74 background-color: transparent;
75 color: inherit;
76 border: none;
77 font-size: inherit;
78 }
81 /* FOOTER */
83 footer, div.foot {
84 padding: 20px 0;
85 clear: both;
86 text-align: center;
87 font-size: 90%;
88 color: #666;
89 background-color: hsla(0, 0%, 20%, 0.1);
90 box-shadow: 0 4px 8px hsla(0, 0%, 0%, 0.2) inset;
92 position: absolute;
93 bottom: 0;
94 width: 100%;
95 }
96 div.foot { position: unset; }
97 footer a+a::before {
98 display: inline-block;
99 content: ' • ';
100 color: #E81;
101 }
102 footer div {
103 margin: 12px;
104 }
108 /* CONTENT */
110 h2 {
111 margin: 0; padding: 0.2rem;
112 font: bold 1.3rem/2rem sans-serif;
113 color: rgba(0,0,0,0.7);
114 }
115 section h2, section h3 {
116 background-color: rgba(0,0,0,0.05);
117 border-top-left-radius: 4px;
118 border-top-right-radius: 4px;
119 }
120 h3 {
121 margin: 0; padding: 0.2rem;
122 font: bold 1.15rem/1.5rem sans-serif;
123 color: rgba(0,0,0,0.6);
124 }
125 a {
126 text-decoration: none;
127 color: hsl(215, 60%, 40%);
128 -webkit-transition: .2s border-color, .2s box-shadow; transition: .2s border-color, .2s box-shadow;
129 border-bottom: 1px solid transparent;
130 }
131 p {
132 margin: 8px 0;
133 }
134 main td a:hover, p a:hover {
135 text-decoration: none;
136 color: hsl(215, 100%, 40%);
137 border-color: hsl(215, 100%, 40%);
138 }
139 pre {
140 background-color: rgba(0,0,0,0.03);
141 border: 1px solid rgba(0,0,0,0.1);
142 padding: 8px;
143 margin: 0;
144 overflow: auto;
145 font: 13px/16px monospace;
146 }
147 pre .underline { border-bottom: 1px solid #444; display: block; right: 0; }
149 /* Log with line numbers (taken from Mercurial - thanks a lot) */
150 pre.log {
151 position: relative;
152 counter-reset: lineno;
153 }
154 pre.log > span {
155 display: inline-block;
156 box-sizing: border-box;
157 width: 100%;
158 padding: 0 0 0 4em;
159 counter-increment: lineno;
160 white-space: pre-wrap;
161 }
162 pre.log > span::before {
163 -moz-user-select: -moz-none;
164 -khtml-user-select: none;
165 -webkit-user-select: none;
166 -ms-user-select: none;
167 user-select: none;
168 display: inline-block;
169 margin-left: -5em;
170 width: 4em;
171 font-size: smaller;
172 color: #999;
173 text-align: right;
174 content: counters(lineno, ".");
175 float: left;
176 }
177 pre.log > a {
178 display: inline-block;
179 position: absolute;
180 left: 0;
181 width: 4em;
182 height: 1em;
183 }
185 /* Content */
187 main {
188 margin: auto;
189 padding: 0.5em 0.5em 5em;
190 }
191 #content2, div.list {
192 width: 100%; box-sizing: border-box;
193 max-width: 700px;
194 margin: auto;
195 padding: 0.5em;
196 }
197 mark {
198 background: #FF8;
199 border: solid #EB7;
200 border-radius: 4px;
201 border-width: 1px 0;
202 }
205 .span-ok { color: #0a0; }
206 .span-red { color: red; }
207 .span-sky { color: blue; }
208 .span-no { color: #d90; }
209 .span-line { color: #888; }
210 .log-date { color: #666; font-size: 95%; }
211 .sh-comment { color: #a00; }
212 .sh-val { color: #e50; font-weight: bold; }
213 .var { color: #05a; }
216 /* Colored log */
218 .log b { font-weight: normal; color: red; }
219 .log u { text-decoration: none; color: darkorange; }
220 .log i { font-style: normal; color: green; }
221 .log em { font-style: normal; background-color: lightsteelblue; font-weight: bold; display: inline-block; width: 100%; }
222 .log var{ font-style: normal; color: #05a; }
224 .catman b { color: navy; }
225 .catman u { text-decoration: none; color: green; }
229 /* Buttons */
231 .button {
232 display: inline-block;
233 padding: 4px;
234 margin: 2px 0;
235 text-decoration: none;
236 color: rgba(0,0,0,0.7);
237 border: 1px solid;
238 border-color: rgba(0,0,0,0.3) rgba(0,0,0,0.5) rgba(0,0,0,0.5) rgba(0,0,0,0.3);
239 -moz-user-select: none;
240 }
241 .button.active {
242 color: inherit;
243 padding: 5px;
244 border: none;
245 box-shadow: 0 0 3px rgba(0,0,0,0.7) inset;
246 text-decoration: none;
247 }
248 .button:not(.active):hover, input:hover {
249 color: inherit;
250 box-shadow: 0 0 4px rgba(0,0,0,0.3);
251 text-decoration: none;
252 outline: none;
253 }
254 .button[data-acc]::before {
255 content: attr(data-acc);
256 display: inline-block;
257 padding-right: 4px;
258 margin-right: 4px;
259 text-align: center;
260 text-transform: uppercase;
261 border-right: 1px solid;
262 border-color: inherit;
263 }
266 /* Search box */
268 .search input {
269 padding: 2px;
270 font-size: inherit;
271 font-family: inherit;
272 color: inherit;
273 border: 1px solid rgba(0,0,0,0.3);
274 -webkit-transition: .2s box-shadow, .5s padding cubic-bezier(.68,-0.55,.27,1.55);
275 transition: .2s box-shadow, .5s padding cubic-bezier(.68,-0.55,.27,1.55);
276 float: right;
277 height: 28px;
278 box-sizing: border-box;
279 }
280 .search input:focus {
281 padding-right: 22px;
282 }
283 .search button {
284 background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15'><path d='m5.5 1c5.5.3 5.5 5.5 5.5 5.5 0 1.8-1 3.1-1 3.1l3.8 3.8-1.4 1.4-3.8-3.8s-1.3 1-3.1 1c-5.5-.3-5.5-5.5-5.5-5.5s0-5.2 5.5-5.5zm0 2c-3.5.2-3.5 3.5-3.5 3.5s0 3.3 3.5 3.5c3.5-.2 3.5-3.5 3.5-3.5s0-3.3-3.5-3.5z'/></svg>") no-repeat 0 0;
285 border: 0;
286 width: 19px;
287 height: 19px;
288 text-indent: -99999px;
289 margin-left: -22px;
290 margin-top: 6px;
291 padding: 0;
292 opacity: 0.6;
293 cursor: pointer;
294 float: right;
295 }
298 /* Round corner */
300 pre, .button, .search input, [class*="bigicon-"], progress {
301 border-radius: 3px;
302 }
306 .log a[name] { text-decoration: none; color: #666; }
307 .log a[name]:hover { color: #000; }
309 .r { float: right; }
310 form.r, .button.r { margin: 3px 3px 0; }
312 .button.r { background-color: white; }
313 .button.receipt { background-color: greenyellow; }
314 .button.website { background-color: skyblue; }
315 .button.files { background-color: khaki; }
316 .button.desc { background-color: sandybrown; }
317 .button.download { background-color: gold; }
318 .button.source { background-color: yellow; }
319 .button.browse { background-color: tan; }
320 .button.doc { background-color: plum; }
321 .button.log { background-color: lightgray; }
323 .icon::before {
324 height: 16px;
325 vertical-align: -2px;
326 display: inline-block;
327 padding-right: 2px;
328 opacity: 0.6;
329 }
330 .icon.receipt::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m6.2 2-.2 1.8-1.6.9-1.7-.8-1.8 3 1.5 1.1v1.9l-1.5 1.1 1.8 3 1.7-.8 1.6.9.2 1.8h3.6l.2-1.8 1.6-.9 1.7.8 1.8-3-1.5-1.1v-1.9l1.5-1.1-1.8-3-1.7.8-1.6-.9-.2-1.8zm1.8 5s1.9 0 2 2c-.1 2-2 2-2 2s-1.9 0-2-2c.1-2 2-2 2-2z'/></svg>"); }
331 .icon.website::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 2c-7 .3-7 7-7 7s0 6.7 7 7c7-.3 7-7 7-7s0-6.7-7-7zm-.3 1.9c-.8 1.9-.5 3 0 3.6-1 0-1-.8-1.8-.8-.3 0-.5.4-.5.7 0 2 4.8.8 4.8 3.3 0 1.6-1 2.6-2.7 3.2 0-1.9-.7-2.2-1.8-2.9-.3-.2-.3-.3-.2-.6.2-.6.4-.9 1-1.3-1.3-.3-2.4-.6-3.3-1.4 0-1 1.7-3.8 4.5-3.8zm4.5 2.4c.7 1 1.1 2.6.5 4.2-.6-1.1-1.7-1.7-1.7-2.5s1-1.7 1.2-1.7z'/></svg>"); }
332 .icon.files::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m5 2v1h3.4l4.6 4.6v5.4h1c1 0 1-1 1-1v-7l-4-4h-5s-1 0-1 1zm-3 3v10s0 1 1 1h8s1 0 1-1v-7l-4-4h-5s-1 0-1 1z'/></svg>"); }
333 .icon.desc::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m3 2c-2 0-2 2-2 2v10c0 2 2 2 2 2h10s2 0 2-2v-10c0-2-2-2-2-2zm1 3h8v1h-8zm0 3h8v1h-8zm0 3h6v1h-6z'/></svg>"); }
334 .icon.download::before, .icon.source::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='16'><path d='m5 2v5h-2.3l4.3 6.3 4.4-6.3h-2.4v-5zm-4 12v2h12.1v-2z'/></svg>"); }
335 .icon.browse::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 4s-5.4-.4-8 5c2.6 5.4 8 5 8 5s5.4.4 8-5c-2.6-5.4-8-5-8-5zm3 5c-.2 4-5.8 4-6 0 .2-4 5.8-4 6 0zm-4 0c0 1.3 2 1.3 2 0s-2-1.3-2 0z'/></svg>"); }
336 .icon.doc::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m4.5 3c-2.5 0-3.5 1-3.5 1v12.1s1-1 3.5-1 3.5 1 3.5 1 1-1 3.5-1 3.5 1 3.5 1v-12.1s-1-1-3.5-1-3.5 1-3.5 1-1-1-3.5-1zm7 1.2c1.5 0 2.5.4 2.5.4v9.7s-1-.4-2.5-.4c-2.5 0-3.5 1-3.5 1v-9.7s1-1 3.5-1z'/></svg>"); }
337 .icon.log::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='m8 2c-7 .4-7 7-7 7s0 6.6 7 7c7-.4 7-7 7-7s0-6.6-7-7zm0 2c5 .3 5 5 5 5s0 4.7-5 5c-5-.3-5-5-5-5s0-4.7 5-5zm-1 1v4.4l2.8 2.8 1.4-1.4-2.2-2.2v-3.6z'/></svg>"); }
338 .icon.more::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='m3 7c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2zm5 0c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2zm5 0c-2 .1-2 2-2 2s0 1.9 2 2c2-.1 2-2 2-2s0-1.9-2-2z'/></svg>"); }
339 .icon.bell::before { content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='m9.6 2.7s-3.4-.2-4.5 3c-1.9 4.6-2.5 3.8-2.8 4.4-.2.6.4.8.4.8l9.3 3.3s.5.2.8-.3-.9-.5.7-5.2c1-3.5-1.6-5.1-1.6-5.1s.3-1.1-.8-1.5c-1-.4-1.5.6-1.5.6zm-2.9 11s-.4 1.4 1.3 2.2c2 .4 2.3-.9 2.3-.9z'/></svg>"); }
341 .bigicon-i {
342 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 2c-14 .7-14 14-14 14s0 13.3 14 14c14-.7 14-14 14-14s0-13.3-14-14zm0 5.5c2.5 0 2.5 2.5 2.5 2.5s0 2.5-2.5 2.5-2.5-2.5-2.5-2.5 0-2.5 2.5-2.5zm-2 6.5h4v10h-4z' fill='%2329F'/></svg>") no-repeat 0.5rem 50%;
343 }
344 .bigicon-w {
345 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 1.3c-.7 0-1.3.3-1.7 1l-14 24.7c-.8 1.4.2 3 1.7 3h28c1.5 0 2.5-1.6 1.7-3l-14-24.7c-.4-.7-1-1-1.7-1zm-2 6.7h4v12h-4zm0 14h4v4h-4z' fill='%23F90'/></svg>") no-repeat 0.5rem 50%;
346 }
347 .bigicon-e {
348 background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='m16 2c-14 .7-14 14-14 14s0 13.3 14 14c14-.7 14-14 14-14s0-13.3-14-14zm-2 4h4v12h-4zm0 16h4v4h-4z' fill='%23F43'/></svg>") no-repeat 0.5rem 50%;
349 }
350 [class*="bigicon-"] {
351 margin: 0.5rem 0;
352 padding: 1rem 0.8rem 1rem 3rem;
353 background-color: hsla(0,0%,100%,0.8);
354 box-shadow: 0 0 3px rgba(0,0,0,0.4);
355 }
358 a:target { background-color: yellow; }
361 /* Table */
363 table { width: 100%; box-sizing: border-box; border-collapse: collapse; /*box-shadow: 0 0 4px rgba(0,0,0,0.3);*/ }
364 th { /*color: rgba(0,0,0,0.6);*/ background-color: rgba(0,0,0,0.1); padding: 3px; font-weight: normal; }
365 td { padding: 2px; vertical-align: top; }
366 table:not(.half):not(.pkgslist) td:first-child { white-space: nowrap; width: 5rem; }
367 table.half td { width:50%; }
368 table.third td{ width:33%; }
369 td+td { border-left: 1px solid rgba(0,0,0,0.1); }
370 .activity td:first-child, .cooknotes td:first-child, td.m { color: rgba(0,0,0,0.6); }
372 tbody tr:nth-child(odd) {
373 background-color: hsla(0, 0%, 100%, 0.3);
374 }
375 tbody tr:nth-child(even) {
376 background-color: hsla(0, 0%, 0%, 0.05);
377 }
378 .pkgslist { margin-top: 1.6em; }
379 .pkgslist td:nth-child(1), .pkgslist td:nth-child(2), .pkgslist td:nth-child(3), .pkgslist td:nth-child(4) {
380 white-space: nowrap; width: 1rem; text-align: right;
381 }
382 .summary th, .summary td { white-space: nowrap; width: 1rem; text-align: center; }
383 .summary th:last-child, .summary td:last-child { width: unset; }
385 .webstat td { text-align: center; width: 16%; }
386 .webstat td:first-child { text-align: unset; width: unset; }
388 div.list td, div.list th { padding: 5px 2px; }
390 .texinfo pre { display: none; }
391 .texinfo pre:target { display: block; }
393 section, div.list {
394 margin: 0.6rem 0;
395 padding: 4px;
396 box-shadow: 0 0 4px rgba(0,0,0,0.3);
397 border-radius: 4px;
398 }
399 div.list {
400 margin: 2rem auto;
401 }
402 .dog {
403 max-height: 12rem;
404 overflow-y: auto;
405 }
408 /* HTML5 progress */
410 .meter {
411 height: 1.4rem;
412 margin: 0.7rem 0;
413 color: inherit;
414 }
415 .meter progress {
416 height: inherit;
417 width: 100%;
418 box-sizing: border-box;
419 display: inline-block;
420 vertical-align: middle;
421 }
422 progress {
423 border: 1px solid rgba(0,0,0,0.2);
424 background-color: hsla(0,0%,100%,0.6);
425 box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
426 -webkit-transition: all .5s; transition: all .5s;
427 }
428 progress::-webkit-progress-bar {
429 background-color: hsla(0,0%,100%,0.6);
430 box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
431 }
432 progress::-webkit-progress-value {
433 background-color: hsla(100,100%,40%,0.7);
434 -webkit-transition: all .5s; transition: all .5s;
435 }
436 progress::-moz-progress-bar {
437 background-color: hsla(100,100%,40%,0.7);
438 transition: all .5s;
439 }
440 .meter span {
441 display: block;
442 white-space: nowrap;
443 position: relative;
444 margin: -1.3rem auto 0 0.1rem;
445 text-align: center;
446 }
451 /* Documents iframe */
453 iframe {
454 border: none;
455 }
458 /* Terminal colors */
460 pre.files { background-color: hsla(0,0%,0%,0.8); color: hsla(0,0%,100%,0.9); }
461 pre.files a { text-decoration: none; }
462 pre.files a[href]:hover { text-decoration: underline; }
463 .c00 { color: #d3d7cf; } .c01 { color: #555753; }
464 .c10 { color: #cc0000; } .c11 { color: #ef2929; }
465 .c20 { color: #4e9a06; } .c21 { color: #8ae234; }
466 .c30 { color: #c4a000; } .c31 { color: #fce94f; }
467 .c40 { color: #3465a4; } .c41 { color: #729fcf; }
468 .c50 { color: #75507b; } .c51 { color: #ad7fa8; }
469 .c60 { color: #06989a; } .c61 { color: #34e2e2; }
470 .c70 { color: #2e3436; } .c71 { color: #eeeeec; }
471 .c01,.c11,.c21,.c31,.c41,.c51,.c61,.c71 { font-weight: bold; }
473 /* Old webkit-gtk compatibility */
475 header, footer, main {
476 display: block;
477 }
480 /* FOLLOWING CSS HAS SOME CHANGES FOR SLITAZ COOKER! */
482 /* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+asciidoc+bash+c+css-extras+diff+ini+markdown+perl+python */
483 /**
484 * okaidia theme for JavaScript, CSS and HTML
485 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
486 * @author ocodia
487 */
488 code[class*="language-"], pre[class*="language-"] {
489 color: #f8f8f2;
490 background: none;
491 text-shadow: 0 1px rgba(0,0,0,0.3);
492 text-align: left;
493 white-space: pre;
494 word-spacing: normal;
495 word-break: normal;
496 word-wrap: normal;
497 -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;
498 -webkit-hyphens: none; -moz-hyphens: none; hyphens: none;
499 }
500 /* Code blocks */
501 pre[class*="language-"] {
502 padding: 1em;
503 margin: .5em 0;
504 overflow: auto;
505 }
506 :not(pre) > code[class*="language-"], pre[class*="language-"] {
507 background: #272822;
508 }
509 /* Inline code */
510 :not(pre) > code[class*="language-"] {
511 padding: .1em;
512 border-radius: .3em;
513 white-space: normal;
514 }
515 .token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}
516 .token.punctuation{color:#f8f8f2;}
517 .namespace{opacity:.7;}
518 .token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672;}
519 .token.boolean,.token.number,.token.coord{color:#ae81ff;}
520 .token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e;}
521 .token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2;}
522 .token.atrule,.token.attr-value,.token.function{color:#e6db74;}
523 .token.keyword{color:#66d9ef;}
524 .token.regex,.token.important{color:#fd971f;}
525 .token.important,.token.bold{font-weight:bold;}
526 .token.italic{font-style:italic;}
527 .token.entity{cursor:help;}