all repos — cgit @ 1a9e56607eae2df2f4522b41294d94cb09fc4e5c

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