all repos — cgit @ 2ff33a8a0405b420cd75e0e207c7efeecd6f130b

a hyperfast web frontend for git written in c

cgit.css (view raw)

  1body, table {
  2	padding: 0em;
  3	margin: 0em;
  4}
  5
  6body {
  7	font-family: sans;
  8	font-size: 10pt;
  9	color: #333;
 10	background: white;
 11	padding-left: 4px;
 12}
 13
 14table {
 15      border-collapse: collapse;
 16}
 17
 18h2 {
 19	font-size: 120%;
 20	font-weight: bold;
 21	margin-top: 0em;
 22	margin-bottom: 0.25em;
 23}
 24
 25h3 {
 26	margin-top: 0em;
 27	font-size: 100%;
 28	font-weight: normal;
 29}
 30
 31h4 {
 32	margin-top: 1.5em;
 33	margin-bottom: 0.1em;
 34	font-size: 100%;
 35	font-weight: bold;
 36}
 37
 38a {
 39	color: #600;
 40	text-decoration: none;
 41}
 42
 43a:hover {
 44	background-color: #ddd;
 45	text-decoration: none;
 46}
 47
 48table.list {
 49	border: none;
 50	border-collapse: collapse;
 51}
 52
 53table.list tr {
 54	background: white;
 55}
 56
 57table.list tr:hover {
 58	background: #f8f8f8;
 59}
 60
 61table.list tr.nohover:hover {
 62	background: white;
 63}
 64
 65table.list th {
 66	font-weight: bold;
 67	border-bottom: solid 1px #777;
 68	padding: 0.1em 0.5em 0.1em 0.5em;
 69	vertical-align: baseline;
 70}
 71
 72table.list td {
 73	border: none;
 74	padding: 0.1em 0.5em 0.1em 0.5em;
 75}
 76
 77img {
 78	border: none;
 79}
 80
 81div#sidebar {
 82	vertical-align: top;
 83	width: 162px;
 84	padding: 0px 0px 0px 0px;
 85	margin: 4px;
 86	float: left;
 87}
 88
 89div#logo {
 90	margin: 0px;
 91	padding: 4px 0px 4px 0px;
 92	text-align: center;
 93	background-color: #ccc;
 94	border-top: solid 1px #eee;
 95	border-left: solid 1px #eee;
 96	border-right: solid 1px #aaa;
 97	border-bottom: solid 1px #aaa;
 98}
 99
