]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
shared.c: avoid SEGFAULT when checking for binary buffers
[cgit.git] / cgit.css
1 body, table, form {
2 padding: 0em;
3 margin: 0em;
4 }
5
6 body {
7 font-family: sans-serif;
8 font-size: 10pt;
9 color: #333;
10 background: white;
11 padding: 4px;
12 }
13
14 a {
15 color: blue;
16 text-decoration: none;
17 }
18
19 a:hover {
20 text-decoration: underline;
21 }
22
23 table {
24 border-collapse: collapse;
25 }
26
27 table#header {
28 width: 100%;
29 margin-bottom: 1em;
30 }
31
32 table#header td.logo {
33 width: 96px;
34 }
35
36 table#header td.main {
37 font-size: 250%;
38 padding-left: 10px;
39 white-space: nowrap;
40 }
41
42 table#header td.main a {
43 color: #000;
44 }
45
46 table#header td.form {
47 text-align: right;
48 vertical-align: bottom;
49 padding-right: 1em;
50 padding-bottom: 2px;
51 white-space: nowrap;
52 }
53
54 table#header td.form form,
55 table#header td.form input,
56 table#header td.form select {
57 font-size: 90%;
58 }
59
60 table#header td.sub {
61 color: #777;
62 border-top: solid 1px #ccc;
63 padding-left: 10px;
64 }
65
66 table.tabs {
67 /* border-bottom: solid 2px #ccc; */
68 border-collapse: collapse;
69 margin-top: 2em;
70 margin-bottom: 0px;
71 width: 100%;
72 }
73
74 table.tabs td {
75 padding: 0px 1em;
76 vertical-align: bottom;
77 }
78
79 table.tabs td a {
80 padding: 2px 0.75em;
81 color: #777;
82 font-size: 110%;
83 }
84
85 table.tabs td a.active {
86 color: #000;
87 background-color: #ccc;
88 }
89
90 table.tabs td.form {
91 text-align: right;
92 }
93
94 table.tabs td.form form {
95 padding-bottom: 2px;
96 font-size: 90%;
97 white-space: nowrap;
98 }
99
100 table.tabs td.form input,
101 table.tabs td.form select {
102 font-size: 90%;
103 }
104
105 div.content {
106 margin: 0px;
107 padding: 2em;
108 border-top: solid 3px #ccc;
109 border-bottom: solid 3px #ccc;
110 }
111
112
113 table.list {
114 width: 100%;
115 border: none;
116 border-collapse: collapse;
117 }
118
119 table.list tr {
120 background: white;
121 }
122
123 table.list tr.logheader {
124 background: #eee;
125 }
126
127 table.list tr:hover {
128 background: #eee;
129 }
130
131 table.list tr.nohover:hover {
132 background: white;
133 }
134
135 table.list th {
136 font-weight: bold;
137 /* color: #888;
138 border-top: dashed 1px #888;
139 border-bottom: dashed 1px #888;
140 */
141 padding: 0.1em 0.5em 0.05em 0.5em;
142 vertical-align: baseline;
143 }
144
145 table.list td {
146 border: none;
147 padding: 0.1em 0.5em 0.1em 0.5em;
148 }
149
150 table.list td.logsubject {
151 font-family: monospace;
152 font-weight: bold;
153 }
154
155 table.list td.logmsg {
156 font-family: monospace;
157 white-space: pre;
158 padding: 1em 0em 2em 0em;
159 }
160
161 table.list td a {
162 color: black;
163 }
164
165 table.list td a:hover {
166 color: #00f;
167 }
168
169 img {
170 border: none;
171 }
172
173 input#switch-btn {
174 margin: 2px 0px 0px 0px;
175 }
176
177 td#sidebar input.txt {
178 width: 100%;
179 margin: 2px 0px 0px 0px;
180 }
181
182 table#grid {
183 margin: 0px;
184 }
185
186 td#content {
187 vertical-align: top;
188 padding: 1em 2em 1em 1em;
189 border: none;
190 }
191
192 div#summary {
193 vertical-align: top;
194 margin-bottom: 1em;
195 }
196
197 table#downloads {
198 float: right;
199 border-collapse: collapse;
200 border: solid 1px #777;
201 margin-left: 0.5em;
202 margin-bottom: 0.5em;
203 }
204
205 table#downloads th {
206 background-color: #ccc;
207 }
208
209 div#blob {
210 border: solid 1px black;
211 }
212
213 div.error {
214 color: red;
215 font-weight: bold;
216 margin: 1em 2em;
217 }
218
219 a.ls-blob, a.ls-dir, a.ls-mod {
220 font-family: monospace;
221 }
222
223 td.ls-size {
224 text-align: right;
225 font-family: monospace;
226 width: 10em;
227 }
228
229 td.ls-mode {
230 font-family: monospace;
231 width: 10em;
232 }
233
234 table.blob {
235 margin-top: 0.5em;
236 border-top: solid 1px black;
237 }
238
239 table.blob td.lines {
240 margin: 0; padding: 0;
241 vertical-align: top;
242 color: black;
243 }
244
245 table.blob td.linenumbers {
246 margin: 0; padding: 0;
247 vertical-align: top;
248 border-right: 1px solid gray;
249 background-color: #eee;
250 }
251
252 table.blob pre {
253 padding: 0; margin: 0;
254 }
255
256 table.blob a.no {
257 color: gray;
258 text-align: right;
259 text-decoration: none;
260 }
261
262 table.blob a.no a:hover {
263 color: black;
264 }
265
266 table.bin-blob {
267 margin-top: 0.5em;
268 border: solid 1px black;
269 }
270
271 table.bin-blob th {
272 font-family: monospace;
273 white-space: pre;
274 border: solid 1px #777;
275 padding: 0.5em 1em;
276 }
277
278 table.bin-blob td {
279 font-family: monospace;
280 white-space: pre;
281 border-left: solid 1px #777;
282 padding: 0em 1em;
283 }
284
285 table.nowrap td {
286 white-space: nowrap;
287 }
288
289 table.commit-info {
290 border-collapse: collapse;
291 margin-top: 1.5em;
292 }
293
294 table.commit-info th {
295 text-align: left;
296 font-weight: normal;
297 padding: 0.1em 1em 0.1em 0.1em;
298 vertical-align: top;
299 }
300
301 table.commit-info td {
302 font-weight: normal;
303 padding: 0.1em 1em 0.1em 0.1em;
304 }
305
306 div.commit-subject {
307 font-weight: bold;
308 font-size: 125%;
309 margin: 1.5em 0em 0.5em 0em;
310 padding: 0em;
311 }
312
313 div.commit-msg {
314 white-space: pre;
315 font-family: monospace;
316 }
317
318 div.diffstat-header {
319 font-weight: bold;
320 padding-top: 1.5em;
321 }
322
323 table.diffstat {
324 border-collapse: collapse;
325 border: solid 1px #aaa;
326 background-color: #eee;
327 }
328
329 table.diffstat th {
330 font-weight: normal;
331 text-align: left;
332 text-decoration: underline;
333 padding: 0.1em 1em 0.1em 0.1em;
334 font-size: 100%;
335 }
336
337 table.diffstat td {
338 padding: 0.2em 0.2em 0.1em 0.1em;
339 font-size: 100%;
340 border: none;
341 }
342
343 table.diffstat td.mode {
344 white-space: nowrap;
345 }
346
347 table.diffstat td span.modechange {
348 padding-left: 1em;
349 color: red;
350 }
351
352 table.diffstat td.add a {
353 color: green;
354 }
355
356 table.diffstat td.del a {
357 color: red;
358 }
359
360 table.diffstat td.upd a {
361 color: blue;
362 }
363
364 table.diffstat td.graph {
365 width: 500px;
366 vertical-align: middle;
367 }
368
369 table.diffstat td.graph table {
370 border: none;
371 }
372
373 table.diffstat td.graph td {
374 padding: 0px;
375 border: 0px;
376 height: 7pt;
377 }
378
379 table.diffstat td.graph td.add {
380 background-color: #5c5;
381 }
382
383 table.diffstat td.graph td.rem {
384 background-color: #c55;
385 }
386
387 div.diffstat-summary {
388 color: #888;
389 padding-top: 0.5em;
390 }
391
392 table.diff {
393 width: 100%;
394 }
395
396 table.diff td {
397 font-family: monospace;
398 white-space: pre;
399 }
400
401 table.diff td div.head {
402 font-weight: bold;
403 margin-top: 1em;
404 color: black;
405 }
406
407 table.diff td div.hunk {
408 color: #009;
409 }
410
411 table.diff td div.add {
412 color: green;
413 }
414
415 table.diff td div.del {
416 color: red;
417 }
418
419 .sha1 {
420 font-family: monospace;
421 font-size: 90%;
422 }
423
424 .left {
425 text-align: left;
426 }
427
428 .right {
429 text-align: right;
430 }
431
432 table.list td.repogroup {
433 font-style: italic;
434 color: #888;
435 }
436
437 a.button {
438 font-size: 80%;
439 padding: 0em 0.5em;
440 }
441
442 a.primary {
443 font-size: 100%;
444 }
445
446 a.secondary {
447 font-size: 90%;
448 }
449
450 td.toplevel-repo {
451
452 }
453
454 table.list td.sublevel-repo {
455 padding-left: 1.5em;
456 }
457
458 div.pager {
459 text-align: center;
460 margin: 1em 0em 0em 0em;
461 }
462
463 div.pager a {
464 color: #777;
465 margin: 0em 0.5em;
466 }
467
468 span.age-mins {
469 font-weight: bold;
470 color: #080;
471 }
472
473 span.age-hours {
474 color: #080;
475 }
476
477 span.age-days {
478 color: #040;
479 }
480
481 span.age-weeks {
482 color: #444;
483 }
484
485 span.age-months {
486 color: #888;
487 }
488
489 span.age-years {
490 color: #bbb;
491 }
492 div.footer {
493 margin-top: 0.5em;
494 text-align: center;
495 font-size: 80%;
496 color: #ccc;
497 }
498 a.branch-deco {
499 margin: 0px 0.5em;
500 padding: 0px 0.25em;
501 background-color: #88ff88;
502 border: solid 1px #007700;
503 }
504 a.tag-deco {
505 margin: 0px 0.5em;
506 padding: 0px 0.25em;
507 background-color: #ffff88;
508 border: solid 1px #777700;
509 }
510 a.remote-deco {
511 margin: 0px 0.5em;
512 padding: 0px 0.25em;
513 background-color: #ccccff;
514 border: solid 1px #000077;
515 }
516 a.deco {
517 margin: 0px 0.5em;
518 padding: 0px 0.25em;
519 background-color: #ff8888;
520 border: solid 1px #770000;
521 }
522
523 div.commit-subject a {
524 margin-left: 1em;
525 font-size: 75%;
526 }
527
528 table.stats {
529 border: solid 1px black;
530 border-collapse: collapse;
531 }
532
533 table.stats th {
534 text-align: left;
535 padding: 1px 0.5em;
536 background-color: #eee;
537 border: solid 1px black;
538 }
539
540 table.stats td {
541 text-align: right;
542 padding: 1px 0.5em;
543 border: solid 1px black;
544 }
545
546 table.stats td.total {
547 font-weight: bold;
548 text-align: left;
549 }
550
551 table.stats td.sum {
552 color: #c00;
553 font-weight: bold;
554 /* background-color: #eee; */
555 }
556
557 table.stats td.left {
558 text-align: left;
559 }
560
561 table.vgraph {
562 border-collapse: separate;
563 border: solid 1px black;
564 height: 200px;
565 }
566
567 table.vgraph th {
568 background-color: #eee;
569 font-weight: bold;
570 border: solid 1px white;
571 padding: 1px 0.5em;
572 }
573
574 table.vgraph td {
575 vertical-align: bottom;
576 padding: 0px 10px;
577 }
578
579 table.vgraph div.bar {
580 background-color: #eee;
581 }
582
583 table.hgraph {
584 border: solid 1px black;
585 width: 800px;
586 }
587
588 table.hgraph th {
589 background-color: #eee;
590 font-weight: bold;
591 border: solid 1px black;
592 padding: 1px 0.5em;
593 }
594
595 table.hgraph td {
596 vertical-align: center;
597 padding: 2px 2px;
598 }
599
600 table.hgraph div.bar {
601 background-color: #eee;
602 height: 1em;
603 }