all repos — cgit @ e9cbdf64632fbe64d6b0c4974ac947ef954938e7

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:hover {
138	background: #eee;
139}
140
141div#cgit table.list tr.nohover:hover {
142	background: white;
143}
144
145div#cgit table.list th {
146	font-weight: bold;
147	/* color: #888;
148	border-top: dashed 1px #888;
149	border-bottom: dashed 1px #888;
150	*/
151	padding: 0.1em 0.5em 0.05em 0.5em;
152	vertical-align: baseline;
153}
154
155div#cgit table.list td {
156	border: none;
157	padding: 0.1em 0.5em 0.1em 0.5em;
158}
159
160div#cgit table.list td.commitgraph {
161	font-family: monospace;
162	white-space: pre;
163}
164
165div#cgit table.list td.commitgraph .column1 {
166	color: #a00;
167}
168
169div#cgit table.list td.commitgraph .column2 {
170	color: #0a0;
171}
172
173div#cgit table.list td.commitgraph .column3 {
174	color: #aa0;
175}
176
177div#cgit table.list td.commitgraph .column4 {
178	color: #00a;
179}
180
181div#cgit table.list td.commitgraph .column5 {
182	color: #a0a;
183}
184
185div#cgit table.list td.commitgraph .column6 {
186	color: #0aa;
187}
188
189div#cgit table.list td.logsubject {
190	font-family: monospace;
191	font-weight: bold;
192}
193
194div#cgit table.list td.logmsg {
195	font-family: monospace;
196	white-space: pre;
197	padding: 0 0.5em;
198}
199
200div#cgit table.list td a {
201	color: black;
202}
203
204div#cgit table.list td a.ls-dir {
205	font-weight: bold;
206	color: #00f;
207}
208
209div#cgit table.list td a:hover {
210	color: #00f;
211}
212
213div#cgit img {
214	border: none;
215}
216
217div#cgit input#switch-btn {
218	margin: 2px 0px 0px 0px;
219}
220
221div#cgit td#sidebar input.txt {
222	width: 100%;
223	margin: 2px 0px 0px 0px;
224}
225
226div#cgit table#grid {
227	margin: 0px;
228}
229
230div#cgit td#content {
231	vertical-align: top;
232	padding: 1em 2em 1em 1em;
233	border: none;
234}
235
236div#cgit div#summary {
237	vertical-align: top;
238	margin-bottom: 1em;
239}
240
241div#cgit table#downloads {
242	float: right;
243	border-collapse: collapse;
244	border: solid 1px #777;
245	margin-left: 0.5em;
246	margin-bottom: 0.5em;
247}
248
249div#cgit table#downloads th {
250	background-color: #ccc;
251}
252
253div#cgit div#blob {
254	border: solid 1px black;
255}
256
257div#cgit div.error {
258	color: red;
259	font-weight: bold;
260	margin: 1em 2em;
261}
262
263div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
264	font-family: monospace;
265}
266
267div#cgit td.ls-size {
268	text-align: right;
269	font-family: monospace;
270	width: 10em;
271}
272
273div#cgit td.ls-mode {
274	font-family: monospace;
275	width: 10em;
276}
277
278div#cgit table.blob {
279	margin-top: 0.5em;
280	border-top: solid 1px black;
281}
282
283div#cgit table.blob td.lines {
284	margin: 0; padding: 0 0 0 0.5em;
285	vertical-align: top;
286	color: black;
287}
288
289div#cgit table.blob td.linenumbers {
290	margin: 0; padding: 0 0.5em 0 0.5em;
291	vertical-align: top;
292	text-align: right;
293	border-right: 1px solid gray;
294}
295
296div#cgit table.blob pre {
297	padding: 0; margin: 0;
298}
299
300div#cgit table.blob td.linenumbers a,
301div#cgit table.ssdiff td.lineno a {
302	color: gray;
303	text-align: right;
304	text-decoration: none;
305}
306
307div#cgit table.blob td.linenumbers a:hover,
308div#cgit table.ssdiff td.lineno a:hover {
309	color: black;
310}
311
312div#cgit table.bin-blob {
313	margin-top: 0.5em;
314	border: solid 1px black;
315}
316
317div#cgit table.bin-blob th {
318	font-family: monospace;
319	white-space: pre;
320	border: solid 1px #777;
321	padding: 0.5em 1em;
322}
323
324div#cgit table.bin-blob td {
325	font-family: monospace;
326	white-space: pre;
327	border-left: solid 1px #777;
328	padding: 0em 1em;
329}
330
331div#cgit table.nowrap td {
332	white-space: nowrap;
333}
334
335div#cgit table.commit-info {
336	border-collapse: collapse;
337	margin-top: 1.5em;
338}
339
340div#cgit div.cgit-panel {
341	float: right;
342	margin-top: 1.5em;
343}
344
345div#cgit div.cgit-panel table {
346	border-collapse: collapse;
347	border: solid 1px #aaa;
348	background-color: #eee;
349}
350
351div#cgit div.cgit-panel th {
352	text-align: center;
353}
354
355div#cgit div.cgit-panel td {
356	padding: 0.25em 0.5em;
357}
358
359div#cgit div.cgit-panel td.label {
360	padding-right: 0.5em;
361}
362
363div#cgit div.cgit-panel td.ctrl {
364	padding-left: 0.5em;
365}
366
367div#cgit table.commit-info th {
368	text-align: left;
369	font-weight: normal;
370	padding: 0.1em 1em 0.1em 0.1em;
371	vertical-align: top;
372}
373
374div#cgit table.commit-info td {
375	font-weight: normal;
376	padding: 0.1em 1em 0.1em 0.1em;
377}
378
379div#cgit div.commit-subject {
380	font-weight: bold;
381	font-size: 125%;
382	margin: 1.5em 0em 0.5em 0em;
383	padding: 0em;
384}
385
386div#cgit div.commit-msg {
387	white-space: pre;
388	font-family: monospace;
389}
390
391div#cgit div.notes-header {
392	font-weight: bold;
393	padding-top: 1.5em;
394}
395
396div#cgit div.notes {
397	white-space: pre;
398	font-family: monospace;
399	border: solid 1px #ee9;
400	background-color: #ffd;
401	padding: 0.3em 2em 0.3em 1em;
402	float: left;
403}
404
405div#cgit div.notes-footer {
406	clear: left;
407}
408
409div#cgit div.diffstat-header {
410	font-weight: bold;
411	padding-top: 1.5em;
412}
413
414div#cgit table.diffstat {
415	border-collapse: collapse;
416	border: solid 1px #aaa;
417	background-color: #eee;
418}
419
420div#cgit table.diffstat th {
421	font-weight: normal;
422	text-align: left;
423	text-decoration: underline;
424	padding: 0.1em 1em 0.1em 0.1em;
425	font-size: 100%;
426}
427
428div#cgit table.diffstat td {
429	padding: 0.2em 0.2em 0.1em 0.1em;
430	font-size: 100%;
431	border: none;
432}
433
434div#cgit table.diffstat td.mode {
435	white-space: nowrap;
436}
437
438div#cgit table.diffstat td span.modechange {
439	padding-left: 1em;
440	color: red;
441}
442
443div#cgit table.diffstat td.add a {
444	color: green;
445}
446
447div#cgit table.diffstat td.del a {
448	color: red;
449}
450
451div#cgit table.diffstat td.upd a {
452	color: blue;
453}
454
455div#cgit table.diffstat td.graph {
456	width: 500px;
457	vertical-align: middle;
458}
459
460div#cgit table.diffstat td.graph table {
461	border: none;
462}
463
464div#cgit table.diffstat td.graph td {
465	padding: 0px;
466	border: 0px;
467	height: 7pt;
468}
469
470div#cgit table.diffstat td.graph td.add {
471	background-color: #5c5;
472}
473
474div#cgit table.diffstat td.graph td.rem {
475	background-color: #c55;
476}
477
478div#cgit div.diffstat-summary {
479	color: #888;
480	padding-top: 0.5em;
481}
482
483div#cgit table.diff {
484	width: 100%;
485}
486
487div#cgit table.diff td {
488	font-family: monospace;
489	white-space: pre;
490}
491
492div#cgit table.diff td div.head {
493	font-weight: bold;
494	margin-top: 1em;
495	color: black;
496}
497
498div#cgit table.diff td div.hunk {
499	color: #009;
500}
501
502div#cgit table.diff td div.add {
503	color: green;
504}
505
506div#cgit table.diff td div.del {
507	color: red;
508}
509
510div#cgit .sha1 {
511	font-family: monospace;
512	font-size: 90%;
513}
514
515div#cgit .left {
516	text-align: left;
517}
518
519div#cgit .right {
520	text-align: right;
521}
522
523div#cgit table.list td.reposection {
524	font-style: italic;
525	color: #888;
526}
527
528div#cgit a.button {
529	font-size: 80%;
530	padding: 0em 0.5em;
531}
532
533div#cgit a.primary {
534	font-size: 100%;
535}
536
537div#cgit a.secondary {
538	font-size: 90%;
539}
540
541div#cgit td.toplevel-repo {
542
543}
544
545div#cgit table.list td.sublevel-repo {
546	padding-left: 1.5em;
547}
548
549div#cgit ul.pager {
550	list-style-type: none;
551	text-align: center;
552	margin: 1em 0em 0em 0em;
553	padding: 0;
554}
555
556div#cgit ul.pager li {
557	display: inline-block;
558	margin: 0.25em 0.5em;
559}
560
561div#cgit ul.pager a {
562	color: #777;
563}
564
565div#cgit ul.pager .current {
566	font-weight: bold;
567}
568
569div#cgit span.age-mins {
570	font-weight: bold;
571	color: #080;
572}
573
574div#cgit span.age-hours {
575	color: #080;
576}
577
578div#cgit span.age-days {
579	color: #040;
580}
581
582div#cgit span.age-weeks {
583	color: #444;
584}
585
586div#cgit span.age-months {
587	color: #888;
588}
589
590div#cgit span.age-years {
591	color: #bbb;
592}
593div#cgit div.footer {
594	margin-top: 0.5em;
595	text-align: center;
596	font-size: 80%;
597	color: #ccc;
598}
599div#cgit div.footer a {
600	color: #ccc;
601	text-decoration: none;
602}
603div#cgit div.footer a:hover {
604	text-decoration: underline;
605}
606div#cgit a.branch-deco {
607	color: #000;
608	margin: 0px 0.5em;
609	padding: 0px 0.25em;
610	background-color: #88ff88;
611	border: solid 1px #007700;
612}
613div#cgit a.tag-deco {
614	color: #000;
615	margin: 0px 0.5em;
616	padding: 0px 0.25em;
617	background-color: #ffff88;
618	border: solid 1px #777700;
619}
620div#cgit a.remote-deco {
621	color: #000;
622	margin: 0px 0.5em;
623	padding: 0px 0.25em;
624	background-color: #ccccff;
625	border: solid 1px #000077;
626}
627div#cgit a.deco {
628	color: #000;
629	margin: 0px 0.5em;
630	padding: 0px 0.25em;
631	background-color: #ff8888;
632	border: solid 1px #770000;
633}
634
635div#cgit div.commit-subject a.branch-deco,
636div#cgit div.commit-subject a.tag-deco,
637div#cgit div.commit-subject a.remote-deco,
638div#cgit div.commit-subject a.deco {
639	margin-left: 1em;
640	font-size: 75%;
641}
642
643div#cgit table.stats {
644	border: solid 1px black;
645	border-collapse: collapse;
646}
647
648div#cgit table.stats th {
649	text-align: left;
650	padding: 1px 0.5em;
651	background-color: #eee;
652	border: solid 1px black;
653}
654
655div#cgit table.stats td {
656	text-align: right;
657	padding: 1px 0.5em;
658	border: solid 1px black;
659}
660
661div#cgit table.stats td.total {
662	font-weight: bold;
663	text-align: left;
664}
665
666div#cgit table.stats td.sum {
667	color: #c00;
668	font-weight: bold;
669/*	background-color: #eee; */
670}
671
672div#cgit table.stats td.left {
673	text-align: left;
674}
675
676div#cgit table.vgraph {
677	border-collapse: separate;
678	border: solid 1px black;
679	height: 200px;
680}
681
682div#cgit table.vgraph th {
683	background-color: #eee;
684	font-weight: bold;
685	border: solid 1px white;
686	padding: 1px 0.5em;
687}
688
689div#cgit table.vgraph td {
690	vertical-align: bottom;
691	padding: 0px 10px;
692}
693
694div#cgit table.vgraph div.bar {
695	background-color: #eee;
696}
697
698div#cgit table.hgraph {
699	border: solid 1px black;
700	width: 800px;
701}
702
703div#cgit table.hgraph th {
704	background-color: #eee;
705	font-weight: bold;
706	border: solid 1px black;
707	padding: 1px 0.5em;
708}
709
710div#cgit table.hgraph td {
711	vertical-align: middle;
712	padding: 2px 2px;
713}
714
715div#cgit table.hgraph div.bar {
716	background-color: #eee;
717	height: 1em;
718}
719
720div#cgit table.ssdiff {
721	width: 100%;
722}
723
724div#cgit table.ssdiff td {
725	font-size: 75%;
726	font-family: monospace;
727	white-space: pre;
728	padding: 1px 4px 1px 4px;
729	border-left: solid 1px #aaa;
730	border-right: solid 1px #aaa;
731}
732
733div#cgit table.ssdiff td.add {
734	color: black;
735	background: #cfc;
736	min-width: 50%;
737}
738
739div#cgit table.ssdiff td.add_dark {
740	color: black;
741	background: #aca;
742	min-width: 50%;
743}
744
745div#cgit table.ssdiff span.add {
746	background: #cfc;
747	font-weight: bold;
748}
749
750div#cgit table.ssdiff td.del {
751	color: black;
752	background: #fcc;
753	min-width: 50%;
754}
755
756div#cgit table.ssdiff td.del_dark {
757	color: black;
758	background: #caa;
759	min-width: 50%;
760}
761
762div#cgit table.ssdiff span.del {
763	background: #fcc;
764	font-weight: bold;
765}
766
767div#cgit table.ssdiff td.changed {
768	color: black;
769	background: #ffc;
770	min-width: 50%;
771}
772
773div#cgit table.ssdiff td.changed_dark {
774	color: black;
775	background: #cca;
776	min-width: 50%;
777}
778
779div#cgit table.ssdiff td.lineno {
780	color: black;
781	background: #eee;
782	text-align: right;
783	width: 3em;
784	min-width: 3em;
785}
786
787div#cgit table.ssdiff td.hunk {
788	color: black;
789	background: #ccf;
790	border-top: solid 1px #aaa;
791	border-bottom: solid 1px #aaa;
792}
793
794div#cgit table.ssdiff td.head {
795	border-top: solid 1px #aaa;
796	border-bottom: solid 1px #aaa;
797}
798
799div#cgit table.ssdiff td.head div.head {
800	font-weight: bold;
801	color: black;
802}
803
804div#cgit table.ssdiff td.foot {
805	border-top: solid 1px #aaa;
806	border-left: none;
807	border-right: none;
808	border-bottom: none;
809}
810
811div#cgit table.ssdiff td.space {
812	border: none;
813}
814
815div#cgit table.ssdiff td.space div {
816	min-height: 3em;
817}