Merge branch 'sb/gitweb-link-author'
[alt-git.git] / gitweb / gitweb.css
blobcb3f0baf05e8a48484132bb8936b4f46f22493ed
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;
11 a {
12 color: #0000cc;
15 a:hover, a:visited, a:active {
16 color: #880000;
19 span.cntrl {
20 border: dashed #aaaaaa;
21 border-width: 1px;
22 padding: 0px 2px 0px 2px;
23 margin: 0px 2px 0px 2px;
26 img.logo {
27 float: right;
28 border-width: 0px;
31 img.avatar {
32 vertical-align: middle;
35 a.list img.avatar {
36 border-style: none;
39 div.page_header {
40 height: 25px;
41 padding: 8px;
42 font-size: 150%;
43 font-weight: bold;
44 background-color: #d9d8d1;
47 div.page_header a:visited, a.header {
48 color: #0000cc;
51 div.page_header a:hover {
52 color: #880000;
55 div.page_nav {
56 padding: 8px;
59 div.page_nav a:visited {
60 color: #0000cc;
63 div.page_path {
64 padding: 8px;
65 font-weight: bold;
66 border: solid #d9d8d1;
67 border-width: 0px 0px 1px;
70 div.page_footer {
71 height: 17px;
72 padding: 4px 8px;
73 background-color: #d9d8d1;
76 div.page_footer_text {
77 float: left;
78 color: #555555;
79 font-style: italic;
82 div.page_body {
83 padding: 8px;
84 font-family: monospace;
87 div.title, a.title {
88 display: block;
89 padding: 6px 8px;
90 font-weight: bold;
91 background-color: #edece6;
92 text-decoration: none;
93 color: #000000;
96 div.readme {
97 padding: 8px;
100 a.title:hover {
101 background-color: #d9d8d1;
104 div.title_text {
105 padding: 6px 0px;
106 border: solid #d9d8d1;
107 border-width: 0px 0px 1px;
108 font-family: monospace;
111 div.log_body {
112 padding: 8px 8px 8px 150px;
115 span.age {
116 position: relative;
117 float: left;
118 width: 142px;
119 font-style: italic;
122 span.signoff {
123 color: #888888;
126 div.log_link {
127 padding: 0px 8px;
128 font-size: 70%;
129 font-family: sans-serif;
130 font-style: normal;
131 position: relative;
132 float: left;
133 width: 136px;
136 div.list_head {
137 padding: 6px 8px 4px;
138 border: solid #d9d8d1;
139 border-width: 1px 0px 0px;
140 font-style: italic;
143 .author_date, .author {
144 font-style: italic;
147 div.author_date {
148 padding: 8px;
149 border: solid #d9d8d1;
150 border-width: 0px 0px 1px 0px;
153 a.list {
154 text-decoration: none;
155 color: #000000;
158 a.subject, a.name {
159 font-weight: bold;
162 table.tags a.subject {
163 font-weight: normal;
166 a.list:hover {
167 text-decoration: underline;
168 color: #880000;
171 a.text {
172 text-decoration: none;
173 color: #0000cc;
176 a.text:visited {
177 text-decoration: none;
178 color: #880000;
181 a.text:hover {
182 text-decoration: underline;
183 color: #880000;
186 table {
187 padding: 8px 4px;
188 border-spacing: 0;
191 table.diff_tree {
192 font-family: monospace;
195 table.combined.diff_tree th {
196 text-align: center;
199 table.combined.diff_tree td {
200 padding-right: 24px;
203 table.combined.diff_tree th.link,
204 table.combined.diff_tree td.link {
205 padding: 0px 2px;
208 table.combined.diff_tree td.nochange a {
209 color: #6666ff;
212 table.combined.diff_tree td.nochange a:hover,
213 table.combined.diff_tree td.nochange a:visited {
214 color: #d06666;
217 table.blame {
218 border-collapse: collapse;
221 table.blame td {
222 padding: 0px 5px;
223 font-size: 100%;
224 vertical-align: top;
227 th {
228 padding: 2px 5px;
229 font-size: 100%;
230 text-align: left;
233 /* do not change row style on hover for 'blame' view */
234 tr.light,
235 table.blame .light:hover {
236 background-color: #ffffff;
239 tr.dark,
240 table.blame .dark:hover {
241 background-color: #f6f6f0;
244 /* currently both use the same, but it can change */
245 tr.light:hover,
246 tr.dark:hover {
247 background-color: #edece6;
250 /* boundary commits in 'blame' view */
251 /* and commits without "previous" */
252 tr.boundary td.sha1,
253 tr.no-previous td.linenr {
254 font-weight: bold;
257 td {
258 padding: 2px 5px;
259 font-size: 100%;
260 vertical-align: top;
263 td.link, td.selflink {
264 padding: 2px 5px;
265 font-family: sans-serif;
266 font-size: 70%;
269 td.selflink {
270 padding-right: 0px;
273 td.sha1 {
274 font-family: monospace;
277 .error {
278 color: red;
279 background-color: yellow;
282 td.current_head {
283 text-decoration: underline;
286 table.diff_tree span.file_status.new {
287 color: #008000;
290 table.diff_tree span.file_status.deleted {
291 color: #c00000;
294 table.diff_tree span.file_status.moved,
295 table.diff_tree span.file_status.mode_chnge {
296 color: #777777;
299 table.diff_tree span.file_status.copied {
300 color: #70a070;
303 /* noage: "No commits" */
304 table.project_list td.noage {
305 color: #808080;
306 font-style: italic;
309 /* age2: 60*60*24*2 <= age */
310 table.project_list td.age2, table.blame td.age2 {
311 font-style: italic;
314 /* age1: 60*60*2 <= age < 60*60*24*2 */
315 table.project_list td.age1 {
316 color: #009900;
317 font-style: italic;
320 table.blame td.age1 {
321 color: #009900;
322 background: transparent;
325 /* age0: age < 60*60*2 */
326 table.project_list td.age0 {
327 color: #009900;
328 font-style: italic;
329 font-weight: bold;
332 table.blame td.age0 {
333 color: #009900;
334 background: transparent;
335 font-weight: bold;
338 td.pre, div.pre, div.diff {
339 font-family: monospace;
340 font-size: 12px;
341 white-space: pre;
344 td.mode {
345 font-family: monospace;
348 /* format of (optional) objects size in 'tree' view */
349 td.size {
350 font-family: monospace;
351 text-align: right;
354 /* styling of diffs (patchsets): commitdiff and blobdiff views */
355 div.diff.header,
356 div.diff.extended_header {
357 white-space: normal;
360 div.diff.header {
361 font-weight: bold;
363 background-color: #edece6;
365 margin-top: 4px;
366 padding: 4px 0px 2px 0px;
367 border: solid #d9d8d1;
368 border-width: 1px 0px 1px 0px;
371 div.diff.header a.path {
372 text-decoration: underline;
375 div.diff.extended_header,
376 div.diff.extended_header a.path,
377 div.diff.extended_header a.hash {
378 color: #777777;
381 div.diff.extended_header .info {
382 color: #b0b0b0;
385 div.diff.extended_header {
386 background-color: #f6f5ee;
387 padding: 2px 0px 2px 0px;
390 div.diff a.list,
391 div.diff a.path,
392 div.diff a.hash {
393 text-decoration: none;
396 div.diff a.list:hover,
397 div.diff a.path:hover,
398 div.diff a.hash:hover {
399 text-decoration: underline;
402 div.diff.to_file a.path,
403 div.diff.to_file {
404 color: #007000;
407 div.diff.add {
408 color: #008800;
411 div.diff.from_file a.path,
412 div.diff.from_file {
413 color: #aa0000;
416 div.diff.rem {
417 color: #cc0000;
420 div.diff.chunk_header a,
421 div.diff.chunk_header {
422 color: #990099;
425 div.diff.chunk_header {
426 border: dotted #ffe0ff;
427 border-width: 1px 0px 0px 0px;
428 margin-top: 2px;
431 div.diff.chunk_header span.chunk_info {
432 background-color: #ffeeff;
435 div.diff.chunk_header span.section {
436 color: #aa22aa;
439 div.diff.incomplete {
440 color: #cccccc;
443 div.diff.nodifferences {
444 font-weight: bold;
445 color: #600000;
448 div.index_include {
449 border: solid #d9d8d1;
450 border-width: 0px 0px 1px;
451 padding: 12px 8px;
454 div.search {
455 font-size: 100%;
456 font-weight: normal;
457 margin: 4px 8px;
458 float: right;
459 top: 56px;
460 right: 12px
463 p.projsearch {
464 text-align: center;
467 td.linenr {
468 text-align: right;
471 a.linenr {
472 color: #999999;
473 text-decoration: none
476 a.rss_logo {
477 float: right;
478 padding: 3px 0px;
479 width: 35px;
480 line-height: 10px;
481 border: 1px solid;
482 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
483 color: #ffffff;
484 background-color: #ff6600;
485 font-weight: bold;
486 font-family: sans-serif;
487 font-size: 70%;
488 text-align: center;
489 text-decoration: none;
492 a.rss_logo:hover {
493 background-color: #ee5500;
496 a.rss_logo.generic {
497 background-color: #ff8800;
500 a.rss_logo.generic:hover {
501 background-color: #ee7700;
504 span.refs span {
505 padding: 0px 4px;
506 font-size: 70%;
507 font-weight: normal;
508 border: 1px solid;
509 background-color: #ffaaff;
510 border-color: #ffccff #ff00ee #ff00ee #ffccff;
513 span.refs span a {
514 text-decoration: none;
515 color: inherit;
518 span.refs span a:hover {
519 text-decoration: underline;
522 span.refs span.indirect {
523 font-style: italic;
526 span.refs span.ref {
527 background-color: #aaaaff;
528 border-color: #ccccff #0033cc #0033cc #ccccff;
531 span.refs span.tag {
532 background-color: #ffffaa;
533 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
536 span.refs span.head {
537 background-color: #aaffaa;
538 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
541 span.atnight {
542 color: #cc0000;
545 span.match {
546 color: #e00000;
549 div.binary {
550 font-style: italic;