all repos — cgit @ 6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9

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