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