all repos — cgit @ 6c5d4fefac1364a38686133862d5a128ec0fb944

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