all repos — cgit @ 24fd7e54c82294efa68ecae5dd9cb8a8986c04bf

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