all repos — cgit @ 49d09d4fd1b0cab8189cf1809a1b1241f54c2e48

a hyperfast web frontend for git written in c

cgit.css (view raw)

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