author | Todd Zullinger <tmz@pobox.com> | 2010-09-06 13:31:25 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-09-19 17:12:51 (UTC) |
commit | d7765df117d25fc015856598c06f4796e8cdbb27 (patch) (unidiff) | |
tree | f3e3949fcb3f1d995bf48ec8ce32d1ab22ee1433 | |
parent | 6d10c130585eccae07eb17b3aff86eeb02cf4fb8 (diff) | |
download | cgit-d7765df117d25fc015856598c06f4796e8cdbb27.zip cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.gz cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.bz2 |
cgit.css: Add syntax highlighting entries
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,745 +1,759 @@ | |||
1 | body, table, form { | 1 | body, table, form { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans-serif; | 7 | font-family: sans-serif; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | table#header { |
28 | width: 100%; | 28 | width: 100%; |
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | white-space: nowrap; | 39 | white-space: nowrap; |
40 | } | 40 | } |
41 | 41 | ||
42 | table#header td.main a { | 42 | table#header td.main a { |
43 | color: #000; | 43 | color: #000; |
44 | } | 44 | } |
45 | 45 | ||
46 | table#header td.form { | 46 | table#header td.form { |
47 | text-align: right; | 47 | text-align: right; |
48 | vertical-align: bottom; | 48 | vertical-align: bottom; |
49 | padding-right: 1em; | 49 | padding-right: 1em; |
50 | padding-bottom: 2px; | 50 | padding-bottom: 2px; |
51 | white-space: nowrap; | 51 | white-space: nowrap; |
52 | } | 52 | } |
53 | 53 | ||
54 | table#header td.form form, | 54 | table#header td.form form, |
55 | table#header td.form input, | 55 | table#header td.form input, |
56 | table#header td.form select { | 56 | table#header td.form select { |
57 | font-size: 90%; | 57 | font-size: 90%; |
58 | } | 58 | } |
59 | 59 | ||
60 | table#header td.sub { | 60 | table#header td.sub { |
61 | color: #777; | 61 | color: #777; |
62 | border-top: solid 1px #ccc; | 62 | border-top: solid 1px #ccc; |
63 | padding-left: 10px; | 63 | padding-left: 10px; |
64 | } | 64 | } |
65 | 65 | ||
66 | table.tabs { | 66 | table.tabs { |
67 | border-bottom: solid 3px #ccc; | 67 | border-bottom: solid 3px #ccc; |
68 | border-collapse: collapse; | 68 | border-collapse: collapse; |
69 | margin-top: 2em; | 69 | margin-top: 2em; |
70 | margin-bottom: 0px; | 70 | margin-bottom: 0px; |
71 | width: 100%; | 71 | width: 100%; |
72 | } | 72 | } |
73 | 73 | ||
74 | table.tabs td { | 74 | table.tabs td { |
75 | padding: 0px 1em; | 75 | padding: 0px 1em; |
76 | vertical-align: bottom; | 76 | vertical-align: bottom; |
77 | } | 77 | } |
78 | 78 | ||
79 | table.tabs td a { | 79 | table.tabs td a { |
80 | padding: 2px 0.75em; | 80 | padding: 2px 0.75em; |
81 | color: #777; | 81 | color: #777; |
82 | font-size: 110%; | 82 | font-size: 110%; |
83 | } | 83 | } |
84 | 84 | ||
85 | table.tabs td a.active { | 85 | table.tabs td a.active { |
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #eee; | 109 | background-color: #eee; |
110 | } | 110 | } |
111 | 111 | ||
112 | div.content { | 112 | div.content { |
113 | margin: 0px; | 113 | margin: 0px; |
114 | padding: 2em; | 114 | padding: 2em; |
115 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
116 | } | 116 | } |
117 | 117 | ||
118 | 118 | ||
119 | table.list { | 119 | table.list { |
120 | width: 100%; | 120 | width: 100%; |
121 | border: none; | 121 | border: none; |
122 | border-collapse: collapse; | 122 | border-collapse: collapse; |
123 | } | 123 | } |
124 | 124 | ||
125 | table.list tr { | 125 | table.list tr { |
126 | background: white; | 126 | background: white; |
127 | } | 127 | } |
128 | 128 | ||
129 | table.list tr.logheader { | 129 | table.list tr.logheader { |
130 | background: #eee; | 130 | background: #eee; |
131 | } | 131 | } |
132 | 132 | ||
133 | table.list tr:hover { | 133 | table.list tr:hover { |
134 | background: #eee; | 134 | background: #eee; |
135 | } | 135 | } |
136 | 136 | ||
137 | table.list tr.nohover:hover { | 137 | table.list tr.nohover:hover { |
138 | background: white; | 138 | background: white; |
139 | } | 139 | } |
140 | 140 | ||
141 | table.list th { | 141 | table.list th { |
142 | font-weight: bold; | 142 | font-weight: bold; |
143 | /* color: #888; | 143 | /* color: #888; |
144 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
145 | border-bottom: dashed 1px #888; | 145 | border-bottom: dashed 1px #888; |
146 | */ | 146 | */ |
147 | padding: 0.1em 0.5em 0.05em 0.5em; | 147 | padding: 0.1em 0.5em 0.05em 0.5em; |
148 | vertical-align: baseline; | 148 | vertical-align: baseline; |
149 | } | 149 | } |
150 | 150 | ||
151 | table.list td { | 151 | table.list td { |
152 | border: none; | 152 | border: none; |
153 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
154 | } | 154 | } |
155 | 155 | ||
156 | table.list td.logsubject { | 156 | table.list td.logsubject { |
157 | font-family: monospace; | 157 | font-family: monospace; |
158 | font-weight: bold; | 158 | font-weight: bold; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td.logmsg { | 161 | table.list td.logmsg { |
162 | font-family: monospace; | 162 | font-family: monospace; |
163 | white-space: pre; | 163 | white-space: pre; |
164 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; |
165 | } | 165 | } |
166 | 166 | ||
167 | table.list td.lognotes-label { | 167 | table.list td.lognotes-label { |
168 | text-align:right; | 168 | text-align:right; |
169 | vertical-align:top; | 169 | vertical-align:top; |
170 | } | 170 | } |
171 | 171 | ||
172 | table.list td.lognotes { | 172 | table.list td.lognotes { |
173 | font-family: monospace; | 173 | font-family: monospace; |
174 | white-space: pre; | 174 | white-space: pre; |
175 | padding: 0em 0.5em 2em 0.5em; | 175 | padding: 0em 0.5em 2em 0.5em; |
176 | } | 176 | } |
177 | 177 | ||
178 | table.list td a { | 178 | table.list td a { |
179 | color: black; | 179 | color: black; |
180 | } | 180 | } |
181 | 181 | ||
182 | table.list td a.ls-dir { | 182 | table.list td a.ls-dir { |
183 | font-weight: bold; | 183 | font-weight: bold; |
184 | color: #00f; | 184 | color: #00f; |
185 | } | 185 | } |
186 | 186 | ||
187 | table.list td a:hover { | 187 | table.list td a:hover { |
188 | color: #00f; | 188 | color: #00f; |
189 | } | 189 | } |
190 | 190 | ||
191 | img { | 191 | img { |
192 | border: none; | 192 | border: none; |
193 | } | 193 | } |
194 | 194 | ||
195 | input#switch-btn { | 195 | input#switch-btn { |
196 | margin: 2px 0px 0px 0px; | 196 | margin: 2px 0px 0px 0px; |
197 | } | 197 | } |
198 | 198 | ||
199 | td#sidebar input.txt { | 199 | td#sidebar input.txt { |
200 | width: 100%; | 200 | width: 100%; |
201 | margin: 2px 0px 0px 0px; | 201 | margin: 2px 0px 0px 0px; |
202 | } | 202 | } |
203 | 203 | ||
204 | table#grid { | 204 | table#grid { |
205 | margin: 0px; | 205 | margin: 0px; |
206 | } | 206 | } |
207 | 207 | ||
208 | td#content { | 208 | td#content { |
209 | vertical-align: top; | 209 | vertical-align: top; |
210 | padding: 1em 2em 1em 1em; | 210 | padding: 1em 2em 1em 1em; |
211 | border: none; | 211 | border: none; |
212 | } | 212 | } |
213 | 213 | ||
214 | div#summary { | 214 | div#summary { |
215 | vertical-align: top; | 215 | vertical-align: top; |
216 | margin-bottom: 1em; | 216 | margin-bottom: 1em; |
217 | } | 217 | } |
218 | 218 | ||
219 | table#downloads { | 219 | table#downloads { |
220 | float: right; | 220 | float: right; |
221 | border-collapse: collapse; | 221 | border-collapse: collapse; |
222 | border: solid 1px #777; | 222 | border: solid 1px #777; |
223 | margin-left: 0.5em; | 223 | margin-left: 0.5em; |
224 | margin-bottom: 0.5em; | 224 | margin-bottom: 0.5em; |
225 | } | 225 | } |
226 | 226 | ||
227 | table#downloads th { | 227 | table#downloads th { |
228 | background-color: #ccc; | 228 | background-color: #ccc; |
229 | } | 229 | } |
230 | 230 | ||
231 | div#blob { | 231 | div#blob { |
232 | border: solid 1px black; | 232 | border: solid 1px black; |
233 | } | 233 | } |
234 | 234 | ||
235 | div.error { | 235 | div.error { |
236 | color: red; | 236 | color: red; |
237 | font-weight: bold; | 237 | font-weight: bold; |
238 | margin: 1em 2em; | 238 | margin: 1em 2em; |
239 | } | 239 | } |
240 | 240 | ||
241 | a.ls-blob, a.ls-dir, a.ls-mod { | 241 | a.ls-blob, a.ls-dir, a.ls-mod { |
242 | font-family: monospace; | 242 | font-family: monospace; |
243 | } | 243 | } |
244 | 244 | ||
245 | td.ls-size { | 245 | td.ls-size { |
246 | text-align: right; | 246 | text-align: right; |
247 | font-family: monospace; | 247 | font-family: monospace; |
248 | width: 10em; | 248 | width: 10em; |
249 | } | 249 | } |
250 | 250 | ||
251 | td.ls-mode { | 251 | td.ls-mode { |
252 | font-family: monospace; | 252 | font-family: monospace; |
253 | width: 10em; | 253 | width: 10em; |
254 | } | 254 | } |
255 | 255 | ||
256 | table.blob { | 256 | table.blob { |
257 | margin-top: 0.5em; | 257 | margin-top: 0.5em; |
258 | border-top: solid 1px black; | 258 | border-top: solid 1px black; |
259 | } | 259 | } |
260 | 260 | ||
261 | table.blob td.lines { | 261 | table.blob td.lines { |
262 | margin: 0; padding: 0 0 0 0.5em; | 262 | margin: 0; padding: 0 0 0 0.5em; |
263 | vertical-align: top; | 263 | vertical-align: top; |
264 | color: black; | 264 | color: black; |
265 | } | 265 | } |
266 | 266 | ||
267 | table.blob td.linenumbers { | 267 | table.blob td.linenumbers { |
268 | margin: 0; padding: 0 0.5em 0 0.5em; | 268 | margin: 0; padding: 0 0.5em 0 0.5em; |
269 | vertical-align: top; | 269 | vertical-align: top; |
270 | text-align: right; | 270 | text-align: right; |
271 | border-right: 1px solid gray; | 271 | border-right: 1px solid gray; |
272 | } | 272 | } |
273 | 273 | ||
274 | table.blob pre { | 274 | table.blob pre { |
275 | padding: 0; margin: 0; | 275 | padding: 0; margin: 0; |
276 | } | 276 | } |
277 | 277 | ||
278 | table.blob a.no { | 278 | table.blob a.no { |
279 | color: gray; | 279 | color: gray; |
280 | text-align: right; | 280 | text-align: right; |
281 | text-decoration: none; | 281 | text-decoration: none; |
282 | } | 282 | } |
283 | 283 | ||
284 | table.blob a.no a:hover { | 284 | table.blob a.no a:hover { |
285 | color: black; | 285 | color: black; |
286 | } | 286 | } |
287 | 287 | ||
288 | table.bin-blob { | 288 | table.bin-blob { |
289 | margin-top: 0.5em; | 289 | margin-top: 0.5em; |
290 | border: solid 1px black; | 290 | border: solid 1px black; |
291 | } | 291 | } |
292 | 292 | ||
293 | table.bin-blob th { | 293 | table.bin-blob th { |
294 | font-family: monospace; | 294 | font-family: monospace; |
295 | white-space: pre; | 295 | white-space: pre; |
296 | border: solid 1px #777; | 296 | border: solid 1px #777; |
297 | padding: 0.5em 1em; | 297 | padding: 0.5em 1em; |
298 | } | 298 | } |
299 | 299 | ||
300 | table.bin-blob td { | 300 | table.bin-blob td { |
301 | font-family: monospace; | 301 | font-family: monospace; |
302 | white-space: pre; | 302 | white-space: pre; |
303 | border-left: solid 1px #777; | 303 | border-left: solid 1px #777; |
304 | padding: 0em 1em; | 304 | padding: 0em 1em; |
305 | } | 305 | } |
306 | 306 | ||
307 | table.nowrap td { | 307 | table.nowrap td { |
308 | white-space: nowrap; | 308 | white-space: nowrap; |
309 | } | 309 | } |
310 | 310 | ||
311 | table.commit-info { | 311 | table.commit-info { |
312 | border-collapse: collapse; | 312 | border-collapse: collapse; |
313 | margin-top: 1.5em; | 313 | margin-top: 1.5em; |
314 | } | 314 | } |
315 | 315 | ||
316 | table.commit-info th { | 316 | table.commit-info th { |
317 | text-align: left; | 317 | text-align: left; |
318 | font-weight: normal; | 318 | font-weight: normal; |
319 | padding: 0.1em 1em 0.1em 0.1em; | 319 | padding: 0.1em 1em 0.1em 0.1em; |
320 | vertical-align: top; | 320 | vertical-align: top; |
321 | } | 321 | } |
322 | 322 | ||
323 | table.commit-info td { | 323 | table.commit-info td { |
324 | font-weight: normal; | 324 | font-weight: normal; |
325 | padding: 0.1em 1em 0.1em 0.1em; | 325 | padding: 0.1em 1em 0.1em 0.1em; |
326 | } | 326 | } |
327 | 327 | ||
328 | div.commit-subject { | 328 | div.commit-subject { |
329 | font-weight: bold; | 329 | font-weight: bold; |
330 | font-size: 125%; | 330 | font-size: 125%; |
331 | margin: 1.5em 0em 0.5em 0em; | 331 | margin: 1.5em 0em 0.5em 0em; |
332 | padding: 0em; | 332 | padding: 0em; |
333 | } | 333 | } |
334 | 334 | ||
335 | div.commit-msg { | 335 | div.commit-msg { |
336 | white-space: pre; | 336 | white-space: pre; |
337 | font-family: monospace; | 337 | font-family: monospace; |
338 | } | 338 | } |
339 | 339 | ||
340 | div.notes-header { | 340 | div.notes-header { |
341 | font-weight: bold; | 341 | font-weight: bold; |
342 | padding-top: 1.5em; | 342 | padding-top: 1.5em; |
343 | } | 343 | } |
344 | 344 | ||
345 | div.notes { | 345 | div.notes { |
346 | white-space: pre; | 346 | white-space: pre; |
347 | font-family: monospace; | 347 | font-family: monospace; |
348 | border: solid 1px #ee9; | 348 | border: solid 1px #ee9; |
349 | background-color: #ffd; | 349 | background-color: #ffd; |
350 | padding: 0.3em 2em 0.3em 1em; | 350 | padding: 0.3em 2em 0.3em 1em; |
351 | float: left; | 351 | float: left; |
352 | } | 352 | } |
353 | 353 | ||
354 | div.notes-footer { | 354 | div.notes-footer { |
355 | clear: left; | 355 | clear: left; |
356 | } | 356 | } |
357 | 357 | ||
358 | div.diffstat-header { | 358 | div.diffstat-header { |
359 | font-weight: bold; | 359 | font-weight: bold; |
360 | padding-top: 1.5em; | 360 | padding-top: 1.5em; |
361 | } | 361 | } |
362 | 362 | ||
363 | table.diffstat { | 363 | table.diffstat { |
364 | border-collapse: collapse; | 364 | border-collapse: collapse; |
365 | border: solid 1px #aaa; | 365 | border: solid 1px #aaa; |
366 | background-color: #eee; | 366 | background-color: #eee; |
367 | } | 367 | } |
368 | 368 | ||
369 | table.diffstat th { | 369 | table.diffstat th { |
370 | font-weight: normal; | 370 | font-weight: normal; |
371 | text-align: left; | 371 | text-align: left; |
372 | text-decoration: underline; | 372 | text-decoration: underline; |
373 | padding: 0.1em 1em 0.1em 0.1em; | 373 | padding: 0.1em 1em 0.1em 0.1em; |
374 | font-size: 100%; | 374 | font-size: 100%; |
375 | } | 375 | } |
376 | 376 | ||
377 | table.diffstat td { | 377 | table.diffstat td { |
378 | padding: 0.2em 0.2em 0.1em 0.1em; | 378 | padding: 0.2em 0.2em 0.1em 0.1em; |
379 | font-size: 100%; | 379 | font-size: 100%; |
380 | border: none; | 380 | border: none; |
381 | } | 381 | } |
382 | 382 | ||
383 | table.diffstat td.mode { | 383 | table.diffstat td.mode { |
384 | white-space: nowrap; | 384 | white-space: nowrap; |
385 | } | 385 | } |
386 | 386 | ||
387 | table.diffstat td span.modechange { | 387 | table.diffstat td span.modechange { |
388 | padding-left: 1em; | 388 | padding-left: 1em; |
389 | color: red; | 389 | color: red; |
390 | } | 390 | } |
391 | 391 | ||
392 | table.diffstat td.add a { | 392 | table.diffstat td.add a { |
393 | color: green; | 393 | color: green; |
394 | } | 394 | } |
395 | 395 | ||
396 | table.diffstat td.del a { | 396 | table.diffstat td.del a { |
397 | color: red; | 397 | color: red; |
398 | } | 398 | } |
399 | 399 | ||
400 | table.diffstat td.upd a { | 400 | table.diffstat td.upd a { |
401 | color: blue; | 401 | color: blue; |
402 | } | 402 | } |
403 | 403 | ||
404 | table.diffstat td.graph { | 404 | table.diffstat td.graph { |
405 | width: 500px; | 405 | width: 500px; |
406 | vertical-align: middle; | 406 | vertical-align: middle; |
407 | } | 407 | } |
408 | 408 | ||
409 | table.diffstat td.graph table { | 409 | table.diffstat td.graph table { |
410 | border: none; | 410 | border: none; |
411 | } | 411 | } |
412 | 412 | ||
413 | table.diffstat td.graph td { | 413 | table.diffstat td.graph td { |
414 | padding: 0px; | 414 | padding: 0px; |
415 | border: 0px; | 415 | border: 0px; |
416 | height: 7pt; | 416 | height: 7pt; |
417 | } | 417 | } |
418 | 418 | ||
419 | table.diffstat td.graph td.add { | 419 | table.diffstat td.graph td.add { |
420 | background-color: #5c5; | 420 | background-color: #5c5; |
421 | } | 421 | } |
422 | 422 | ||
423 | table.diffstat td.graph td.rem { | 423 | table.diffstat td.graph td.rem { |
424 | background-color: #c55; | 424 | background-color: #c55; |
425 | } | 425 | } |
426 | 426 | ||
427 | div.diffstat-summary { | 427 | div.diffstat-summary { |
428 | color: #888; | 428 | color: #888; |
429 | padding-top: 0.5em; | 429 | padding-top: 0.5em; |
430 | } | 430 | } |
431 | 431 | ||
432 | table.diff { | 432 | table.diff { |
433 | width: 100%; | 433 | width: 100%; |
434 | } | 434 | } |
435 | 435 | ||
436 | table.diff td { | 436 | table.diff td { |
437 | font-family: monospace; | 437 | font-family: monospace; |
438 | white-space: pre; | 438 | white-space: pre; |
439 | } | 439 | } |
440 | 440 | ||
441 | table.diff td div.head { | 441 | table.diff td div.head { |
442 | font-weight: bold; | 442 | font-weight: bold; |
443 | margin-top: 1em; | 443 | margin-top: 1em; |
444 | color: black; | 444 | color: black; |
445 | } | 445 | } |
446 | 446 | ||
447 | table.diff td div.hunk { | 447 | table.diff td div.hunk { |
448 | color: #009; | 448 | color: #009; |
449 | } | 449 | } |
450 | 450 | ||
451 | table.diff td div.add { | 451 | table.diff td div.add { |
452 | color: green; | 452 | color: green; |
453 | } | 453 | } |
454 | 454 | ||
455 | table.diff td div.del { | 455 | table.diff td div.del { |
456 | color: red; | 456 | color: red; |
457 | } | 457 | } |
458 | 458 | ||
459 | .sha1 { | 459 | .sha1 { |
460 | font-family: monospace; | 460 | font-family: monospace; |
461 | font-size: 90%; | 461 | font-size: 90%; |
462 | } | 462 | } |
463 | 463 | ||
464 | .left { | 464 | .left { |
465 | text-align: left; | 465 | text-align: left; |
466 | } | 466 | } |
467 | 467 | ||
468 | .right { | 468 | .right { |
469 | text-align: right; | 469 | text-align: right; |
470 | } | 470 | } |
471 | 471 | ||
472 | table.list td.reposection { | 472 | table.list td.reposection { |
473 | font-style: italic; | 473 | font-style: italic; |
474 | color: #888; | 474 | color: #888; |
475 | } | 475 | } |
476 | 476 | ||
477 | a.button { | 477 | a.button { |
478 | font-size: 80%; | 478 | font-size: 80%; |
479 | padding: 0em 0.5em; | 479 | padding: 0em 0.5em; |
480 | } | 480 | } |
481 | 481 | ||
482 | a.primary { | 482 | a.primary { |
483 | font-size: 100%; | 483 | font-size: 100%; |
484 | } | 484 | } |
485 | 485 | ||
486 | a.secondary { | 486 | a.secondary { |
487 | font-size: 90%; | 487 | font-size: 90%; |
488 | } | 488 | } |
489 | 489 | ||
490 | td.toplevel-repo { | 490 | td.toplevel-repo { |
491 | 491 | ||
492 | } | 492 | } |
493 | 493 | ||
494 | table.list td.sublevel-repo { | 494 | table.list td.sublevel-repo { |
495 | padding-left: 1.5em; | 495 | padding-left: 1.5em; |
496 | } | 496 | } |
497 | 497 | ||
498 | div.pager { | 498 | div.pager { |
499 | text-align: center; | 499 | text-align: center; |
500 | margin: 1em 0em 0em 0em; | 500 | margin: 1em 0em 0em 0em; |
501 | } | 501 | } |
502 | 502 | ||
503 | div.pager a { | 503 | div.pager a { |
504 | color: #777; | 504 | color: #777; |
505 | margin: 0em 0.5em; | 505 | margin: 0em 0.5em; |
506 | } | 506 | } |
507 | 507 | ||
508 | span.age-mins { | 508 | span.age-mins { |
509 | font-weight: bold; | 509 | font-weight: bold; |
510 | color: #080; | 510 | color: #080; |
511 | } | 511 | } |
512 | 512 | ||
513 | span.age-hours { | 513 | span.age-hours { |
514 | color: #080; | 514 | color: #080; |
515 | } | 515 | } |
516 | 516 | ||
517 | span.age-days { | 517 | span.age-days { |
518 | color: #040; | 518 | color: #040; |
519 | } | 519 | } |
520 | 520 | ||
521 | span.age-weeks { | 521 | span.age-weeks { |
522 | color: #444; | 522 | color: #444; |
523 | } | 523 | } |
524 | 524 | ||
525 | span.age-months { | 525 | span.age-months { |
526 | color: #888; | 526 | color: #888; |
527 | } | 527 | } |
528 | 528 | ||
529 | span.age-years { | 529 | span.age-years { |
530 | color: #bbb; | 530 | color: #bbb; |
531 | } | 531 | } |
532 | div.footer { | 532 | div.footer { |
533 | margin-top: 0.5em; | 533 | margin-top: 0.5em; |
534 | text-align: center; | 534 | text-align: center; |
535 | font-size: 80%; | 535 | font-size: 80%; |
536 | color: #ccc; | 536 | color: #ccc; |
537 | } | 537 | } |
538 | a.branch-deco { | 538 | a.branch-deco { |
539 | margin: 0px 0.5em; | 539 | margin: 0px 0.5em; |
540 | padding: 0px 0.25em; | 540 | padding: 0px 0.25em; |
541 | background-color: #88ff88; | 541 | background-color: #88ff88; |
542 | border: solid 1px #007700; | 542 | border: solid 1px #007700; |
543 | } | 543 | } |
544 | a.tag-deco { | 544 | a.tag-deco { |
545 | margin: 0px 0.5em; | 545 | margin: 0px 0.5em; |
546 | padding: 0px 0.25em; | 546 | padding: 0px 0.25em; |
547 | background-color: #ffff88; | 547 | background-color: #ffff88; |
548 | border: solid 1px #777700; | 548 | border: solid 1px #777700; |
549 | } | 549 | } |
550 | a.remote-deco { | 550 | a.remote-deco { |
551 | margin: 0px 0.5em; | 551 | margin: 0px 0.5em; |
552 | padding: 0px 0.25em; | 552 | padding: 0px 0.25em; |
553 | background-color: #ccccff; | 553 | background-color: #ccccff; |
554 | border: solid 1px #000077; | 554 | border: solid 1px #000077; |
555 | } | 555 | } |
556 | a.deco { | 556 | a.deco { |
557 | margin: 0px 0.5em; | 557 | margin: 0px 0.5em; |
558 | padding: 0px 0.25em; | 558 | padding: 0px 0.25em; |
559 | background-color: #ff8888; | 559 | background-color: #ff8888; |
560 | border: solid 1px #770000; | 560 | border: solid 1px #770000; |
561 | } | 561 | } |
562 | 562 | ||
563 | div.commit-subject a.branch-deco, | 563 | div.commit-subject a.branch-deco, |
564 | div.commit-subject a.tag-deco, | 564 | div.commit-subject a.tag-deco, |
565 | div.commit-subject a.remote-deco, | 565 | div.commit-subject a.remote-deco, |
566 | div.commit-subject a.deco { | 566 | div.commit-subject a.deco { |
567 | margin-left: 1em; | 567 | margin-left: 1em; |
568 | font-size: 75%; | 568 | font-size: 75%; |
569 | } | 569 | } |
570 | 570 | ||
571 | table.stats { | 571 | table.stats { |
572 | border: solid 1px black; | 572 | border: solid 1px black; |
573 | border-collapse: collapse; | 573 | border-collapse: collapse; |
574 | } | 574 | } |
575 | 575 | ||
576 | table.stats th { | 576 | table.stats th { |
577 | text-align: left; | 577 | text-align: left; |
578 | padding: 1px 0.5em; | 578 | padding: 1px 0.5em; |
579 | background-color: #eee; | 579 | background-color: #eee; |
580 | border: solid 1px black; | 580 | border: solid 1px black; |
581 | } | 581 | } |
582 | 582 | ||
583 | table.stats td { | 583 | table.stats td { |
584 | text-align: right; | 584 | text-align: right; |
585 | padding: 1px 0.5em; | 585 | padding: 1px 0.5em; |
586 | border: solid 1px black; | 586 | border: solid 1px black; |
587 | } | 587 | } |
588 | 588 | ||
589 | table.stats td.total { | 589 | table.stats td.total { |
590 | font-weight: bold; | 590 | font-weight: bold; |
591 | text-align: left; | 591 | text-align: left; |
592 | } | 592 | } |
593 | 593 | ||
594 | table.stats td.sum { | 594 | table.stats td.sum { |
595 | color: #c00; | 595 | color: #c00; |
596 | font-weight: bold; | 596 | font-weight: bold; |
597 | /*background-color: #eee; */ | 597 | /*background-color: #eee; */ |
598 | } | 598 | } |
599 | 599 | ||
600 | table.stats td.left { | 600 | table.stats td.left { |
601 | text-align: left; | 601 | text-align: left; |
602 | } | 602 | } |
603 | 603 | ||
604 | table.vgraph { | 604 | table.vgraph { |
605 | border-collapse: separate; | 605 | border-collapse: separate; |
606 | border: solid 1px black; | 606 | border: solid 1px black; |
607 | height: 200px; | 607 | height: 200px; |
608 | } | 608 | } |
609 | 609 | ||
610 | table.vgraph th { | 610 | table.vgraph th { |
611 | background-color: #eee; | 611 | background-color: #eee; |
612 | font-weight: bold; | 612 | font-weight: bold; |
613 | border: solid 1px white; | 613 | border: solid 1px white; |
614 | padding: 1px 0.5em; | 614 | padding: 1px 0.5em; |
615 | } | 615 | } |
616 | 616 | ||
617 | table.vgraph td { | 617 | table.vgraph td { |
618 | vertical-align: bottom; | 618 | vertical-align: bottom; |
619 | padding: 0px 10px; | 619 | padding: 0px 10px; |
620 | } | 620 | } |
621 | 621 | ||
622 | table.vgraph div.bar { | 622 | table.vgraph div.bar { |
623 | background-color: #eee; | 623 | background-color: #eee; |
624 | } | 624 | } |
625 | 625 | ||
626 | table.hgraph { | 626 | table.hgraph { |
627 | border: solid 1px black; | 627 | border: solid 1px black; |
628 | width: 800px; | 628 | width: 800px; |
629 | } | 629 | } |
630 | 630 | ||
631 | table.hgraph th { | 631 | table.hgraph th { |
632 | background-color: #eee; | 632 | background-color: #eee; |
633 | font-weight: bold; | 633 | font-weight: bold; |
634 | border: solid 1px black; | 634 | border: solid 1px black; |
635 | padding: 1px 0.5em; | 635 | padding: 1px 0.5em; |
636 | } | 636 | } |
637 | 637 | ||
638 | table.hgraph td { | 638 | table.hgraph td { |
639 | vertical-align: center; | 639 | vertical-align: center; |
640 | padding: 2px 2px; | 640 | padding: 2px 2px; |
641 | } | 641 | } |
642 | 642 | ||
643 | table.hgraph div.bar { | 643 | table.hgraph div.bar { |
644 | background-color: #eee; | 644 | background-color: #eee; |
645 | height: 1em; | 645 | height: 1em; |
646 | } | 646 | } |
647 | 647 | ||
648 | table.ssdiff { | 648 | table.ssdiff { |
649 | width: 100%; | 649 | width: 100%; |
650 | } | 650 | } |
651 | 651 | ||
652 | table.ssdiff td { | 652 | table.ssdiff td { |
653 | font-size: 75%; | 653 | font-size: 75%; |
654 | font-family: monospace; | 654 | font-family: monospace; |
655 | white-space: pre; | 655 | white-space: pre; |
656 | padding: 1px 4px 1px 4px; | 656 | padding: 1px 4px 1px 4px; |
657 | border-left: solid 1px #aaa; | 657 | border-left: solid 1px #aaa; |
658 | border-right: solid 1px #aaa; | 658 | border-right: solid 1px #aaa; |
659 | } | 659 | } |
660 | 660 | ||
661 | table.ssdiff td.add { | 661 | table.ssdiff td.add { |
662 | color: black; | 662 | color: black; |
663 | background: #cfc; | 663 | background: #cfc; |
664 | min-width: 50%; | 664 | min-width: 50%; |
665 | } | 665 | } |
666 | 666 | ||
667 | table.ssdiff td.add_dark { | 667 | table.ssdiff td.add_dark { |
668 | color: black; | 668 | color: black; |
669 | background: #aca; | 669 | background: #aca; |
670 | min-width: 50%; | 670 | min-width: 50%; |
671 | } | 671 | } |
672 | 672 | ||
673 | table.ssdiff span.add { | 673 | table.ssdiff span.add { |
674 | background: #cfc; | 674 | background: #cfc; |
675 | font-weight: bold; | 675 | font-weight: bold; |
676 | } | 676 | } |
677 | 677 | ||
678 | table.ssdiff td.del { | 678 | table.ssdiff td.del { |
679 | color: black; | 679 | color: black; |
680 | background: #fcc; | 680 | background: #fcc; |
681 | min-width: 50%; | 681 | min-width: 50%; |
682 | } | 682 | } |
683 | 683 | ||
684 | table.ssdiff td.del_dark { | 684 | table.ssdiff td.del_dark { |
685 | color: black; | 685 | color: black; |
686 | background: #caa; | 686 | background: #caa; |
687 | min-width: 50%; | 687 | min-width: 50%; |
688 | } | 688 | } |
689 | 689 | ||
690 | table.ssdiff span.del { | 690 | table.ssdiff span.del { |
691 | background: #fcc; | 691 | background: #fcc; |
692 | font-weight: bold; | 692 | font-weight: bold; |
693 | } | 693 | } |
694 | 694 | ||
695 | table.ssdiff td.changed { | 695 | table.ssdiff td.changed { |
696 | color: black; | 696 | color: black; |
697 | background: #ffc; | 697 | background: #ffc; |
698 | min-width: 50%; | 698 | min-width: 50%; |
699 | } | 699 | } |
700 | 700 | ||
701 | table.ssdiff td.changed_dark { | 701 | table.ssdiff td.changed_dark { |
702 | color: black; | 702 | color: black; |
703 | background: #cca; | 703 | background: #cca; |
704 | min-width: 50%; | 704 | min-width: 50%; |
705 | } | 705 | } |
706 | 706 | ||
707 | table.ssdiff td.lineno { | 707 | table.ssdiff td.lineno { |
708 | color: black; | 708 | color: black; |
709 | background: #eee; | 709 | background: #eee; |
710 | text-align: right; | 710 | text-align: right; |
711 | width: 3em; | 711 | width: 3em; |
712 | min-width: 3em; | 712 | min-width: 3em; |
713 | } | 713 | } |
714 | 714 | ||
715 | table.ssdiff td.hunk { | 715 | table.ssdiff td.hunk { |
716 | color: #black; | 716 | color: #black; |
717 | background: #ccf; | 717 | background: #ccf; |
718 | border-top: solid 1px #aaa; | 718 | border-top: solid 1px #aaa; |
719 | border-bottom: solid 1px #aaa; | 719 | border-bottom: solid 1px #aaa; |
720 | } | 720 | } |
721 | 721 | ||
722 | table.ssdiff td.head { | 722 | table.ssdiff td.head { |
723 | border-top: solid 1px #aaa; | 723 | border-top: solid 1px #aaa; |
724 | border-bottom: solid 1px #aaa; | 724 | border-bottom: solid 1px #aaa; |
725 | } | 725 | } |
726 | 726 | ||
727 | table.ssdiff td.head div.head { | 727 | table.ssdiff td.head div.head { |
728 | font-weight: bold; | 728 | font-weight: bold; |
729 | color: black; | 729 | color: black; |
730 | } | 730 | } |
731 | 731 | ||
732 | table.ssdiff td.foot { | 732 | table.ssdiff td.foot { |
733 | border-top: solid 1px #aaa; | 733 | border-top: solid 1px #aaa; |
734 | border-left: none; | 734 | border-left: none; |
735 | border-right: none; | 735 | border-right: none; |
736 | border-bottom: none; | 736 | border-bottom: none; |
737 | } | 737 | } |
738 | 738 | ||
739 | table.ssdiff td.space { | 739 | table.ssdiff td.space { |
740 | border: none; | 740 | border: none; |
741 | } | 741 | } |
742 | 742 | ||
743 | table.ssdiff td.space div { | 743 | table.ssdiff td.space div { |
744 | min-height: 3em; | 744 | min-height: 3em; |
745 | } \ No newline at end of file | 745 | } |
746 | |||
747 | /* Syntax highlighting */ | ||
748 | table.blob .num { color:#2928ff; } | ||
749 | table.blob .esc { color:#ff00ff; } | ||
750 | table.blob .str { color:#ff0000; } | ||
751 | table.blob .dstr { color:#818100; } | ||
752 | table.blob .slc { color:#838183; font-style:italic; } | ||
753 | table.blob .com { color:#838183; font-style:italic; } | ||
754 | table.blob .dir { color:#008200; } | ||
755 | table.blob .sym { color:#000000; } | ||
756 | table.blob .kwa { color:#000000; font-weight:bold; } | ||
757 | table.blob .kwb { color:#830000; } | ||
758 | table.blob .kwc { color:#000000; font-weight:bold; } | ||
759 | table.blob .kwd { color:#010181; } | ||