add automatic year change in copright <patch by patschi>
[gitweb.git] / 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 a.list img.avatar {
36 border-style: none;
37 }
38
39 div.page_header {
40 height: 25px;
41 padding: 8px;
42 font-size: 150%;
43 font-weight: bold;
44 background-color: #d9d8d1;
45 }
46
47 div.page_header a:visited, a.header {
48 color: #0000cc;
49 }
50
51 div.page_header a:hover {
52 color: #880000;
53 }
54
55 div.page_nav {
56 padding: 8px;
57 }
58
59 div.page_nav a:visited {
60 color: #0000cc;
61 }
62
63 div.page_path {
64 padding: 8px;
65 font-weight: bold;
66 border: solid #d9d8d1;
67 border-width: 0px 0px 1px;
68 }
69
70 div.page_footer {
71 height: 17px;
72 padding: 4px 8px;
73 background-color: #d9d8d1;
74 }
75
76 div.page_footer_text {
77 float: left;
78 color: #555555;
79 font-style: italic;
80 }
81
82 div#generating_info {
83 margin: 4px;
84 font-size: smaller;
85 text-align: center;
86 color: #505050;
87 }
88
89 div.page_body {
90 padding: 8px;
91 font-family: monospace;
92 }
93
94 div.title, a.title {
95 display: block;
96 padding: 6px 8px;
97 font-weight: bold;
98 background-color: #edece6;
99 text-decoration: none;
100 color: #000000;
101 }
102
103 div.readme {
104 padding: 8px;
105 }
106
107 a.title:hover {
108 background-color: #d9d8d1;
109 }
110
111 div.title_text {
112 padding: 6px 0px;
113 border: solid #d9d8d1;
114 border-width: 0px 0px 1px;
115 font-family: monospace;
116 }
117
118 div.log_body {
119 padding: 8px 8px 8px 150px;
120 }
121
122 span.age {
123 position: relative;
124 float: left;
125 width: 142px;
126 font-style: italic;
127 }
128
129 span.signoff {
130 color: #888888;
131 }
132
133 div.log_link {
134 padding: 0px 8px;
135 font-size: 70%;
136 font-family: sans-serif;
137 font-style: normal;
138 position: relative;
139 float: left;
140 width: 136px;
141 }
142
143 div.list_head {
144 padding: 6px 8px 4px;
145 border: solid #d9d8d1;
146 border-width: 1px 0px 0px;
147 font-style: italic;
148 }
149
150 .author_date, .author {
151 font-style: italic;
152 }
153
154 div.author_date {
155 padding: 8px;
156 border: solid #d9d8d1;
157 border-width: 0px 0px 1px 0px;
158 }
159
160 a.list {
161 text-decoration: none;
162 color: #000000;
163 }
164
165 a.subject, a.name {
166 font-weight: bold;
167 }
168
169 table.tags a.subject {
170 font-weight: normal;
171 }
172
173 a.list:hover {
174 text-decoration: underline;
175 color: #880000;
176 }
177
178 a.text {
179 text-decoration: none;
180 color: #0000cc;
181 }
182
183 a.text:visited {
184 text-decoration: none;
185 color: #880000;
186 }
187
188 a.text:hover {
189 text-decoration: underline;
190 color: #880000;
191 }
192
193 table {
194 padding: 8px 4px;
195 border-spacing: 0;
196 }
197
198 table.shortlog td {
199 padding: 0px 8px;
200 vertical-align: middle;
201 height:20px;
202 }
203
204 img.graph {
205 padding: 0px;
206 margin: 0px;
207 display: block;
208 }
209
210 table.diff_tree {
211 font-family: monospace;
212 }
213
214 table.combined.diff_tree th {
215 text-align: center;
216 }
217
218 table.combined.diff_tree td {
219 padding-right: 24px;
220 }
221
222 table.combined.diff_tree th.link,
223 table.combined.diff_tree td.link {
224 padding: 0px 2px;
225 }
226
227 table.combined.diff_tree td.nochange a {
228 color: #6666ff;
229 }
230
231 table.combined.diff_tree td.nochange a:hover,
232 table.combined.diff_tree td.nochange a:visited {
233 color: #d06666;
234 }
235
236 table.blame {
237 border-collapse: collapse;
238 }
239
240 table.blame td {
241 padding: 0px 5px;
242 font-size: 100%;
243 vertical-align: top;
244 }
245
246 th {
247 padding: 2px 5px;
248 font-size: 100%;
249 text-align: left;
250 }
251
252 /* do not change row style on hover for 'blame' view */
253 tr.light,
254 table.blame .light:hover {
255 background-color: #ffffff;
256 }
257
258 tr.dark,
259 table.blame .dark:hover {
260 background-color: #f6f6f0;
261 }
262
263 tr.header {
264 background-color: #d9d8d1;
265 }
266
267 tr.header td {
268 vertical-align: center;
269 }
270
271 /* currently both use the same, but it can change */
272 tr.light:hover,
273 tr.dark:hover {
274 background-color: #edece6;
275 }
276
277 /* boundary commits in 'blame' view */
278 /* and commits without "previous" */
279 tr.boundary td.sha1,
280 tr.no-previous td.linenr {
281 font-weight: bold;
282 }
283
284 /* for 'blame_incremental', during processing */
285 tr.color1 { background-color: #f6fff6; }
286 tr.color2 { background-color: #f6f6ff; }
287 tr.color3 { background-color: #fff6f6; }
288
289 td {
290 padding: 2px 5px;
291 font-size: 100%;
292 vertical-align: top;
293 }
294
295 td.link, td.selflink {
296 padding: 2px 5px;
297 font-family: sans-serif;
298 font-size: 70%;
299 }
300
301 td.selflink {
302 padding-right: 0px;
303 }
304
305 td.sha1 {
306 font-family: monospace;
307 }
308
309 .error {
310 color: red;
311 background-color: yellow;
312 }
313
314 td.current_head {
315 text-decoration: underline;
316 }
317
318 td.category {
319 background-color: #d9d8d1;
320 border-top: 1px solid #000000;
321 border-left: 1px solid #000000;
322 font-weight: bold;
323 }
324
325 table.diff_tree span.file_status.new {
326 color: #008000;
327 }
328
329 table.diff_tree span.file_status.deleted {
330 color: #c00000;
331 }
332
333 table.diff_tree span.file_status.moved,
334 table.diff_tree span.file_status.mode_chnge {
335 color: #777777;
336 }
337
338 table.diff_tree span.file_status.copied {
339 color: #70a070;
340 }
341
342 /* noage: "No commits" */
343 .noage {
344 color: #808080;
345 font-style: italic;
346 }
347
348 /* age2: 60*60*24*2 <= age */
349 .age2 {
350 font-style: italic;
351 }
352
353 /* age1: 60*60*2 <= age < 60*60*24*2 */
354 .age1 {
355 color: #009900;
356 background: transparent;
357 }
358
359 /* age0: age < 60*60*2 */
360
361 .age0 {
362 color: #009900;
363 background: transparent;
364 font-weight: bold;
365 }
366
367 td.pre, div.pre, div.diff {
368 font-family: monospace;
369 font-size: 12px;
370 white-space: pre;
371 }
372
373 td.mode {
374 font-family: monospace;
375 }
376
377 /* progress of blame_interactive */
378 div#progress_bar {
379 height: 2px;
380 margin-bottom: -2px;
381 background-color: #d8d9d0;
382 }
383 div#progress_info {
384 float: right;
385 text-align: right;
386 }
387
388 /* format of (optional) objects size in 'tree' view */
389 td.size {
390 font-family: monospace;
391 text-align: right;
392 }
393
394 /* styling of diffs (patchsets): commitdiff and blobdiff views */
395 div.diff.header,
396 div.diff.extended_header {
397 white-space: normal;
398 }
399
400 div.diff.header {
401 font-weight: bold;
402
403 background-color: #edece6;
404
405 margin-top: 4px;
406 padding: 4px 0px 2px 0px;
407 border: solid #d9d8d1;
408 border-width: 1px 0px 1px 0px;
409 }
410
411 div.diff.header a.path {
412 text-decoration: underline;
413 }
414
415 div.diff.extended_header,
416 div.diff.extended_header a.path,
417 div.diff.extended_header a.hash {
418 color: #777777;
419 }
420
421 div.diff.extended_header .info {
422 color: #b0b0b0;
423 }
424
425 div.diff.extended_header {
426 background-color: #f6f5ee;
427 padding: 2px 0px 2px 0px;
428 }
429
430 div.diff a.list,
431 div.diff a.path,
432 div.diff a.hash {
433 text-decoration: none;
434 }
435
436 div.diff a.list:hover,
437 div.diff a.path:hover,
438 div.diff a.hash:hover {
439 text-decoration: underline;
440 }
441
442 div.diff.to_file a.path,
443 div.diff.to_file {
444 color: #000000;
445 }
446
447 div.diff.from_file a.path,
448 div.diff.from_file {
449 color: #000000;
450 }
451 .rem ,
452 .from_file {
453 background-color: #ffdddd;
454 }
455 .add ,
456 .to_file{
457 background-color: #ddffdd;
458 }
459
460 div.diff.chunk_header a,
461 div.diff.chunk_header {
462 color: #999;
463 }
464
465
466 div.diff.chunk_header span.chunk_info {
467 background: #eaf2f5;
468 color: #999;
469 }
470 .chunk_header {
471 background: #eaf2f5;
472 color: #999;
473 }
474
475 div.diff.chunk_header span.section {
476 color: #999;
477 }
478
479 div.diff.incomplete {
480 color: #cccccc;
481 }
482
483 div.diff.nodifferences {
484 font-weight: bold;
485 color: #600000;
486 }
487
488 /* side-by-side diff */
489 div.chunk_block {
490 overflow: hidden;
491 }
492
493 div.chunk_block div.old {
494 float: left;
495 width: 50%;
496 overflow: hidden;
497 }
498
499 div.chunk_block div.new {
500 margin-left: 50%;
501 width: 50%;
502 }
503
504 div.chunk_block.rem div.old div.diff.rem {
505 background-color: #fff5f5;
506 }
507 div.chunk_block.add div.new div.diff.add {
508 background-color: #f8fff8;
509 }
510 div.chunk_block.chg div div.diff {
511 background-color: #fffff0;
512 }
513 div.chunk_block.ctx div div.diff.ctx {
514 color: #404040;
515 }
516
517 div.index_include {
518 border: solid #d9d8d1;
519 border-width: 0px 0px 1px;
520 padding: 12px 8px;
521 }
522
523 div.search {
524 font-size: 100%;
525 font-weight: normal;
526 margin: 4px 8px;
527 float: right;
528 top: 56px;
529 right: 12px
530 }
531
532 .projsearch {
533 text-align: center;
534 margin: 20px 0px;
535 }
536
537 div.projsearch form {
538 margin-bottom: 2px;
539 }
540
541 td.linenr {
542 text-align: right;
543 }
544
545 a.linenr {
546 color: #999999;
547 text-decoration: none
548 }
549
550 a.rss_logo {
551 float: right;
552 padding: 3px 0px;
553 width: 35px;
554 line-height: 10px;
555 border: 1px solid;
556 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
557 color: #ffffff;
558 background-color: #ff6600;
559 font-weight: bold;
560 font-family: sans-serif;
561 font-size: 70%;
562 text-align: center;
563 text-decoration: none;
564 }
565
566 a.rss_logo:hover {
567 background-color: #ee5500;
568 }
569
570 a.rss_logo.generic {
571 background-color: #ff8800;
572 }
573
574 a.rss_logo.generic:hover {
575 background-color: #ee7700;
576 }
577
578 span.refs span {
579 padding: 0px 4px;
580 font-size: 70%;
581 font-weight: normal;
582 border: 1px solid;
583 background-color: #ffaaff;
584 border-color: #ffccff #ff00ee #ff00ee #ffccff;
585 }
586
587 span.refs span a {
588 text-decoration: none;
589 color: inherit;
590 }
591
592 span.refs span a:hover {
593 text-decoration: underline;
594 }
595
596 span.refs span.indirect {
597 font-style: italic;
598 }
599
600 span.refs span.ref {
601 background-color: #aaaaff;
602 border-color: #ccccff #0033cc #0033cc #ccccff;
603 }
604
605 span.refs span.tag {
606 background-color: #ffffaa;
607 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
608 }
609
610 span.refs span.head {
611 background-color: #aaffaa;
612 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
613 }
614
615 span.atnight {
616 color: #cc0000;
617 }
618
619 span.match {
620 color: #e00000;
621 }
622
623 div.binary {
624 font-style: italic;
625 }
626
627 div.remote {
628 margin: .5em;
629 border: 1px solid #d9d8d1;
630 display: inline-block;
631 }
632
633 /* JavaScript-based timezone manipulation */
634
635 .popup { /* timezone selection UI */
636 position: absolute;
637 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
638 top: 0; left: 0;
639 border: 1px solid;
640 padding: 2px;
641 background-color: #f0f0f0;
642 font-style: normal;
643 color: #000000;
644 cursor: auto;
645 }
646
647 .close-button { /* close timezone selection UI without selecting */
648 /* float doesn't work within absolutely positioned container,
649 * if width of container is not set explicitly */
650 /* float: right; */
651 position: absolute;
652 top: 0px; right: 0px;
653 border: 1px solid green;
654 margin: 1px 1px 1px 1px;
655 padding-bottom: 2px;
656 width: 12px;
657 height: 10px;
658 font-size: 9px;
659 font-weight: bold;
660 text-align: center;
661 background-color: #fff0f0;
662 cursor: pointer;
663 }
664
665 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
666
667 /* Highlighting theme definition: */
668
669 .num { color:#2928ff; }
670 .esc { color:#ff00ff; }
671 .str { color:#ff0000; }
672 .dstr { color:#818100; }
673 .slc { color:#838183; font-style:italic; }
674 .com { color:#838183; font-style:italic; }
675 .dir { color:#008200; }
676 .sym { color:#000000; }
677 .line { color:#555555; }
678 .kwa { color:#000000; font-weight:bold; }
679 .kwb { color:#830000; }
680 .kwc { color:#000000; font-weight:bold; }
681 .kwd { color:#010181; }