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