100div#sidebar div.infobox {
101	margin: 0px 0px 0px 0px;
102	padding: 0.5em;
103	text-align: left;
104	background-color: #ccc;
105	border-top: solid 1px #eee;
106	border-left: solid 1px #eee;
107	border-right: solid 1px #aaa;
108	border-bottom: solid 1px #aaa;
109}
110
111div#sidebar div.infobox h1 {
112	font-size: 10pt;
113	font-weight: bold;
114	margin: 8px 0px 0px 0px;
115}
116
117div#sidebar div.infobox h1.first {
118	margin-top: 0px;
119}
120
121div#sidebar div.infobox a.menu {
122	display: block;
123	background-color: #ccc;
124	padding: 0.1em 0.5em;
125	text-decoration: none;
126}
127
128div#sidebar div.infobox a.menu:hover {
129	background-color: #bbb;
130	text-decoration: none;
131}
132
133div#sidebar div.infobox select {
134	width: 100%;
135	margin: 2px 0px 0px 0px;
136}
137
138td#branch-dropdown-cell {
139	width: 99%;
140}
141
142input#switch-btn {
143	width: 20px;
144	margin: 2px 0px 0px 0px;
145}
146
147div#sidebar div.infobox input.txt {
148	width: 100%;
149	margin: 2px 0px 0px 0px;
150}
151
152table#grid {
153	margin: 0px;
154}
155
156td#content {
157	vertical-align: top;
158	padding: 1em 2em 1em 1em;
159	border: none;
160}
161
162div#summary {
163	vertical-align: top;
164	margin-bottom: 1em;
165}
166
167table#downloads {
168	float: right;
169	border-collapse: collapse;
170	border: solid 1px #777;
171	margin-left: 0.5em;
172	margin-bottom: 0.5em;
173}
174
175table#downloads th {
176	background-color: #ccc;
177}
178
179div#blob {
180	border: solid 1px black;
181}
182
183div.error {
184	color: red;
185	font-weight: bold;
186	margin: 1em 2em;
187}
188
189a.ls-blob, a.ls-dir, a.ls-mod {
190	font-family: monospace;
191}
192
193td.ls-size {
194	text-align: right;
195}
196
197td.ls-size {
198	font-family: monospace;
199}
200
201td.ls-mode {
202	font-family: monospace;
203}
204
205table.blob {
206	margin-top: 0.5em;
207	border-top: solid 1px black;
208}
209
210table.blob td.no {
211	border-right: solid 1px black;
212	color: black;
213	background-color: #eee;
214	text-align: right;
215}
216
217table.blob td.no a {
218	color: black;
219}
220
221table.blob td.no a:hover {
222	color: black;
223	text-decoration: none;
224}
225
226table.blob td.txt {
227	white-space: pre;
228	font-family: monospace;
229	padding-left: 0.5em;
230}
231
232table.nowrap td {
233	white-space: nowrap;
234}
235
236table.commit-info {
237	border-collapse: collapse;
238	margin-top: 1.5em;
239}
240
241table.commit-info th {
242	text-align: left;
243	font-weight: normal;
244	padding: 0.1em 1em 0.1em 0.1em;
245	vertical-align: top;
246}
247
248table.commit-info td {
249	font-weight: normal;
250	padding: 0.1em 1em 0.1em 0.1em;
251}
252
253div.commit-subject {
254	font-weight: bold;
255	font-size: 125%;
256	margin: 1.5em 0em 0.5em 0em;
257	padding: 0em;
258}
259
260div.commit-msg {
261	white-space: pre;
262	font-family: monospace;
263}
264
265div.diffstat-header {
266	font-weight: bold;
267	padding-top: 1.5em;
268}
269
270table.diffstat {
271	border-collapse: collapse;
272	border: solid 1px #aaa;
273	background-color: #eee;
274}
275
276table.diffstat th {
277	font-weight: normal;
278	text-align: left;
279	text-decoration: underline;
280	padding: 0.1em 1em 0.1em 0.1em;
281	font-size: 100%;
282}
283
284table.diffstat td {
285	padding: 0.2em 0.2em 0.1em 0.1em;
286	font-size: 100%;
287	border: none;
288}
289
290table.diffstat td.mode {
291	white-space: nowrap;
292}
293
294table.diffstat td span.modechange {
295	padding-left: 1em;
296	color: red;
297}
298
299table.diffstat td.add a {
300	color: green;
301}
302
303table.diffstat td.del a {
304	color: red;
305}
306
307table.diffstat td.upd a {
308	color: blue;
309}
310
311table.diffstat td.graph {
312	width: 500px;
313	vertical-align: middle;
314}
315
316table.diffstat td.graph table {
317	border: none;
318}
319
320table.diffstat td.graph td {
321	padding: 0px;
322	border: 0px;
323	height: 7pt;
324}
325
326table.diffstat td.graph td.add {
327	background-color: #5c5;
328}
329
330table.diffstat td.graph td.rem {
331	background-color: #c55;
332}
333
334div.diffstat-summary {
335	color: #888;
336	padding-top: 0.5em;
337}
338
339table.diff {
340	width: 100%;
341}
342
343table.diff td {
344	font-family: monospace;
345	white-space: pre;
346}
347
348table.diff td div.head {
349	font-weight: bold;
350	margin-top: 1em;
351	background-color: #eee;
352}
353
354table.diff td div.hunk {
355	color: #009;
356}
357
358table.diff td div.add {
359	color: green;
360}
361
362table.diff td div.del {
363	color: red;
364}
365
366.sha1 {
367	font-family: monospace;
368	font-size: 90%;
369}
370
371.left {
372	text-align: left;
373}
374
375.right {
376	text-align: right;
377}
378
379table.list td.repogroup {
380	font-style: italic;
381	color: #888;
382}
383
384a.button {
385	font-size: 80%;
386	color: #aaa;
387	background-color: #eee;
388	border: solid 1px #aaa;
389	padding: 0em 0.5em;
390	margin: 0.1em 0.25em;
391}
392
393a.button:hover {
394	text-decoration: none;
395	color: #333;
396	background-color: #ccc;
397}
398
399a.primary {
400	font-size: 100%;
401}
402
403a.secondary {
404	font-size: 90%;
405}
406
407td.toplevel-repo {
408
409}
410
411table.list td.sublevel-repo {
412	padding-left: 1.5em;
413}
414
415span.age-mins {
416	font-weight: bold;
417	color: #080;
418}
419
420span.age-hours {
421	color: #080;
422}
423
424span.age-days {
425	color: #040;
426}
427
428span.age-weeks {
429	color: #444;
430}
431
432span.age-months {
433	color: #888;
434}
435
436span.age-years {
437	color: #bbb;
438}