all repos — cgit @ 271818693d6803b5df25ee87570808c2a9dbd7e7

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