all repos — cgit @ e5223c7283878d887d4e67937b7f89f9bf8ba0a1

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