all repos — cgit @ 6180e6169d6e87a3bea7e4da835dca17f93e5cfd

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.diffstat-header {
330	font-weight: bold;
331	padding-top: 1.5em;
332}
333
334table.diffstat {
335	border-collapse: collapse;
336	border: solid 1px #aaa;
337	background-color: #eee;
338}
339
340table.diffstat th {
341	font-weight: normal;
342	text-align: left;
343	text-decoration: underline;
344	padding: 0.1em 1em 0.1em 0.1em;
345	font-size: 100%;
346}
347
348table.diffstat td {
349	padding: 0.2em 0.2em 0.1em 0.1em;
350	font-size: 100%;
351	border: none;
352}
353
354table.diffstat td.mode {
355	white-space: nowrap;
356}
357
358table.diffstat td span.modechange {
359	padding-left: 1em;
360	color: red;
361}
362
363table.diffstat td.add a {
364	color: green;
365}
366
367table.diffstat td.del a {
368	color: red;
369}
370
371table.diffstat td.upd a {
372	color: blue;
373}
374
375table.diffstat td.graph {
376	width: 500px;
377	vertical-align: middle;
378}
379
380table.diffstat td.graph table {
381	border: none;
382}
383
384table.diffstat td.graph td {
385	padding: 0px;
386	border: 0px;
387	height: 7pt;
388}
389
390table.diffstat td.graph td.add {
391	background-color: #5c5;
392}
393
394table.diffstat td.graph td.rem {
395	background-color: #c55;
396}
397
398div.diffstat-summary {
399	color: #888;
400	padding-top: 0.5em;
401}
402
403table.diff {
404	width: 100%;
405}
406
407table.diff td {
408	font-family: monospace;
409	white-space: pre;
410}
411
412table.diff td div.head {
413	font-weight: bold;
414	margin-top: 1em;
415	color: black;
416}
417
418table.diff td div.hunk {
419	color: #009;
420}
421
422table.diff td div.add {
423	color: green;
424}
425
426table.diff td div.del {
427	color: red;
428}
429
430.sha1 {
431	font-family: monospace;
432	font-size: 90%;
433}
434
435.left {
436	text-align: left;
437}
438
439.right {
440	text-align: right;
441}
442
443table.list td.reposection {
444	font-style: italic;
445	color: #888;
446}
447
448a.button {
449	font-size: 80%;
450	padding: 0em 0.5em;
451}
452
453a.primary {
454	font-size: 100%;
455}
456
457a.secondary {
458	font-size: 90%;
459}
460
461td.toplevel-repo {
462
463}
464
465table.list td.sublevel-repo {
466	padding-left: 1.5em;
467}
468
469div.pager {
470	text-align: center;
471	margin: 1em 0em 0em 0em;
472}
473
474div.pager a {
475	color: #777;
476	margin: 0em 0.5em;
477}
478
479span.age-mins {
480	font-weight: bold;
481	color: #080;
482}
483
484span.age-hours {
485	color: #080;
486}
487
488span.age-days {
489	color: #040;
490}
491
492span.age-weeks {
493	color: #444;
494}
495
496span.age-months {
497	color: #888;
498}
499
500span.age-years {
501	color: #bbb;
502}
503div.footer {
504	margin-top: 0.5em;
505	text-align: center;
506	font-size: 80%;
507	color: #ccc;
508}
509a.branch-deco {
510	margin: 0px 0.5em;
511	padding: 0px 0.25em;
512	background-color: #88ff88;
513	border: solid 1px #007700;
514}
515a.tag-deco {
516	margin: 0px 0.5em;
517	padding: 0px 0.25em;
518	background-color: #ffff88;
519	border: solid 1px #777700;
520}
521a.remote-deco {
522	margin: 0px 0.5em;
523	padding: 0px 0.25em;
524	background-color: #ccccff;
525	border: solid 1px #000077;
526}
527a.deco {
528	margin: 0px 0.5em;
529	padding: 0px 0.25em;
530	background-color: #ff8888;
531	border: solid 1px #770000;
532}
533
534div.commit-subject a {
535	margin-left: 1em;
536	font-size: 75%;
537}
538
539table.stats {
540	border: solid 1px black;
541	border-collapse: collapse;
542}
543
544table.stats th {
545	text-align: left;
546	padding: 1px 0.5em;
547	background-color: #eee;
548	border: solid 1px black;
549}
550
551table.stats td {
552	text-align: right;
553	padding: 1px 0.5em;
554	border: solid 1px black;
555}
556
557table.stats td.total {
558	font-weight: bold;
559	text-align: left;
560}
561
562table.stats td.sum {
563	color: #c00;
564	font-weight: bold;
565/*	background-color: #eee; */
566}
567
568table.stats td.left {
569	text-align: left;
570}
571
572table.vgraph {
573	border-collapse: separate;
574	border: solid 1px black;
575	height: 200px;
576}
577
578table.vgraph th {
579	background-color: #eee;
580	font-weight: bold;
581	border: solid 1px white;
582	padding: 1px 0.5em;
583}
584
585table.vgraph td {
586	vertical-align: bottom;
587	padding: 0px 10px;
588}
589
590table.vgraph div.bar {
591	background-color: #eee;
592}
593
594table.hgraph {
595	border: solid 1px black;
596	width: 800px;
597}
598
599table.hgraph th {
600	background-color: #eee;
601	font-weight: bold;
602	border: solid 1px black;
603	padding: 1px 0.5em;
604}
605
606table.hgraph td {
607	vertical-align: center;
608	padding: 2px 2px;
609}
610
611table.hgraph div.bar {
612	background-color: #eee;
613	height: 1em;
614}
615
616table.ssdiff {
617	width: 100%;
618}
619
620table.ssdiff td {
621	font-size: 75%;
622	font-family: monospace;
623	white-space: pre;
624	padding: 1px 4px 1px 4px;
625	border-left: solid 1px #aaa;
626	border-right: solid 1px #aaa;
627}
628
629table.ssdiff td.add {
630	color: black;
631	background: #cfc;
632	min-width: 50%;
633}
634
635table.ssdiff td.add_dark {
636	color: black;
637	background: #aca;
638	min-width: 50%;
639}
640
641table.ssdiff span.add {
642	background: #cfc;
643	font-weight: bold;
644}
645
646table.ssdiff td.del {
647	color: black;
648	background: #fcc;
649	min-width: 50%;
650}
651
652table.ssdiff td.del_dark {
653	color: black;
654	background: #caa;
655	min-width: 50%;
656}
657
658table.ssdiff span.del {
659	background: #fcc;
660	font-weight: bold;
661}
662
663table.ssdiff td.changed {
664	color: black;
665	background: #ffc;
666	min-width: 50%;
667}
668
669table.ssdiff td.changed_dark {
670	color: black;
671	background: #cca;
672	min-width: 50%;
673}
674
675table.ssdiff td.lineno {
676	color: black;
677	background: #eee;
678	text-align: right;
679	width: 3em;
680	min-width: 3em;
681}
682
683table.ssdiff td.hunk {
684	color: #black;
685	background: #ccf;
686	border-top: solid 1px #aaa;
687	border-bottom: solid 1px #aaa;
688}
689
690table.ssdiff td.head {
691	border-top: solid 1px #aaa;
692	border-bottom: solid 1px #aaa;
693}
694
695table.ssdiff td.head div.head {
696	font-weight: bold;
697	color: black;
698}
699
700table.ssdiff td.foot {
701	border-top: solid 1px #aaa;
702        border-left: none;
703        border-right: none;
704        border-bottom: none;
705}
706
707table.ssdiff td.space {
708	border: none;
709}
710
711table.ssdiff td.space div {
712	min-height: 3em;
713}