all repos — cgit @ ad8816666b1bac1eb9fb5bf757335283da16e4d4

a hyperfast web frontend for git written in c

cgit.css (view raw)

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