gitweb: Do not use absolute font sizes
[git/dscho.git] / gitweb / gitweb.css
blobb57c8beccb50a94f910cd3bf48ae1c57cf6c1bb8
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;
10 a {
11 color: #0000cc;
14 a:hover, a:visited, a:active {
15 color: #880000;
18 span.cntrl {
19 border: dashed #aaaaaa;
20 border-width: 1px;
21 padding: 0px 2px 0px 2px;
22 margin: 0px 2px 0px 2px;
25 img.logo {
26 float: right;
27 border-width: 0px;
30 div.page_header {
31 height: 25px;
32 padding: 8px;
33 font-size: 150%;
34 font-weight: bold;
35 background-color: #d9d8d1;
38 div.page_header a:visited, a.header {
39 color: #0000cc;
42 div.page_header a:hover {
43 color: #880000;
46 div.page_nav {
47 padding: 8px;
50 div.page_nav a:visited {
51 color: #0000cc;
54 div.page_path {
55 padding: 8px;
56 font-weight: bold;
57 border: solid #d9d8d1;
58 border-width: 0px 0px 1px;
61 div.page_footer {
62 height: 17px;
63 padding: 4px 8px;
64 background-color: #d9d8d1;
67 div.page_footer_text {
68 float: left;
69 color: #555555;
70 font-style: italic;
73 div.page_body {
74 padding: 8px;
75 font-family: monospace;
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;
87 a.title:hover {
88 background-color: #d9d8d1;
91 div.title_text {
92 padding: 6px 0px;
93 border: solid #d9d8d1;
94 border-width: 0px 0px 1px;
95 font-family: monospace;
98 div.log_body {
99 padding: 8px 8px 8px 150px;
102 span.age {
103 position: relative;
104 float: left;
105 width: 142px;
106 font-style: italic;
109 span.signoff {
110 color: #888888;
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;
123 div.list_head {
124 padding: 6px 8px 4px;
125 border: solid #d9d8d1;
126 border-width: 1px 0px 0px;
127 font-style: italic;
130 div.author_date {
131 padding: 8px;
132 border: solid #d9d8d1;
133 border-width: 0px 0px 1px 0px;
134 font-style: italic;
137 a.list {
138 text-decoration: none;
139 color: #000000;
142 a.subject, a.name {
143 font-weight: bold;
146 table.tags a.subject {
147 font-weight: normal;
150 a.list:hover {
151 text-decoration: underline;
152 color: #880000;
155 a.text {
156 text-decoration: none;
157 color: #0000cc;
160 a.text:visited {
161 text-decoration: none;
162 color: #880000;
165 a.text:hover {
166 text-decoration: underline;
167 color: #880000;
170 table {
171 padding: 8px 4px;
174 table.project_list {
175 border-spacing: 0;
178 table.diff_tree {
179 border-spacing: 0;
180 font-family: monospace;
183 table.combined.diff_tree td {
184 padding-right: 24px;
187 table.combined.diff_tree td.link {
188 padding: 0px 2px;
191 table.combined.diff_tree td.nochange a {
192 color: #6666ff;
195 table.combined.diff_tree td.nochange a:hover,
196 table.combined.diff_tree td.nochange a:visited {
197 color: #d06666;
200 table.blame {
201 border-collapse: collapse;
204 table.blame td {
205 padding: 0px 5px;
206 font-size: 100%;
207 vertical-align: top;
210 th {
211 padding: 2px 5px;
212 font-size: 100%;
213 text-align: left;
216 tr.light:hover {
217 background-color: #edece6;
220 tr.dark {
221 background-color: #f6f6f0;
224 tr.dark2 {
225 background-color: #f6f6f0;
228 tr.dark:hover {
229 background-color: #edece6;
232 td {
233 padding: 2px 5px;
234 font-size: 100%;
235 vertical-align: top;
238 td.link, td.selflink {
239 padding: 2px 5px;
240 font-family: sans-serif;
241 font-size: 70%;
244 td.selflink {
245 padding-right: 0px;
248 td.sha1 {
249 font-family: monospace;
252 td.error {
253 color: red;
254 background-color: yellow;
257 td.current_head {
258 text-decoration: underline;
261 table.diff_tree span.file_status.new {
262 color: #008000;
265 table.diff_tree span.file_status.deleted {
266 color: #c00000;
269 table.diff_tree span.file_status.moved,
270 table.diff_tree span.file_status.mode_chnge {
271 color: #777777;
274 table.diff_tree span.file_status.copied {
275 color: #70a070;
278 /* age2: 60*60*24*2 <= age */
279 table.project_list td.age2, table.blame td.age2 {
280 font-style: italic;
283 /* age1: 60*60*2 <= age < 60*60*24*2 */
284 table.project_list td.age1 {
285 color: #009900;
286 font-style: italic;
289 table.blame td.age1 {
290 color: #009900;
291 background: transparent;
294 /* age0: age < 60*60*2 */
295 table.project_list td.age0 {
296 color: #009900;
297 font-style: italic;
298 font-weight: bold;
301 table.blame td.age0 {
302 color: #009900;
303 background: transparent;
304 font-weight: bold;
307 td.pre, div.pre, div.diff {
308 font-family: monospace;
309 font-size: 12px;
310 white-space: pre;
313 td.mode {
314 font-family: monospace;
317 /* styling of diffs (patchsets): commitdiff and blobdiff views */
318 div.diff.header,
319 div.diff.extended_header {
320 white-space: normal;
323 div.diff.header {
324 font-weight: bold;
326 background-color: #edece6;
328 margin-top: 4px;
329 padding: 4px 0px 2px 0px;
330 border: solid #d9d8d1;
331 border-width: 1px 0px 1px 0px;
334 div.diff.header a.path {
335 text-decoration: underline;
338 div.diff.extended_header,
339 div.diff.extended_header a.path,
340 div.diff.extended_header a.hash {
341 color: #777777;
344 div.diff.extended_header .info {
345 color: #b0b0b0;
348 div.diff.extended_header {
349 background-color: #f6f5ee;
350 padding: 2px 0px 2px 0px;
353 div.diff a.list,
354 div.diff a.path,
355 div.diff a.hash {
356 text-decoration: none;
359 div.diff a.list:hover,
360 div.diff a.path:hover,
361 div.diff a.hash:hover {
362 text-decoration: underline;
365 div.diff.to_file a.path,
366 div.diff.to_file {
367 color: #007000;
370 div.diff.add {
371 color: #008800;
374 div.diff.from_file a.path,
375 div.diff.from_file {
376 color: #aa0000;
379 div.diff.rem {
380 color: #cc0000;
383 div.diff.chunk_header a,
384 div.diff.chunk_header {
385 color: #990099;
388 div.diff.chunk_header {
389 border: dotted #ffe0ff;
390 border-width: 1px 0px 0px 0px;
391 margin-top: 2px;
394 div.diff.chunk_header span.chunk_info {
395 background-color: #ffeeff;
398 div.diff.chunk_header span.section {
399 color: #aa22aa;
402 div.diff.incomplete {
403 color: #cccccc;
406 div.diff.nodifferences {
407 font-weight: bold;
408 color: #600000;
411 div.index_include {
412 border: solid #d9d8d1;
413 border-width: 0px 0px 1px;
414 padding: 12px 8px;
417 div.search {
418 font-size: 100%;
419 font-weight: normal;
420 margin: 4px 8px;
421 position: absolute;
422 top: 56px;
423 right: 12px
426 td.linenr {
427 text-align: right;
430 a.linenr {
431 color: #999999;
432 text-decoration: none
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;
451 a.rss_logo:hover {
452 background-color: #ee5500;
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;
464 span.refs span.ref {
465 background-color: #aaaaff;
466 border-color: #ccccff #0033cc #0033cc #ccccff;
469 span.refs span.tag {
470 background-color: #ffffaa;
471 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
474 span.refs span.head {
475 background-color: #aaffaa;
476 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
479 span.atnight {
480 color: #cc0000;
483 span.match {
484 color: #e00000;