all repos — cgit @ 059b39344fdcde324dff1099fc4b70c7aab12a96

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