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