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