all repos — cgit @ 81b5fdedf5da305954ea271a6d14ca996756553b

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: 1em;
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.25em;
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    width:100%;
251	border: none;
252}
253
254div#cgit input#switch-btn {
255	margin: 2px 0px 0px 0px;
256}
257
258div#cgit td#sidebar input.txt {
259	width: 100%;
260	margin: 2px 0px 0px 0px;
261}
262
263div#cgit table#grid {
264	margin: 0px;
265}
266
267div#cgit td#content {
268	vertical-align: top;
269	padding: 1em 2em 1em 1em;
270	border: none;
271}
272
273div#cgit div#summary {
274	vertical-align: top;
275	margin-bottom: 1em;
276}
277
278div#cgit div#summary p code {
279    background: #ffffff;
280    padding: 0.3em;
281    border-radius: 0.5em;
282}
283
284div#cgit div#summary pre {
285    background: #ffffff;
286    padding: 0.5em;
287    border-radius: 1em;
288}
289
290div#cgit table#downloads {
291	float: right;
292	border-collapse: collapse;
293	border: solid 1px #777;
294	margin-left: 0.5em;
295	margin-bottom: 0.5em;
296}
297
298div#cgit table#downloads th {
299	background-color: #c4c4c4;
300}
301
302div#cgit div#blob {
303	border: solid 1px #070707;
304}
305
306div#cgit div.error {
307	color: red;
308	font-weight: bold;
309	margin: 1em 2em;
310}
311
312div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
313	font-family: monospace;
314}
315
316div#cgit td.ls-size {
317	text-align: right;
318	font-family: monospace;
319	width: 10em;
320}
321
322div#cgit td.ls-mode {
323	font-family: monospace;
324	width: 10em;
325}
326
327div#cgit table.blob {
328	margin-top: 0.5em;
329	border-top: solid 1px #070707;
330}
331
332div#cgit table.blob td.hashes,
333div#cgit table.blob td.lines {
334	margin: 0; padding: 0 0 0 0.5em;
335	vertical-align: top;
336	color: #070707;
337}
338
339div#cgit table.blob td.linenumbers {
340	margin: 0; padding: 0 0.5em 0 0.5em;
341	vertical-align: top;
342	text-align: right;
343	border-right: 1px solid gray;
344}
345
346div#cgit table.blob pre {
347	padding: 0; margin: 0;
348}
349
350div#cgit table.blob td.linenumbers a,
351div#cgit table.ssdiff td.lineno a {
352	color: gray;
353	text-align: right;
354	text-decoration: none;
355}
356
357div#cgit table.blob td.linenumbers a:hover,
358div#cgit table.ssdiff td.lineno a:hover {
359	color: #070707;
360}
361
362div#cgit table.blame td.hashes,
363div#cgit table.blame td.lines,
364div#cgit table.blame td.linenumbers {
365	padding: 0;
366}
367
368div#cgit table.blame td.hashes div.alt,
369div#cgit table.blame td.lines div.alt {
370	padding: 0 0.5em 0 0.5em;
371}
372
373div#cgit table.blame td.linenumbers div.alt {
374	padding: 0 0.5em 0 0;
375}
376
377div#cgit table.blame div.alt:nth-child(even) {
378	background: #e1e1e1;
379}
380
381div#cgit table.blame div.alt:nth-child(odd) {
382	background: #f0f0f0;
383}
384
385div#cgit table.blame td.lines > div {
386	position: relative;
387}
388
389div#cgit table.blame td.lines > div > pre {
390	padding: 0 0 0 0.5em;
391	position: absolute;
392	top: 0;
393}
394
395div#cgit table.bin-blob {
396	margin-top: 0.5em;
397	border: solid 1px #070707;
398}
399
400div#cgit table.bin-blob th {
401	font-family: monospace;
402	white-space: pre;
403	border: solid 1px #777;
404	padding: 0.5em 1em;
405}
406
407div#cgit table.bin-blob td {
408	font-family: monospace;
409	white-space: pre;
410	border-left: solid 1px #777;
411	padding: 0em 1em;
412}
413
414div#cgit table.commit-info {
415	border-collapse: collapse;
416	margin-top: 1.5em;
417}
418
419div#cgit div.cgit-panel {
420	float: right;
421	margin-top: 1.5em;
422}
423
424div#cgit div.cgit-panel table {
425	border-collapse: collapse;
426	border: solid 1px #aaa;
427	background-color: #e1e1e1;
428}
429
430div#cgit div.cgit-panel th {
431	text-align: center;
432}
433
434div#cgit div.cgit-panel td {
435	padding: 0.25em 0.5em;
436}
437
438div#cgit div.cgit-panel td.label {
439	padding-right: 0.5em;
440}
441
442div#cgit div.cgit-panel td.ctrl {
443	padding-left: 0.5em;
444}
445
446div#cgit table.commit-info th {
447	text-align: left;
448	font-weight: normal;
449	padding: 0.1em 1em 0.1em 0.1em;
450	vertical-align: top;
451}
452
453div#cgit table.commit-info td {
454	font-weight: normal;
455	padding: 0.1em 1em 0.1em 0.1em;
456}
457
458div#cgit div.commit-subject {
459	font-weight: bold;
460	font-size: 125%;
461	margin: 1.5em 0em 0.5em 0em;
462	padding: 0em;
463}
464
465div#cgit div.commit-msg {
466	white-space: pre;
467	font-family: monospace;
468}
469
470div#cgit div.notes-header {
471	font-weight: bold;
472	padding-top: 1.5em;
473}
474
475div#cgit div.notes {
476	white-space: pre;
477	font-family: monospace;
478	border: solid 1px #ee9;
479	background-color: #ffd;
480	padding: 0.3em 2em 0.3em 1em;
481	float: left;
482}
483
484div#cgit div.notes-footer {
485	clear: left;
486}
487
488div#cgit div.diffstat-header {
489	font-weight: bold;
490	padding-top: 1.5em;
491}
492
493div#cgit table.diffstat {
494	border-collapse: collapse;
495}
496
497div#cgit table.diffstat th {
498	font-weight: normal;
499	text-align: left;
500	text-decoration: underline;
501	padding: 0.1em 1em 0.1em 0.1em;
502	font-size: 100%;
503}
504
505div#cgit table.diffstat td {
506	padding: 0.2em 0.2em 0.1em 0.1em;
507	font-size: 100%;
508	border: none;
509}
510
511div#cgit table.diffstat td.mode {
512	white-space: nowrap;
513}
514
515div#cgit table.diffstat td span.modechange {
516	padding-left: 1em;
517	color: red;
518}
519
520div#cgit table.diffstat td.add a {
521	color: #2eba41;
522}
523
524div#cgit table.diffstat td.del a {
525	color: #e69a9a;
526}
527
528div#cgit table.diffstat td.upd a {
529	color: #397eaf;
530}
531
532div#cgit table.diffstat td.graph {
533	width: 500px;
534	vertical-align: middle;
535}
536
537div#cgit table.diffstat td.graph table {
538	border: none;
539}
540
541div#cgit table.diffstat td.graph td {
542	padding: 0 5px;
543	border: 0px;
544	height: 7pt;
545}
546
547div#cgit table.diffstat td.graph td.add {
548	background-color: #9ae6a5;
549    border-top-left-radius: 10px;
550    border-bottom-left-radius: 10px;
551}
552
553div#cgit table.diffstat td.graph td.rem {
554	background-color: #e69a9a;
555    border-top-right-radius: 10px;
556    border-bottom-right-radius: 10px;
557}
558
559div#cgit div.diffstat-summary {
560	color: #888;
561	padding-top: 0.5em;
562}
563
564div#cgit table.diff {
565	width: 100%;
566}
567
568div#cgit table.diff td {
569	font-family: monospace;
570	white-space: pre;
571}
572
573div#cgit table.diff td div.head {
574	font-weight: bold;
575	margin-top: 1em;
576	color: #070707;
577}
578
579div#cgit table.diff td div.hunk {
580	color: #009;
581}
582
583div#cgit table.diff td div.add {
584	color: green;
585}
586
587div#cgit table.diff td div.del {
588	color: red;
589}
590
591div#cgit .sha1 {
592	font-family: monospace;
593	font-size: 90%;
594}
595
596div#cgit .left {
597	text-align: left;
598}
599
600div#cgit .right {
601	text-align: right;
602}
603
604div#cgit table.list td.reposection {
605	font-style: italic;
606	color: #888;
607}
608
609div#cgit a.button {
610	font-size: 80%;
611	padding: 0em 0.5em;
612}
613
614div#cgit a.button:hover {
615	color: #7e7e7e;
616}
617
618div#cgit a.primary {
619	font-size: 100%;
620}
621
622div#cgit a.secondary {
623	font-size: 90%;
624}
625
626div#cgit td.toplevel-repo {
627
628}
629
630div#cgit table.list td.sublevel-repo {
631	padding-left: 1.5em;
632}
633
634div#cgit ul.pager {
635	list-style-type: none;
636	text-align: center;
637	margin: 1em 0em 0em 0em;
638	padding: 0;
639}
640
641div#cgit ul.pager li {
642	display: inline-block;
643	margin: 0.25em 0.5em;
644}
645
646div#cgit ul.pager a {
647	color: #777;
648}
649
650div#cgit ul.pager .current {
651	font-weight: bold;
652}
653
654div#cgit span.age-mins {
655	font-weight: bold;
656	color: #080;
657}
658
659div#cgit span.age-hours {
660	color: #080;
661}
662
663div#cgit span.age-days {
664	color: #040;
665}
666
667div#cgit span.age-weeks {
668	color: #444;
669}
670
671div#cgit span.age-months {
672	color: #888;
673}
674
675div#cgit span.age-years {
676	color: #bbb;
677}
678
679div#cgit span.insertions {
680	color: #080;
681}
682
683div#cgit span.deletions {
684	color: #800;
685}
686
687div#cgit div.footer {
688	margin-top: 0.5em;
689	text-align: center;
690	font-size: 80%;
691	color: #c4c4c4;
692}
693
694div#cgit div.footer a {
695	color: #c4c4c4;
696	text-decoration: none;
697}
698
699div#cgit div.footer a:hover {
700	text-decoration: underline;
701}
702
703div#cgit a.branch-deco {
704	color: #000;
705	margin: 0px 0.5em;
706	padding: 2px 0.25em;
707	background-color: #9ae6a5;
708	border-radius: 10px;
709}
710
711div#cgit a.tag-deco {
712	color: #000;
713	margin: 0px 0.5em;
714	padding: 2px 0.25em;
715	background-color: #ffff88;
716	border-radius: 10px;
717}
718
719div#cgit a.tag-annotated-deco {
720	color: #000;
721	margin: 0px 0.5em;
722	padding: 2px 0.25em;
723	background-color: #ffcc88;
724	border-radius: 10px;
725}
726
727div#cgit a.remote-deco {
728	color: #000;
729	margin: 0px 0.5em;
730	padding: 2px 0.25em;
731	background-color: #ccccff;
732	border-radius: 10px;
733}
734
735div#cgit a.deco {
736	color: #000;
737	margin: 0px 0.5em;
738	padding: 2px 0.25em;
739	background-color: #e69a9a;
740	border-radius: 10px;
741}
742
743div#cgit div.commit-subject a.branch-deco,
744div#cgit div.commit-subject a.tag-deco,
745div#cgit div.commit-subject a.tag-annotated-deco,
746div#cgit div.commit-subject a.remote-deco,
747div#cgit div.commit-subject a.deco {
748	margin-left: 1em;
749	font-size: 75%;
750	font-weight: normal;
751}
752
753div#cgit table.stats {
754	border-collapse: collapse;
755}
756
757div#cgit table.stats th {
758	text-align: right;
759	padding: 1px 0.5em;
760	background-color: #e1e1e1;
761}
762
763div#cgit table.stats th:nth-child(even) {
764	background-color: #d8d8d8;
765}
766
767div#cgit table.stats th:nth-child(1) {
768	text-align: left;
769}
770
771div#cgit table.stats td {
772	text-align: right;
773	padding: 1px 0.5em;
774}
775
776div#cgit table.stats td.total {
777	font-weight: bold;
778	text-align: left;
779}
780
781div#cgit table.stats td.sum {
782	color: #397eaf;
783	font-weight: bold;
784/*	background-color: #e1e1e1; */
785}
786
787div#cgit table.stats td.left {
788	text-align: left;
789}
790
791div#cgit table.vgraph {
792	border-collapse: separate;
793	border: solid 1px #070707;
794	height: 200px;
795}
796
797div#cgit table.vgraph th {
798	background-color: #e1e1e1;
799	font-weight: bold;
800	border: solid 1px #f0f0f0;
801	padding: 1px 0.5em;
802}
803
804div#cgit table.vgraph td {
805	vertical-align: bottom;
806	padding: 0px 10px;
807}
808
809div#cgit table.vgraph div.bar {
810	background-color: #e1e1e1;
811}
812
813div#cgit table.hgraph {
814	border: solid 1px #070707;
815	width: 800px;
816}
817
818div#cgit table.hgraph th {
819	background-color: #e1e1e1;
820	font-weight: bold;
821	border: solid 1px #070707;
822	padding: 1px 0.5em;
823}
824
825div#cgit table.hgraph td {
826	vertical-align: middle;
827	padding: 2px 2px;
828}
829
830div#cgit table.hgraph div.bar {
831	background-color: #e1e1e1;
832	height: 1em;
833}
834
835div#cgit table.ssdiff {
836	max-width: max-content;
837	font-size: 110%;
838	border: none;
839}
840
841div#cgit table.ssdiff td {
842	font-size: 100%;
843	font-family: monospace;
844	padding: 1px 4px 1px 4px;
845	border-left: solid 1px #aaa;
846	border-right: solid 1px #aaa;
847}
848
849div#cgit table.ssdiff td.add {
850	color: #070707;
851	background: #cfc;
852	min-width: 50%;
853}
854
855div#cgit table.ssdiff td.add_dark {
856	color: #070707;
857	background: #aca;
858	min-width: 50%;
859}
860
861div#cgit table.ssdiff span.add {
862	background: #cfc;
863	font-weight: bold;
864}
865
866div#cgit table.ssdiff td.del {
867	color: #070707;
868	background: #fcc;
869	min-width: 50%;
870}
871
872div#cgit table.ssdiff td.del_dark {
873	color: #070707;
874	background: #caa;
875	min-width: 50%;
876}
877
878div#cgit table.ssdiff span.del {
879	background: #fcc;
880	font-weight: bold;
881}
882
883div#cgit table.ssdiff td.changed {
884	color: #070707;
885	background: #e1e1e1;
886	min-width: 50%;
887}
888
889div#cgit table.ssdiff td.changed_dark {
890	color: #070707;
891	background: #c4c4c4;
892	min-width: 50%;
893}
894
895div#cgit table.ssdiff td.lineno {
896	color: #070707;
897	background: #e1e1e1;
898	text-align: right;
899	width: 3em;
900	min-width: 3em;
901}
902
903div#cgit table.ssdiff td.hunk {
904	color: #070707;
905	background: #b7d3e2;
906	border-top: solid 1px #aaa;
907	border-bottom: solid 1px #aaa;
908}
909
910div#cgit table.ssdiff td.head {
911	border-top: solid 1px #aaa;
912	border-bottom: solid 1px #aaa;
913}
914
915div#cgit table.ssdiff td.head div.head {
916	font-weight: bold;
917	color: #070707;
918}
919
920div#cgit table.ssdiff td.foot {
921	border-top: solid 1px #aaa;
922	border-left: none;
923	border-right: none;
924	border-bottom: none;
925}
926
927div#cgit table.ssdiff td.space {
928	border: none;
929}
930
931div#cgit table.ssdiff td.space div {
932	min-height: 3em;
933}