]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
CGIT 0.9
[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 3px #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.path {
106 margin: 0px;
107 padding: 5px 2em 2px 2em;
108 color: #000;
109 background-color: #eee;
110 }
111
112 div.content {
113 margin: 0px;
114 padding: 2em;
115 border-bottom: solid 3px #ccc;
116 }
117
118
119 table.list {
120 width: 100%;
121 border: none;
122 border-collapse: collapse;
123 }
124
125 table.list tr {
126 background: white;
127 }
128
129 table.list tr.logheader {
130 background: #eee;
131 }
132
133 table.list tr:hover {
134 background: #eee;
135 }
136
137 table.list tr.nohover:hover {
138 background: white;
139 }
140
141 table.list th {
142 font-weight: bold;
143 /* color: #888;
144 border-top: dashed 1px #888;
145 border-bottom: dashed 1px #888;
146 */
147 padding: 0.1em 0.5em 0.05em 0.5em;
148 vertical-align: baseline;
149 }
150
151 table.list td {
152 border: none;
153 padding: 0.1em 0.5em 0.1em 0.5em;
154 }
155
156 table.list td.commitgraph {
157 font-family: monospace;
158 white-space: pre;
159 }
160
161 table.list td.commitgraph .column1 {
162 color: #a00;
163 }
164
165 table.list td.commitgraph .column2 {
166 color: #0a0;
167 }
168
169 table.list td.commitgraph .column3 {
170 color: #aa0;
171 }
172
173 table.list td.commitgraph .column4 {
174 color: #00a;
175 }
176
177 table.list td.commitgraph .column5 {
178 color: #a0a;
179 }
180
181 table.list td.commitgraph .column6 {
182 color: #0aa;
183 }
184
185 table.list td.logsubject {
186 font-family: monospace;
187 font-weight: bold;
188 }
189
190 table.list td.logmsg {
191 font-family: monospace;
192 white-space: pre;
193 padding: 0 0.5em;
194 }
195
196 table.list td a {
197 color: black;
198 }
199
200 table.list td a.ls-dir {
201 font-weight: bold;
202 color: #00f;
203 }
204
205 table.list td a:hover {
206 color: #00f;
207 }
208
209 img {
210 border: none;
211 }
212
213 input#switch-btn {
214 margin: 2px 0px 0px 0px;
215 }
216
217 td#sidebar input.txt {
218 width: 100%;
219 margin: 2px 0px 0px 0px;
220 }
221
222 table#grid {
223 margin: 0px;
224 }
225
226 td#content {
227 vertical-align: top;
228 padding: 1em 2em 1em 1em;
229 border: none;
230 }
231
232 div#summary {
233 vertical-align: top;
234 margin-bottom: 1em;
235 }
236
237 table#downloads {
238 float: right;
239 border-collapse: collapse;
240 border: solid 1px #777;
241 margin-left: 0.5em;
242 margin-bottom: 0.5em;
243 }
244
245 table#downloads th {
246 background-color: #ccc;
247 }
248
249 div#blob {
250 border: solid 1px black;
251 }
252
253 div.error {
254 color: red;
255 font-weight: bold;
256 margin: 1em 2em;
257 }
258
259 a.ls-blob, a.ls-dir, a.ls-mod {
260 font-family: monospace;
261 }
262
263 td.ls-size {
264 text-align: right;
265 font-family: monospace;
266 width: 10em;
267 }
268
269 td.ls-mode {
270 font-family: monospace;
271 width: 10em;
272 }
273
274 table.blob {
275 margin-top: 0.5em;
276 border-top: solid 1px black;
277 }
278
279 table.blob td.lines {
280 margin: 0; padding: 0 0 0 0.5em;
281 vertical-align: top;
282 color: black;
283 }
284
285 table.blob td.linenumbers {
286 margin: 0; padding: 0 0.5em 0 0.5em;
287 vertical-align: top;
288 text-align: right;
289 border-right: 1px solid gray;
290 }
291
292 table.blob pre {
293 padding: 0; margin: 0;
294 }
295
296 table.blob a.no, table.ssdiff a.no {
297 color: gray;
298 text-align: right;
299 text-decoration: none;
300 }
301
302 table.blob a.no a:hover {
303 color: black;
304 }
305
306 table.bin-blob {
307 margin-top: 0.5em;
308 border: solid 1px black;
309 }
310
311 table.bin-blob th {
312 font-family: monospace;
313 white-space: pre;
314 border: solid 1px #777;
315 padding: 0.5em 1em;
316 }
317
318 table.bin-blob td {
319 font-family: monospace;
320 white-space: pre;
321 border-left: solid 1px #777;
322 padding: 0em 1em;
323 }
324
325 table.nowrap td {
326 white-space: nowrap;
327 }
328
329 table.commit-info {
330 border-collapse: collapse;
331 margin-top: 1.5em;
332 }
333
334 table.commit-info th {
335 text-align: left;
336 font-weight: normal;
337 padding: 0.1em 1em 0.1em 0.1em;
338 vertical-align: top;
339 }
340
341 table.commit-info td {
342 font-weight: normal;
343 padding: 0.1em 1em 0.1em 0.1em;
344 }
345
346 div.commit-subject {
347 font-weight: bold;
348 font-size: 125%;
349 margin: 1.5em 0em 0.5em 0em;
350 padding: 0em;
351 }
352
353 div.commit-msg {
354 white-space: pre;
355 font-family: monospace;
356 }
357
358 div.notes-header {
359 font-weight: bold;
360 padding-top: 1.5em;
361 }
362
363 div.notes {
364 white-space: pre;
365 font-family: monospace;
366 border: solid 1px #ee9;
367 background-color: #ffd;
368 padding: 0.3em 2em 0.3em 1em;
369 float: left;
370 }
371
372 div.notes-footer {
373 clear: left;
374 }
375
376 div.diffstat-header {
377 font-weight: bold;
378 padding-top: 1.5em;
379 }
380
381 table.diffstat {
382 border-collapse: collapse;
383 border: solid 1px #aaa;
384 background-color: #eee;
385 }
386
387 table.diffstat th {
388 font-weight: normal;
389 text-align: left;
390 text-decoration: underline;
391 padding: 0.1em 1em 0.1em 0.1em;
392 font-size: 100%;
393 }
394
395 table.diffstat td {
396 padding: 0.2em 0.2em 0.1em 0.1em;
397 font-size: 100%;
398 border: none;
399 }
400
401 table.diffstat td.mode {
402 white-space: nowrap;
403 }
404
405 table.diffstat td span.modechange {
406 padding-left: 1em;
407 color: red;
408 }
409
410 table.diffstat td.add a {
411 color: green;
412 }
413
414 table.diffstat td.del a {
415 color: red;
416 }
417
418 table.diffstat td.upd a {
419 color: blue;
420 }
421
422 table.diffstat td.graph {
423 width: 500px;
424 vertical-align: middle;
425 }
426
427 table.diffstat td.graph table {
428 border: none;
429 }
430
431 table.diffstat td.graph td {
432 padding: 0px;
433 border: 0px;
434 height: 7pt;
435 }
436
437 table.diffstat td.graph td.add {
438 background-color: #5c5;
439 }
440
441 table.diffstat td.graph td.rem {
442 background-color: #c55;
443 }
444
445 div.diffstat-summary {
446 color: #888;
447 padding-top: 0.5em;
448 }
449
450 table.diff {
451 width: 100%;
452 }
453
454 table.diff td {
455 font-family: monospace;
456 white-space: pre;
457 }
458
459 table.diff td div.head {
460 font-weight: bold;
461 margin-top: 1em;
462 color: black;
463 }
464
465 table.diff td div.hunk {
466 color: #009;
467 }
468
469 table.diff td div.add {
470 color: green;
471 }
472
473 table.diff td div.del {
474 color: red;
475 }
476
477 .sha1 {
478 font-family: monospace;
479 font-size: 90%;
480 }
481
482 .left {
483 text-align: left;
484 }
485
486 .right {
487 text-align: right;
488 }
489
490 table.list td.reposection {
491 font-style: italic;
492 color: #888;
493 }
494
495 a.button {
496 font-size: 80%;
497 padding: 0em 0.5em;
498 }
499
500 a.primary {
501 font-size: 100%;
502 }
503
504 a.secondary {
505 font-size: 90%;
506 }
507
508 td.toplevel-repo {
509
510 }
511
512 table.list td.sublevel-repo {
513 padding-left: 1.5em;
514 }
515
516 div.pager {
517 text-align: center;
518 margin: 1em 0em 0em 0em;
519 }
520
521 div.pager a {
522 color: #777;
523 margin: 0em 0.5em;
524 }
525
526 span.age-mins {
527 font-weight: bold;
528 color: #080;
529 }
530
531 span.age-hours {
532 color: #080;
533 }
534
535 span.age-days {
536 color: #040;
537 }
538
539 span.age-weeks {
540 color: #444;
541 }
542
543 span.age-months {
544 color: #888;
545 }
546
547 span.age-years {
548 color: #bbb;
549 }
550 div.footer {
551 margin-top: 0.5em;
552 text-align: center;
553 font-size: 80%;
554 color: #ccc;
555 }
556 a.branch-deco {
557 margin: 0px 0.5em;
558 padding: 0px 0.25em;
559 background-color: #88ff88;
560 border: solid 1px #007700;
561 }
562 a.tag-deco {
563 margin: 0px 0.5em;
564 padding: 0px 0.25em;
565 background-color: #ffff88;
566 border: solid 1px #777700;
567 }
568 a.remote-deco {
569 margin: 0px 0.5em;
570 padding: 0px 0.25em;
571 background-color: #ccccff;
572 border: solid 1px #000077;
573 }
574 a.deco {
575 margin: 0px 0.5em;
576 padding: 0px 0.25em;
577 background-color: #ff8888;
578 border: solid 1px #770000;
579 }
580
581 div.commit-subject a.branch-deco,
582 div.commit-subject a.tag-deco,
583 div.commit-subject a.remote-deco,
584 div.commit-subject a.deco {
585 margin-left: 1em;
586 font-size: 75%;
587 }
588
589 table.stats {
590 border: solid 1px black;
591 border-collapse: collapse;
592 }
593
594 table.stats th {
595 text-align: left;
596 padding: 1px 0.5em;
597 background-color: #eee;
598 border: solid 1px black;
599 }
600
601 table.stats td {
602 text-align: right;
603 padding: 1px 0.5em;
604 border: solid 1px black;
605 }
606
607 table.stats td.total {
608 font-weight: bold;
609 text-align: left;
610 }
611
612 table.stats td.sum {
613 color: #c00;
614 font-weight: bold;
615 /* background-color: #eee; */
616 }
617
618 table.stats td.left {
619 text-align: left;
620 }
621
622 table.vgraph {
623 border-collapse: separate;
624 border: solid 1px black;
625 height: 200px;
626 }
627
628 table.vgraph th {
629 background-color: #eee;
630 font-weight: bold;
631 border: solid 1px white;
632 padding: 1px 0.5em;
633 }
634
635 table.vgraph td {
636 vertical-align: bottom;
637 padding: 0px 10px;
638 }
639
640 table.vgraph div.bar {
641 background-color: #eee;
642 }
643
644 table.hgraph {
645 border: solid 1px black;
646 width: 800px;
647 }
648
649 table.hgraph th {
650 background-color: #eee;
651 font-weight: bold;
652 border: solid 1px black;
653 padding: 1px 0.5em;
654 }
655
656 table.hgraph td {
657 vertical-align: center;
658 padding: 2px 2px;
659 }
660
661 table.hgraph div.bar {
662 background-color: #eee;
663 height: 1em;
664 }
665
666 table.ssdiff {
667 width: 100%;
668 }
669
670 table.ssdiff td {
671 font-size: 75%;
672 font-family: monospace;
673 white-space: pre;
674 padding: 1px 4px 1px 4px;
675 border-left: solid 1px #aaa;
676 border-right: solid 1px #aaa;
677 }
678
679 table.ssdiff td.add {
680 color: black;
681 background: #cfc;
682 min-width: 50%;
683 }
684
685 table.ssdiff td.add_dark {
686 color: black;
687 background: #aca;
688 min-width: 50%;
689 }
690
691 table.ssdiff span.add {
692 background: #cfc;
693 font-weight: bold;
694 }
695
696 table.ssdiff td.del {
697 color: black;
698 background: #fcc;
699 min-width: 50%;
700 }
701
702 table.ssdiff td.del_dark {
703 color: black;
704 background: #caa;
705 min-width: 50%;
706 }
707
708 table.ssdiff span.del {
709 background: #fcc;
710 font-weight: bold;
711 }
712
713 table.ssdiff td.changed {
714 color: black;
715 background: #ffc;
716 min-width: 50%;
717 }
718
719 table.ssdiff td.changed_dark {
720 color: black;
721 background: #cca;
722 min-width: 50%;
723 }
724
725 table.ssdiff td.lineno {
726 color: black;
727 background: #eee;
728 text-align: right;
729 width: 3em;
730 min-width: 3em;
731 }
732
733 table.ssdiff td.hunk {
734 color: #black;
735 background: #ccf;
736 border-top: solid 1px #aaa;
737 border-bottom: solid 1px #aaa;
738 }
739
740 table.ssdiff td.head {
741 border-top: solid 1px #aaa;
742 border-bottom: solid 1px #aaa;
743 }
744
745 table.ssdiff td.head div.head {
746 font-weight: bold;
747 color: black;
748 }
749
750 table.ssdiff td.foot {
751 border-top: solid 1px #aaa;
752 border-left: none;
753 border-right: none;
754 border-bottom: none;
755 }
756
757 table.ssdiff td.space {
758 border: none;
759 }
760
761 table.ssdiff td.space div {
762 min-height: 3em;
763 }
764
765 /* Syntax highlighting */
766 table.blob .num { color:#2928ff; }
767 table.blob .esc { color:#ff00ff; }
768 table.blob .str { color:#ff0000; }
769 table.blob .dstr { color:#818100; }
770 table.blob .slc { color:#838183; font-style:italic; }
771 table.blob .com { color:#838183; font-style:italic; }
772 table.blob .dir { color:#008200; }
773 table.blob .sym { color:#000000; }
774 table.blob .kwa { color:#000000; font-weight:bold; }
775 table.blob .kwb { color:#830000; }
776 table.blob .kwc { color:#000000; font-weight:bold; }
777 table.blob .kwd { color:#010181; }