all repos — cgit @ 9a8d39c668b98464bac97d4e5442966de63f97b2

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