all repos — cgit @ 9ec5cd7944a7099515b7d41107007d6332a2540e

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