Code

gitweb: Style all tables using CSS
[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 }
11 a {
12         color: #0000cc;
13 }
15 a:hover, a:visited, a:active {
16         color: #880000;
17 }
19 span.cntrl {
20         border: dashed #aaaaaa;
21         border-width: 1px;
22         padding: 0px 2px 0px 2px;
23         margin:  0px 2px 0px 2px;
24 }
26 img.logo {
27         float: right;
28         border-width: 0px;
29 }
31 div.page_header {
32         height: 25px;
33         padding: 8px;
34         font-size: 150%;
35         font-weight: bold;
36         background-color: #d9d8d1;
37 }
39 div.page_header a:visited, a.header {
40         color: #0000cc;
41 }
43 div.page_header a:hover {
44         color: #880000;
45 }
47 div.page_nav {
48         padding: 8px;
49 }
51 div.page_nav a:visited {
52         color: #0000cc;
53 }
55 div.page_path {
56         padding: 8px;
57         font-weight: bold;
58         border: solid #d9d8d1;
59         border-width: 0px 0px 1px;
60 }
62 div.page_footer {
63         height: 17px;
64         padding: 4px 8px;
65         background-color: #d9d8d1;
66 }
68 div.page_footer_text {
69         float: left;
70         color: #555555;
71         font-style: italic;
72 }
74 div.page_body {
75         padding: 8px;
76         font-family: monospace;
77 }
79 div.title, a.title {
80         display: block;
81         padding: 6px 8px;
82         font-weight: bold;
83         background-color: #edece6;
84         text-decoration: none;
85         color: #000000;
86 }
88 a.title:hover {
89         background-color: #d9d8d1;
90 }
92 div.title_text {
93         padding: 6px 0px;
94         border: solid #d9d8d1;
95         border-width: 0px 0px 1px;
96         font-family: monospace;
97 }
99 div.log_body {
100         padding: 8px 8px 8px 150px;
103 span.age {
104         position: relative;
105         float: left;
106         width: 142px;
107         font-style: italic;
110 span.signoff {
111         color: #888888;
114 div.log_link {
115         padding: 0px 8px;
116         font-size: 70%;
117         font-family: sans-serif;
118         font-style: normal;
119         position: relative;
120         float: left;
121         width: 136px;
124 div.list_head {
125         padding: 6px 8px 4px;
126         border: solid #d9d8d1;
127         border-width: 1px 0px 0px;
128         font-style: italic;
131 div.author_date {
132         padding: 8px;
133         border: solid #d9d8d1;
134         border-width: 0px 0px 1px 0px;
135         font-style: italic;
138 a.list {
139         text-decoration: none;
140         color: #000000;
143 a.subject, a.name {
144         font-weight: bold;
147 table.tags a.subject {
148         font-weight: normal;
151 a.list:hover {
152         text-decoration: underline;
153         color: #880000;
156 a.text {
157         text-decoration: none;
158         color: #0000cc;
161 a.text:visited {
162         text-decoration: none;
163         color: #880000;
166 a.text:hover {
167         text-decoration: underline;
168         color: #880000;
171 table {
172         padding: 8px 4px;
173         border-spacing: 0;
176 table.diff_tree {
177         font-family: monospace;
180 table.combined.diff_tree th {
181         text-align: center;
184 table.combined.diff_tree td {
185         padding-right: 24px;
188 table.combined.diff_tree th.link,
189 table.combined.diff_tree td.link {
190         padding: 0px 2px;
193 table.combined.diff_tree td.nochange a {
194         color: #6666ff;
197 table.combined.diff_tree td.nochange a:hover,
198 table.combined.diff_tree td.nochange a:visited {
199         color: #d06666;
202 table.blame {
203         border-collapse: collapse;
206 table.blame td {
207         padding: 0px 5px;
208         font-size: 100%;
209         vertical-align: top;
212 th {
213         padding: 2px 5px;
214         font-size: 100%;
215         text-align: left;
218 tr.light:hover {
219         background-color: #edece6;
222 tr.dark {
223         background-color: #f6f6f0;
226 tr.dark2 {
227         background-color: #f6f6f0;
230 tr.dark:hover {
231         background-color: #edece6;
234 td {
235         padding: 2px 5px;
236         font-size: 100%;
237         vertical-align: top;
240 td.link, td.selflink {
241         padding: 2px 5px;
242         font-family: sans-serif;
243         font-size: 70%;
246 td.selflink {
247         padding-right: 0px;
250 td.sha1 {
251         font-family: monospace;
254 td.error {
255         color: red;
256         background-color: yellow;
259 td.current_head {
260         text-decoration: underline;
263 table.diff_tree span.file_status.new {
264         color: #008000;
267 table.diff_tree span.file_status.deleted {
268         color: #c00000;
271 table.diff_tree span.file_status.moved,
272 table.diff_tree span.file_status.mode_chnge {
273         color: #777777;
276 table.diff_tree span.file_status.copied {
277   color: #70a070;
280 /* noage: "No commits" */
281 table.project_list td.noage {
282         color: #808080;
283         font-style: italic;
286 /* age2: 60*60*24*2 <= age */
287 table.project_list td.age2, table.blame td.age2 {
288         font-style: italic;
291 /* age1: 60*60*2 <= age < 60*60*24*2 */
292 table.project_list td.age1 {
293         color: #009900;
294         font-style: italic;
297 table.blame td.age1 {
298         color: #009900;
299         background: transparent;
302 /* age0: age < 60*60*2 */
303 table.project_list td.age0 {
304         color: #009900;
305         font-style: italic;
306         font-weight: bold;
309 table.blame td.age0 {
310         color: #009900;
311         background: transparent;
312         font-weight: bold;
315 td.pre, div.pre, div.diff {
316         font-family: monospace;
317         font-size: 12px;
318         white-space: pre;
321 td.mode {
322         font-family: monospace;
325 /* styling of diffs (patchsets): commitdiff and blobdiff views */
326 div.diff.header,
327 div.diff.extended_header {
328         white-space: normal;
331 div.diff.header {
332         font-weight: bold;
334         background-color: #edece6;
336         margin-top: 4px;
337         padding: 4px 0px 2px 0px;
338         border: solid #d9d8d1;
339         border-width: 1px 0px 1px 0px;
342 div.diff.header a.path {
343         text-decoration: underline;
346 div.diff.extended_header,
347 div.diff.extended_header a.path,
348 div.diff.extended_header a.hash {
349         color: #777777;
352 div.diff.extended_header .info {
353         color: #b0b0b0;
356 div.diff.extended_header {
357         background-color: #f6f5ee;
358         padding: 2px 0px 2px 0px;
361 div.diff a.list,
362 div.diff a.path,
363 div.diff a.hash {
364         text-decoration: none;
367 div.diff a.list:hover,
368 div.diff a.path:hover,
369 div.diff a.hash:hover {
370         text-decoration: underline;
373 div.diff.to_file a.path,
374 div.diff.to_file {
375         color: #007000;
378 div.diff.add {
379         color: #008800;
382 div.diff.from_file a.path,
383 div.diff.from_file {
384         color: #aa0000;
387 div.diff.rem {
388         color: #cc0000;
391 div.diff.chunk_header a,
392 div.diff.chunk_header {
393         color: #990099;
396 div.diff.chunk_header {
397         border: dotted #ffe0ff;
398         border-width: 1px 0px 0px 0px;
399         margin-top: 2px;
402 div.diff.chunk_header span.chunk_info {
403         background-color: #ffeeff;
406 div.diff.chunk_header span.section {
407         color: #aa22aa;
410 div.diff.incomplete {
411         color: #cccccc;
414 div.diff.nodifferences {
415         font-weight: bold;
416         color: #600000;
419 div.index_include {
420         border: solid #d9d8d1;
421         border-width: 0px 0px 1px;
422         padding: 12px 8px;
425 div.search {
426         font-size: 100%;
427         font-weight: normal;
428         margin: 4px 8px;
429         float: right;
430         top: 56px;
431         right: 12px
434 td.linenr {
435         text-align: right;
438 a.linenr {
439         color: #999999;
440         text-decoration: none
443 a.rss_logo {
444         float: right;
445         padding: 3px 0px;
446         width: 35px;
447         line-height: 10px;
448         border: 1px solid;
449         border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
450         color: #ffffff;
451         background-color: #ff6600;
452         font-weight: bold;
453         font-family: sans-serif;
454         font-size: 70%;
455         text-align: center;
456         text-decoration: none;
459 a.rss_logo:hover {
460         background-color: #ee5500;
463 span.refs span {
464         padding: 0px 4px;
465         font-size: 70%;
466         font-weight: normal;
467         border: 1px solid;
468         background-color: #ffaaff;
469         border-color: #ffccff #ff00ee #ff00ee #ffccff;
472 span.refs span.ref {
473         background-color: #aaaaff;
474         border-color: #ccccff #0033cc #0033cc #ccccff;
477 span.refs span.tag {
478         background-color: #ffffaa;
479         border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
482 span.refs span.head {
483         background-color: #aaffaa;
484         border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
487 span.atnight {
488         color: #cc0000;
491 span.match {
492         color: #e00000;
495 div.binary {
496         font-style: italic;