all repos — cgit @ f250c1ca2ea7f35d65f639e42e8b8f0657515e5d

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.content {
106	margin: 0px;
107	padding: 2em;
108	border-top: solid 3px #ccc;
109	border-bottom: solid 3px #ccc;
110}
111
112
113table.list {
114	width: 100%;
115	border: none;
116	border-collapse: collapse;
117}
118
119table.list tr {
120	background: white;
121}
122
123table.list tr:hover {
124	background: #eee;
125}
126
127table.list tr.nohover:hover {
128	background: white;
129}
130
131table.list th {
132	font-weight: bold;
133	/* color: #888;
134	border-top: dashed 1px #888;
135	border-bottom: dashed 1px #888;
136	*/
137	padding: 0.1em 0.5em 0.05em 0.5em;
138	vertical-align: baseline;
139}
140
141table.list td {
142	border: none;
143	padding: 0.1em 0.5em 0.1em 0.5em;
144}
145
146table.list td a {
147	color: black;
148}
149
150table.list td a:hover {
151	color: #00f;
152}
153
154img {
155	border: none;
156}
157
158input#switch-btn {
159	margin: 2px 0px 0px 0px;
160}
161
162td#sidebar input.txt {
163	width: 100%;
164	margin: 2px 0px 0px 0px;
165}
166
167table#grid {
168	margin: 0px;
169}
170
171td#content {
172	vertical-align: top;
173	padding: 1em 2em 1em 1em;
174	border: none;
175}
176
177div#summary {
178	vertical-align: top;
179	margin-bottom: 1em;
180}
181
182table#downloads {
183	float: right;
184	border-collapse: collapse;
185	border: solid 1px #777;
186	margin-left: 0.5em;
187	margin-bottom: 0.5em;
188}
189
190table#downloads th {
191	background-color: #ccc;
192}
193
194div#blob {
195	border: solid 1px black;
196}
197
198div.error {
199	color: red;
200	font-weight: bold;
201	margin: 1em 2em;
202}
203
204a.ls-blob, a.ls-dir, a.ls-mod {
205	font-family: monospace;
206}
207
208td.ls-size {
209	text-align: right;
210	font-family: monospace;
211	width: 10em;
212}
213
214td.ls-mode {
215	font-family: monospace;
216	width: 10em;
217}
218
219table.blob {
220	margin-top: 0.5em;
221	border-top: solid 1px black;
222}
223
224table.blob td.no {
225	border-right: solid 1px black;
226	color: black;
227	background-color: #eee;
228	text-align: right;
229}
230
231table.blob td.no a {
232	color: black;
233}
234
235table.blob td.no a:hover {
236	color: black;
237	text-decoration: none;
238}
239
240table.blob td.txt {
241	white-space: pre;
242	font-family: monospace;
243	padding-left: 0.5em;
244}
245
246table.nowrap td {
247	white-space: nowrap;
248}
249
250table.commit-info {
251	border-collapse: collapse;
252	margin-top: 1.5em;
253}
254
255table.commit-info th {
256	text-align: left;
257	font-weight: normal;
258	padding: 0.1em 1em 0.1em 0.1em;
259	vertical-align: top;
260}
261
262table.commit-info td {
263	font-weight: normal;
264	padding: 0.1em 1em 0.1em 0.1em;
265}
266
267div.commit-subject {
268	font-weight: bold;
269	font-size: 125%;
270	margin: 1.5em 0em 0.5em 0em;
271	padding: 0em;
272}
273
274div.commit-msg {
275	white-space: pre;
276	font-family: monospace;
277}
278
279div.diffstat-header {
280	font-weight: bold;
281	padding-top: 1.5em;
282}
283
284table.diffstat {
285	border-collapse: collapse;
286	border: solid 1px #aaa;
287	background-color: #eee;
288}
289
290table.diffstat th {
291	font-weight: normal;
292	text-align: left;
293	text-decoration: underline;
294	padding: 0.1em 1em 0.1em 0.1em;
295	font-size: 100%;
296}
297
298table.diffstat td {
299	padding: 0.2em 0.2em 0.1em 0.1em;
300	font-size: 100%;
301	border: none;
302}
303
304table.diffstat td.mode {
305	white-space: nowrap;
306}
307
308table.diffstat td span.modechange {
309	padding-left: 1em;
310	color: red;
311}
312
313table.diffstat td.add a {
314	color: green;
315}
316
317table.diffstat td.del a {
318	color: red;
319}
320
321table.diffstat td.upd a {
322	color: blue;
323}
324
325table.diffstat td.graph {
326	width: 500px;
327	vertical-align: middle;
328}
329
330table.diffstat td.graph table {
331	border: none;
332}
333
334table.diffstat td.graph td {
335	padding: 0px;
336	border: 0px;
337	height: 7pt;
338}
339
340table.diffstat td.graph td.add {
341	background-color: #5c5;
342}
343
344table.diffstat td.graph td.rem {
345	background-color: #c55;
346}
347
348div.diffstat-summary {
349	color: #888;
350	padding-top: 0.5em;
351}
352
353table.diff {
354	width: 100%;
355}
356
357table.diff td {
358	font-family: monospace;
359	white-space: pre;
360}
361
362table.diff td div.head {
363	font-weight: bold;
364	margin-top: 1em;
365	color: black;
366}
367
368table.diff td div.hunk {
369	color: #009;
370}
371
372table.diff td div.add {
373	color: green;
374}
375
376table.diff td div.del {
377	color: red;
378}
379
380.sha1 {
381	font-family: monospace;
382	font-size: 90%;
383}
384
385.left {
386	text-align: left;
387}
388
389.right {
390	text-align: right;
391}
392
393table.list td.repogroup {
394	font-style: italic;
395	color: #888;
396}
397
398a.button {
399	font-size: 80%;
400	padding: 0em 0.5em;
401}
402
403a.primary {
404	font-size: 100%;
405}
406
407a.secondary {
408	font-size: 90%;
409}
410
411td.toplevel-repo {
412
413}
414
415table.list td.sublevel-repo {
416	padding-left: 1.5em;
417}
418
419div.pager {
420	text-align: center;
421	margin: 1em 0em 0em 0em;
422}
423
424div.pager a {
425	color: #777;
426	margin: 0em 0.5em;
427}
428
429span.age-mins {
430	font-weight: bold;
431	color: #080;
432}
433
434span.age-hours {
435	color: #080;
436}
437
438span.age-days {
439	color: #040;
440}
441
442span.age-weeks {
443	color: #444;
444}
445
446span.age-months {
447	color: #888;
448}
449
450span.age-years {
451	color: #bbb;
452}
453div.footer {
454	margin-top: 0.5em;
455	text-align: center;
456	font-size: 80%;
457	color: #ccc;
458}