Code

gitweb: Refactor generation of shortlog, tags and heads body
[git.git] / gitweb / gitweb.css
1 body {
2         font-family: sans-serif;
3         font-size: 12px;
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 div.page_header {
20         height: 25px;
21         padding: 8px;
22         font-size: 18px;
23         font-weight: bold;
24         background-color: #d9d8d1;
25 }
27 div.page_header a:visited, a.header {
28         color: #0000cc;
29 }
31 div.page_header a:hover {
32         color: #880000;
33 }
35 div.page_nav {
36         padding: 8px;
37 }
39 div.page_nav a:visited {
40         color: #0000cc;
41 }
43 div.page_path {
44         padding: 8px;
45         border: solid #d9d8d1;
46         border-width: 0px 0px 1px;
47 }
49 div.page_footer {
50         height: 17px;
51         padding: 4px 8px;
52         background-color: #d9d8d1;
53 }
55 div.page_footer_text {
56         float: left;
57         color: #555555;
58         font-style: italic;
59 }
61 div.page_body {
62         padding: 8px;
63         font-family: monospace;
64 }
66 div.title, a.title {
67         display: block;
68         padding: 6px 8px;
69         font-weight: bold;
70         background-color: #edece6;
71         text-decoration: none;
72         color: #000000;
73 }
75 a.title:hover {
76         background-color: #d9d8d1;
77 }
79 div.title_text {
80         padding: 6px 0px;
81         border: solid #d9d8d1;
82         border-width: 0px 0px 1px;
83         font-family: monospace;
84 }
86 div.log_body {
87         padding: 8px 8px 8px 150px;
88 }
90 span.age {
91         position: relative;
92         float: left;
93         width: 142px;
94         font-style: italic;
95 }
97 div.page_body span.signoff {
98         color: #888888;
99 }
101 div.log_link {
102         padding: 0px 8px;
103         font-size: 10px;
104         font-family: sans-serif;
105         font-style: normal;
106         position: relative;
107         float: left;
108         width: 136px;
111 div.list_head {
112         padding: 6px 8px 4px;
113         border: solid #d9d8d1;
114         border-width: 1px 0px 0px;
115         font-style: italic;
118 a.list {
119         text-decoration: none;
120         color: #000000;
123 a.list:hover {
124         text-decoration: underline;
125         color: #880000;
128 a.text {
129         text-decoration: none;
130         color: #0000cc;
133 a.text:visited {
134         text-decoration: none;
135         color: #880000;
138 a.text:hover {
139         text-decoration: underline;
140         color: #880000;
143 table {
144         padding: 8px 4px;
147 table.project_list {
148         border-spacing: 0;
151 table.diff_tree {
152         border-spacing: 0;
153         font-family: monospace;
156 table.blame {
157         border-collapse: collapse;
160 th {
161         padding: 2px 5px;
162         font-size: 12px;
163         text-align: left;
166 tr.light:hover {
167         background-color: #edece6;
170 tr.dark {
171         background-color: #f6f6f0;
174 tr.dark:hover {
175         background-color: #edece6;
178 td {
179         padding: 2px 5px;
180         font-size: 12px;
181         vertical-align: top;
184 td.link, td.selflink {
185         padding: 2px 5px;
186         font-family: sans-serif;
187         font-size: 10px;
190 td.selflink {
191         padding-right: 0px;
194 td.sha1 {
195         font-family: monospace;
198 td.error {
199         color: red;
200         background-color: yellow;
203 td.current_head {
204         text-decoration: underline;
207 table.diff_tree span.file_status.new {
208         color: #008000;
211 table.diff_tree span.file_status.deleted {
212         color: #c00000;
215 table.diff_tree span.file_status.moved,
216 table.diff_tree span.file_status.mode_chnge {
217         color: #777777;
220 /* age2: 60*60*24*2 <= age */
221 table.project_list td.age2, table.blame td.age2 {
222         font-style: italic;
225 /* age1: 60*60*2 <= age < 60*60*24*2 */
226 table.project_list td.age1 {
227         color: #009900;
228         font-style: italic;
231 table.blame td.age1 {
232         color: #009900;
233         background: transparent;
236 /* age0: age < 60*60*2 */
237 table.project_list td.age0 {
238         color: #009900;
239         font-style: italic;
240         font-weight: bold;
243 table.blame td.age0 {
244         color: #009900;
245         background: transparent;
246         font-weight: bold;
249 td.pre, div.pre, div.diff {
250         font-family: monospace;
251         font-size: 12px;
252         white-space: pre;
255 td.mode {
256         font-family: monospace;
259 div.diff.add {
260         color: #008800;
263 div.diff.rem {
264         color: #cc0000;
267 div.diff.chunk_header {
268         color: #990099;
271 div.diff_info {
272         font-family: monospace;
273         color: #000099;
274         background-color: #edece6;
275         font-style: italic;
278 div.index_include {
279         border: solid #d9d8d1;
280         border-width: 0px 0px 1px;
281         padding: 12px 8px;
284 div.search {
285         margin: 4px 8px;
286         position: absolute;
287         top: 56px;
288         right: 12px
291 td.linenr {
292         text-align: right;
295 a.linenr {
296         color: #999999;
297         text-decoration: none
300 a.rss_logo {
301         float: right;
302         padding: 3px 0px;
303         width: 35px;
304         line-height: 10px;
305         border: 1px solid;
306         border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
307         color: #ffffff;
308         background-color: #ff6600;
309         font-weight: bold;
310         font-family: sans-serif;
311         font-size: 10px;
312         text-align: center;
313         text-decoration: none;
316 a.rss_logo:hover {
317         background-color: #ee5500;
320 span.tag {
321         padding: 0px 4px;
322         font-size: 10px;
323         font-weight: normal;
324         background-color: #ffffaa;
325         border: 1px solid;
326         border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
329 span.atnight {
330         color: #cc0000;
333 span.match {
334         color: #e00000;