all repos — cgit @ 86d6dfa9b7bd3e1b38618992061cc43ab89993ae

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