web: css whitespace fixes.
[paraslash.git] / web / gitweb.css
1 body {
2 font-family: sans-serif;
3 font-size: small;
4 border-width: 1px;
5 margin: 0px;
6 padding: 10px;
7 background-color: black;
8 color: #cccccc;
9 height: 100%;
10 }
11
12 a {
13 color: #BA3708;
14 }
15
16 a:hover {
17 color: #BA3708;
18 background-color: #ffff00;
19 }
20
21 span.cntrl {
22 border: dashed #aaaaaa;
23 border-width: 1px;
24 padding: 0px 2px 0px 2px;
25 margin: 0px 2px 0px 2px;
26 }
27
28 img.logo {
29 float: right;
30 border-width: 0px;
31 }
32
33 div.page_header {
34 padding: 8px;
35 font-size: 150%;
36 font-weight: bold;
37 background-color: #151515;
38 }
39
40 div.page_header a:visited, a.header {
41 color: #BA3708;
42 }
43
44 div.page_header a:hover {
45 color: #880000;
46 }
47
48 div.page_nav {
49 padding: 8px;
50 }
51
52 div.page_nav a:visited {
53 color: #BA3708;
54 }
55
56 div.page_path {
57 padding: 8px;
58 font-weight: bold;
59 border: solid #d9d8d1;
60 border-width: 0px 0px 1px;
61 }
62
63 div.page_footer {
64 height: 17px;
65 padding: 4px 8px;
66 background-color: #d9d8d1;
67 }
68
69 div.page_footer_text {
70 float: left;
71 color: #555555;
72 font-style: italic;
73 }
74
75 div.page_body {
76 padding: 8px;
77 font-family: monospace;
78 }
79
80 div.title, a.title {
81 display: block;
82 padding: 6px 8px;
83 font-weight: bold;
84 background-color: #555555;
85 text-decoration: none;
86 color: white;
87 }
88
89 a.title:hover {
90 background-color: #AA3100;
91 }
92
93 div.title_text {
94 padding: 6px 0px;
95 border: solid #d9d8d1;
96 border-width: 0px 0px 1px;
97 font-family: monospace;
98 }
99
100 div.log_body {
101 padding: 8px 8px 8px 150px;
102 }
103
104 span.age {
105 position: relative;
106 float: left;
107 width: 142px;
108 font-style: italic;
109 }
110
111 span.signoff {
112 color: #888888;
113 }
114
115 div.log_link {
116 padding: 0px 8px;
117 font-size: 70%;
118 font-family: sans-serif;
119 font-style: normal;
120 position: relative;
121 float: left;
122 width: 136px;
123 }
124
125 div.list_head {
126 padding: 6px 8px 4px;
127 border: solid #d9d8d1;
128 border-width: 1px 0px 0px;
129 font-style: italic;
130 }
131
132 div.author_date {
133 padding: 8px;
134 border: solid #d9d8d1;
135 border-width: 0px 0px 1px 0px;
136 font-style: italic;
137 }
138
139 a.list {
140 text-decoration: none;
141 color: #BA3708;
142 }
143
144 a.subject, a.name {
145 font-weight: bold;
146 }
147
148 table.tags a.subject {
149 font-weight: normal;
150 }
151
152 a.list:hover {
153 text-decoration: underline;
154 color: #880000;
155 }
156
157 a.text {
158 text-decoration: none;
159 color: #0000cc;
160 }
161
162 a.text:visited {
163 text-decoration: none;
164 color: #880000;
165 }
166
167 a.text:hover {
168 text-decoration: underline;
169 color: #880000;
170 }
171
172 table {
173 padding: 8px 4px;
174 }
175
176 table.project_list {
177 border-spacing: 0;
178 }
179
180 table.diff_tree {
181 border-spacing: 0;
182 font-family: monospace;
183 }
184
185 table.combined.diff_tree th {
186 text-align: center;
187 }
188
189 table.combined.diff_tree td {
190 padding-right: 24px;
191 }
192
193 table.combined.diff_tree th.link,
194 table.combined.diff_tree td.link {
195 padding: 0px 2px;
196 }
197
198 table.combined.diff_tree td.nochange a {
199 color: #6666ff;
200 }
201
202 table.combined.diff_tree td.nochange a:hover,
203 table.combined.diff_tree td.nochange a:visited {
204 color: #d06666;
205 }
206
207 table.blame {
208 border-collapse: collapse;
209 }
210
211 table.blame td {
212 padding: 0px 5px;
213 font-size: 100%;
214 vertical-align: top;
215 }
216
217 th {
218 padding: 2px 5px;
219 font-size: 100%;
220 text-align: left;
221 }
222
223 tr.light:hover {
224 background-color: yellow;
225 color: #BA3708;
226 }
227
228 tr.dark {
229 background-color: #333333;
230 }
231
232 tr.dark2 {
233 background-color: #333333;
234 }
235
236 tr.dark:hover {
237 background-color: yellow;
238 color: #BA3708;
239 }
240
241 td {
242 padding: 2px 5px;
243 font-size: 100%;
244 vertical-align: top;
245 }
246
247 td.link, td.selflink {
248 padding: 2px 5px;
249 font-family: sans-serif;
250 font-size: 70%;
251 }
252
253 td.selflink {
254 padding-right: 0px;
255 }
256
257 td.sha1 {
258 font-family: monospace;
259 }
260
261 td.error {
262 color: red;
263 background-color: yellow;
264 }
265
266 td.current_head {
267 text-decoration: underline;
268 }
269
270 table.diff_tree span.file_status.new {
271 color: #008000;
272 }
273
274 table.diff_tree span.file_status.deleted {
275 color: #c00000;
276 }
277
278 table.diff_tree span.file_status.moved,
279 table.diff_tree span.file_status.mode_chnge {
280 color: #777777;
281 }
282
283 table.diff_tree span.file_status.copied {
284 color: #70a070;
285 }
286
287 /* noage: "No commits" */
288 table.project_list td.noage {
289 color: #808080;
290 font-style: italic;
291 }
292
293 /* age2: 60*60*24*2 <= age */
294 table.project_list td.age2, table.blame td.age2 {
295 font-style: italic;
296 }
297
298 /* age1: 60*60*2 <= age < 60*60*24*2 */
299 table.project_list td.age1 {
300 color: #009900;
301 font-style: italic;
302 }
303
304 table.blame td.age1 {
305 color: #009900;
306 background: transparent;
307 }
308
309 /* age0: age < 60*60*2 */
310 table.project_list td.age0 {
311 color: #009900;
312 font-style: italic;
313 font-weight: bold;
314 }
315
316 table.blame td.age0 {
317 color: #009900;
318 background: transparent;
319 font-weight: bold;
320 }
321
322 td.pre, div.pre, div.diff {
323 font-family: monospace;
324 font-size: 12px;
325 white-space: pre;
326 }
327
328 td.mode {
329 font-family: monospace;
330 }
331
332 /* styling of diffs (patchsets): commitdiff and blobdiff views */
333 div.diff.header,
334 div.diff.extended_header {
335 white-space: normal;
336 }
337
338 div.diff.header {
339 font-weight: bold;
340
341 background-color: #333333;
342
343 margin-top: 4px;
344 padding: 4px 0px 2px 0px;
345 border: solid #d9d8d1;
346 border-width: 1px 0px 1px 0px;
347 }
348
349 div.diff.header a.path {
350 text-decoration: underline;
351 }
352
353 div.diff.extended_header,
354 div.diff.extended_header a.path,
355 div.diff.extended_header a.hash {
356 color: #cccccc;
357 }
358
359 div.diff.extended_header .info {
360 color: #b0b0b0;
361 }
362
363 div.diff.extended_header {
364 background-color: #333333;
365 padding: 2px 0px 2px 0px;
366 }
367
368 div.diff a.list,
369 div.diff a.path,
370 div.diff a.hash {
371 text-decoration: none;
372 }
373
374 div.diff a.list:hover,
375 div.diff a.path:hover,
376 div.diff a.hash:hover {
377 text-decoration: underline;
378 }
379
380 div.diff.to_file a.path,
381 div.diff.to_file {
382 color: #007000;
383 }
384
385 div.diff.add {
386 color: #008800;
387 }
388
389 div.diff.from_file a.path,
390 div.diff.from_file {
391 color: #ff0000;
392 }
393
394 div.diff.rem {
395 color: #cc0000;
396 }
397
398 div.diff.chunk_header a,
399 div.diff.chunk_header {
400 color: #990099;
401 }
402
403 div.diff.chunk_header {
404 border: dotted #ffe0ff;
405 border-width: 1px 0px 0px 0px;
406 margin-top: 2px;
407 }
408
409 div.diff.chunk_header span.chunk_info {
410 background-color: #000000;
411 }
412
413 div.diff.chunk_header span.section {
414 color: #aa22aa;
415 }
416
417 div.diff.incomplete {
418 color: #cccccc;
419 }
420
421 div.diff.nodifferences {
422 font-weight: bold;
423 color: #600000;
424 }
425
426 div.index_include {
427 border: solid #d9d8d1;
428 border-width: 0px 0px 1px;
429 padding: 12px 8px;
430 }
431
432 div.search {
433 font-size: 100%;
434 font-weight: normal;
435 margin: 4px 8px;
436 float: right;
437 top: 56px;
438 right: 12px
439 }
440
441 td.linenr {
442 text-align: right;
443 }
444
445 a.linenr {
446 color: #999999;
447 text-decoration: none
448 }
449
450 a.rss_logo {
451 float: right;
452 padding: 3px 0px;
453 width: 35px;
454 line-height: 10px;
455 border: 1px solid;
456 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
457 color: #ffffff;
458 background-color: #ff6600;
459 font-weight: bold;
460 font-family: sans-serif;
461 font-size: 70%;
462 text-align: center;
463 text-decoration: none;
464 }
465
466 a.rss_logo:hover {
467 background-color: #ee5500;
468 }
469
470 span.refs span {
471 padding: 0px 4px;
472 font-size: 70%;
473 font-weight: normal;
474 border: 1px solid;
475 background-color: #222222;
476 border-color: #ffccff #ff00ee #ff00ee #ffccff;
477 }
478
479 span.refs span.ref {
480 background-color: #aaaaff;
481 border-color: #ccccff #0033cc #0033cc #ccccff;
482 }
483
484 span.refs span.tag {
485 background-color: #ffffaa;
486 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
487 }
488
489 span.refs span.head {
490 background-color: #222222;
491 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
492 }
493
494 span.atnight {
495 color: #cc0000;
496 }
497
498 span.match {
499 color: #e00000;
500 }
501
502 div.binary {
503 font-style: italic;
504 }