all repos — cgit @ 2e4a941626c240bc7858aa7564882c01f657f4e8

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.branch-deco,
535div.commit-subject a.tag-deco,
536div.commit-subject a.remote-deco,
537div.commit-subject a.deco {
538	margin-left: 1em;
539	font-size: 75%;
540}
541
542table.stats {
543	border: solid 1px black;
544	border-collapse: collapse;
545}
546
547table.stats th {
548	text-align: left;
549	padding: 1px 0.5em;
550	background-color: #eee;
551	border: solid 1px black;
552}
553
554table.stats td {
555	text-align: right;
556	padding: 1px 0.5em;
557	border: solid 1px black;
558}
559
560table.stats td.total {
561	font-weight: bold;
562	text-align: left;
563}
564
565table.stats td.sum {
566	color: #c00;
567	font-weight: bold;
568/*	background-color: #eee; */
569}
570
571table.stats td.left {
572	text-align: left;
573}
574
575table.vgraph {
576	border-collapse: separate;
577	border: solid 1px black;
578	height: 200px;
579}
580
581table.vgraph th {
582	background-color: #eee;
583	font-weight: bold;
584	border: solid 1px white;
585	padding: 1px 0.5em;
586}
587
588table.vgraph td {
589	vertical-align: bottom;
590	padding: 0px 10px;
591}
592
593table.vgraph div.bar {
594	background-color: #eee;
595}
596
597table.hgraph {
598	border: solid 1px black;
599	width: 800px;
600}
601
602table.hgraph th {
603	background-color: #eee;
604	font-weight: bold;
605	border: solid 1px black;
606	padding: 1px 0.5em;
607}
608
609table.hgraph td {
610	vertical-align: center;
611	padding: 2px 2px;
612}
613
614table.hgraph div.bar {
615	background-color: #eee;
616	height: 1em;
617}
618
619table.ssdiff {
620	width: 100%;
621}
622
623table.ssdiff td {
624	font-size: 75%;
625	font-family: monospace;
626	white-space: pre;
627	padding: 1px 4px 1px 4px;
628	border-left: solid 1px #aaa;
629	border-right: solid 1px #aaa;
630}
631
632table.ssdiff td.add {
633	color: black;
634	background: #cfc;
635	min-width: 50%;
636}
637
638table.ssdiff td.add_dark {
639	color: black;
640	background: #aca;
641	min-width: 50%;
642}
643
644table.ssdiff span.add {
645	background: #cfc;
646	font-weight: bold;
647}
648
649table.ssdiff td.del {
650	color: black;
651	background: #fcc;
652	min-width: 50%;
653}
654
655table.ssdiff td.del_dark {
656	color: black;
657	background: #caa;
658	min-width: 50%;
659}
660
661table.ssdiff span.del {
662	background: #fcc;
663	font-weight: bold;
664}
665
666table.ssdiff td.changed {
667	color: black;
668	background: #ffc;
669	min-width: 50%;
670}
671
672table.ssdiff td.changed_dark {
673	color: black;
674	background: #cca;
675	min-width: 50%;
676}
677
678table.ssdiff td.lineno {
679	color: black;
680	background: #eee;
681	text-align: right;
682	width: 3em;
683	min-width: 3em;
684}
685
686table.ssdiff td.hunk {
687	color: #black;
688	background: #ccf;
689	border-top: solid 1px #aaa;
690	border-bottom: solid 1px #aaa;
691}
692
693table.ssdiff td.head {
694	border-top: solid 1px #aaa;
695	border-bottom: solid 1px #aaa;
696}
697
698table.ssdiff td.head div.head {
699	font-weight: bold;
700	color: black;
701}
702
703table.ssdiff td.foot {
704	border-top: solid 1px #aaa;
705        border-left: none;
706        border-right: none;
707        border-bottom: none;
708}
709
710table.ssdiff td.space {
711	border: none;
712}
713
714table.ssdiff td.space div {
715	min-height: 3em;
716}