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