all repos — cgit @ d889cae811f27a052317ac5aea23890cba414760

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