all repos — cgit @ 79c985e13c10b498c3ea62f4607c2e2a460c3b10

a hyperfast web frontend for git written in c

cgit.css (view raw)

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