all repos — cgit @ 177e6c4167a0440fc29efceaf4061e0614f6dfbd

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