]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
Merge branch 'lh/macros'
[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: 1em 0.5em 2em 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.diffstat-header {
330 font-weight: bold;
331 padding-top: 1.5em;
332 }
333
334 table.diffstat {
335 border-collapse: collapse;
336 border: solid 1px #aaa;
337 background-color: #eee;
338 }
339
340 table.diffstat th {
341 font-weight: normal;
342 text-align: left;
343 text-decoration: underline;
344 padding: 0.1em 1em 0.1em 0.1em;
345 font-size: 100%;
346 }
347
348 table.diffstat td {
349 padding: 0.2em 0.2em 0.1em 0.1em;
350 font-size: 100%;
351 border: none;
352 }
353
354 table.diffstat td.mode {
355 white-space: nowrap;
356 }
357
358 table.diffstat td span.modechange {
359 padding-left: 1em;
360 color: red;
361 }
362
363 table.diffstat td.add a {
364 color: green;
365 }
366
367 table.diffstat td.del a {
368 color: red;
369 }
370
371 table.diffstat td.upd a {
372 color: blue;
373 }
374
375 table.diffstat td.graph {
376 width: 500px;
377 vertical-align: middle;
378 }
379
380 table.diffstat td.graph table {
381 border: none;
382 }
383
384 table.diffstat td.graph td {
385 padding: 0px;
386 border: 0px;
387 height: 7pt;
388 }
389
390 table.diffstat td.graph td.add {
391 background-color: #5c5;
392 }
393
394 table.diffstat td.graph td.rem {
395 background-color: #c55;
396 }
397
398 div.diffstat-summary {
399 color: #888;
400 padding-top: 0.5em;
401 }
402
403 table.diff {
404 width: 100%;
405 }
406
407 table.diff td {
408 font-family: monospace;
409 white-space: pre;
410 }
411
412 table.diff td div.head {
413 font-weight: bold;
414 margin-top: 1em;
415 color: black;
416 }
417
418 table.diff td div.hunk {
419 color: #009;
420 }
421
422 table.diff td div.add {
423 color: green;
424 }
425
426 table.diff td div.del {
427 color: red;
428 }
429
430 .sha1 {
431 font-family: monospace;
432 font-size: 90%;
433 }
434
435 .left {
436 text-align: left;
437 }
438
439 .right {
440 text-align: right;
441 }
442
443 table.list td.reposection {
444 font-style: italic;
445 color: #888;
446 }
447
448 a.button {
449 font-size: 80%;
450 padding: 0em 0.5em;
451 }
452
453 a.primary {
454 font-size: 100%;
455 }
456
457 a.secondary {
458 font-size: 90%;
459 }
460
461 td.toplevel-repo {
462
463 }
464
465 table.list td.sublevel-repo {
466 padding-left: 1.5em;
467 }
468
469 div.pager {
470 text-align: center;
471 margin: 1em 0em 0em 0em;
472 }
473
474 div.pager a {
475 color: #777;
476 margin: 0em 0.5em;
477 }
478
479 span.age-mins {
480 font-weight: bold;
481 color: #080;
482 }
483
484 span.age-hours {
485 color: #080;
486 }
487
488 span.age-days {
489 color: #040;
490 }
491
492 span.age-weeks {
493 color: #444;
494 }
495
496 span.age-months {
497 color: #888;
498 }
499
500 span.age-years {
501 color: #bbb;
502 }
503 div.footer {
504 margin-top: 0.5em;
505 text-align: center;
506 font-size: 80%;
507 color: #ccc;
508 }
509 a.branch-deco {
510 margin: 0px 0.5em;
511 padding: 0px 0.25em;
512 background-color: #88ff88;
513 border: solid 1px #007700;
514 }
515 a.tag-deco {
516 margin: 0px 0.5em;
517 padding: 0px 0.25em;
518 background-color: #ffff88;
519 border: solid 1px #777700;
520 }
521 a.remote-deco {
522 margin: 0px 0.5em;
523 padding: 0px 0.25em;
524 background-color: #ccccff;
525 border: solid 1px #000077;
526 }
527 a.deco {
528 margin: 0px 0.5em;
529 padding: 0px 0.25em;
530 background-color: #ff8888;
531 border: solid 1px #770000;
532 }
533
534 div.commit-subject a.branch-deco,
535 div.commit-subject a.tag-deco,
536 div.commit-subject a.remote-deco,
537 div.commit-subject a.deco {
538 margin-left: 1em;
539 font-size: 75%;
540 }
541
542 table.stats {
543 border: solid 1px black;
544 border-collapse: collapse;
545 }
546
547 table.stats th {
548 text-align: left;
549 padding: 1px 0.5em;
550 background-color: #eee;
551 border: solid 1px black;
552 }
553
554 table.stats td {
555 text-align: right;
556 padding: 1px 0.5em;
557 border: solid 1px black;
558 }
559
560 table.stats td.total {
561 font-weight: bold;
562 text-align: left;
563 }
564
565 table.stats td.sum {
566 color: #c00;
567 font-weight: bold;
568 /* background-color: #eee; */
569 }
570
571 table.stats td.left {
572 text-align: left;
573 }
574
575 table.vgraph {
576 border-collapse: separate;
577 border: solid 1px black;
578 height: 200px;
579 }
580
581 table.vgraph th {
582 background-color: #eee;
583 font-weight: bold;
584 border: solid 1px white;
585 padding: 1px 0.5em;
586 }
587
588 table.vgraph td {
589 vertical-align: bottom;
590 padding: 0px 10px;
591 }
592
593 table.vgraph div.bar {
594 background-color: #eee;
595 }
596
597 table.hgraph {
598 border: solid 1px black;
599 width: 800px;
600 }
601
602 table.hgraph th {
603 background-color: #eee;
604 font-weight: bold;
605 border: solid 1px black;
606 padding: 1px 0.5em;
607 }
608
609 table.hgraph td {
610 vertical-align: center;
611 padding: 2px 2px;
612 }
613
614 table.hgraph div.bar {
615 background-color: #eee;
616 height: 1em;
617 }
618
619 table.ssdiff {
620 width: 100%;
621 }
622
623 table.ssdiff td {
624 font-size: 75%;
625 font-family: monospace;
626 white-space: pre;
627 padding: 1px 4px 1px 4px;
628 border-left: solid 1px #aaa;
629 border-right: solid 1px #aaa;
630 }
631
632 table.ssdiff td.add {
633 color: black;
634 background: #cfc;
635 min-width: 50%;
636 }
637
638 table.ssdiff td.add_dark {
639 color: black;
640 background: #aca;
641 min-width: 50%;
642 }
643
644 table.ssdiff span.add {
645 background: #cfc;
646 font-weight: bold;
647 }
648
649 table.ssdiff td.del {
650 color: black;
651 background: #fcc;
652 min-width: 50%;
653 }
654
655 table.ssdiff td.del_dark {
656 color: black;
657 background: #caa;
658 min-width: 50%;
659 }
660
661 table.ssdiff span.del {
662 background: #fcc;
663 font-weight: bold;
664 }
665
666 table.ssdiff td.changed {
667 color: black;
668 background: #ffc;
669 min-width: 50%;
670 }
671
672 table.ssdiff td.changed_dark {
673 color: black;
674 background: #cca;
675 min-width: 50%;
676 }
677
678 table.ssdiff td.lineno {
679 color: black;
680 background: #eee;
681 text-align: right;
682 width: 3em;
683 min-width: 3em;
684 }
685
686 table.ssdiff td.hunk {
687 color: #black;
688 background: #ccf;
689 border-top: solid 1px #aaa;
690 border-bottom: solid 1px #aaa;
691 }
692
693 table.ssdiff td.head {
694 border-top: solid 1px #aaa;
695 border-bottom: solid 1px #aaa;
696 }
697
698 table.ssdiff td.head div.head {
699 font-weight: bold;
700 color: black;
701 }
702
703 table.ssdiff td.foot {
704 border-top: solid 1px #aaa;
705 border-left: none;
706 border-right: none;
707 border-bottom: none;
708 }
709
710 table.ssdiff td.space {
711 border: none;
712 }
713
714 table.ssdiff td.space div {
715 min-height: 3em;
716 }