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