]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
Fix html error detected by test-suite
[ps-cgit] / cgit.css
1 body, table {
2         padding: 0em;
3         margin: 0em;
4 }
5
6 body {
7         font-family: sans;
8         font-size: 10pt;
9         color: #333;
10         background: white;
11         padding-left: 4px;
12 }
13
14 table {
15       border-collapse: collapse;
16 }
17
18 h2 {
19         font-size: 120%;
20         font-weight: bold;
21         margin-top: 0em;
22         margin-bottom: 0.25em;
23 }
24
25 h3 {
26         margin-top: 0em;
27         font-size: 100%;
28         font-weight: normal;
29 }
30
31 h4 {
32         margin-top: 1.5em;
33         margin-bottom: 0.1em;
34         font-size: 100%;
35         font-weight: bold;
36 }
37
38 a {
39         color: #600;
40         text-decoration: none;
41 }
42
43 a:hover {
44         background-color: #ddd;
45         text-decoration: none;
46 }
47
48 table.list {
49         border: none;
50         border-collapse: collapse;
51 }
52
53 table.list tr {
54         background: white;
55 }
56
57 table.list tr:hover {
58         background: #f8f8f8;
59 }
60
61 table.list tr.nohover:hover {
62         background: white;
63 }
64
65 table.list th {
66         font-weight: bold;
67         border-bottom: solid 1px #777;
68         padding: 0.1em 0.5em 0.1em 0.5em;
69         vertical-align: baseline;
70 }
71
72 table.list td {
73         border: none;
74         padding: 0.1em 0.5em 0.1em 0.5em;
75 }
76
77 img {
78         border: none;
79 }
80
81 div#sidebar {
82         vertical-align: top;
83         width: 162px;
84         padding: 0px 0px 0px 0px;
85         margin: 4px;
86         float: left;
87 }
88
89 div#logo {
90         margin: 0px;
91         padding: 4px 0px 4px 0px;
92         text-align: center;
93         background-color: #ccc;
94         border-top: solid 1px #eee;
95         border-left: solid 1px #eee;
96         border-right: solid 1px #aaa;
97         border-bottom: solid 1px #aaa;
98 }
99
100 div#sidebar div.infobox {
101         margin: 0px 0px 0px 0px;
102         padding: 0.5em;
103         text-align: left;
104         background-color: #ccc;
105         border-top: solid 1px #eee;
106         border-left: solid 1px #eee;
107         border-right: solid 1px #aaa;
108         border-bottom: solid 1px #aaa;
109 }
110
111 div#sidebar div.infobox h1 {
112         font-size: 10pt;
113         font-weight: bold;
114         margin: 8px 0px 0px 0px;
115 }
116
117 div#sidebar div.infobox h1.first {
118         margin-top: 0px;
119 }
120
121 div#sidebar div.infobox a.menu {
122         display: block;
123         background-color: #ccc;
124         padding: 0.1em 0.5em;
125         text-decoration: none;
126 }
127
128 div#sidebar div.infobox a.menu:hover {
129         background-color: #bbb;
130         text-decoration: none;
131 }
132
133 div#sidebar div.infobox select {
134         width: 100%;
135         margin: 2px 0px 0px 0px;
136 }
137
138 td#branch-dropdown-cell {
139         width: 99%;
140 }
141
142 input#switch-btn {
143         width: 20px;
144         margin: 2px 0px 0px 0px;
145 }
146
147 div#sidebar div.infobox input.txt {
148         width: 100%;
149         margin: 2px 0px 0px 0px;
150 }
151
152 table#grid {
153         margin: 0px;
154 }
155
156 td#content {
157         vertical-align: top;
158         padding: 1em 2em 1em 1em;
159         border: none;
160 }
161
162 div#summary {
163         vertical-align: top;
164         margin-bottom: 1em;
165 }
166
167 table#downloads {
168         float: right;
169         border-collapse: collapse;
170         border: solid 1px #777;
171         margin-left: 0.5em;
172         margin-bottom: 0.5em;
173 }
174
175 table#downloads th {
176         background-color: #ccc;
177 }
178
179 div#blob {
180         border: solid 1px black;
181 }
182
183 div.error {
184         color: red;
185         font-weight: bold;
186         margin: 1em 2em;
187 }
188
189 a.ls-blob, a.ls-dir, a.ls-mod {
190         font-family: monospace;
191 }
192
193 td.ls-size {
194         text-align: right;
195 }
196
197 td.ls-size {
198         font-family: monospace;
199 }
200
201 td.ls-mode {
202         font-family: monospace;
203 }
204
205 table.blob {
206         margin-top: 0.5em;
207         border-top: solid 1px black;
208 }
209
210 table.blob td.no {
211         border-right: solid 1px black;
212         color: black;
213         background-color: #eee;
214         text-align: right;
215 }
216
217 table.blob td.no a {
218         color: black;
219 }
220
221 table.blob td.no a:hover {
222         color: black;
223         text-decoration: none;
224 }
225
226 table.blob td.txt {
227         white-space: pre;
228         font-family: monospace;
229         padding-left: 0.5em;
230 }
231
232 table.nowrap td {
233         white-space: nowrap;
234 }
235
236 table.commit-info {
237         border-collapse: collapse;
238         margin-top: 1.5em;
239 }
240
241 table.commit-info th {
242         text-align: left;
243         font-weight: normal;
244         padding: 0.1em 1em 0.1em 0.1em;
245         vertical-align: top;
246 }
247
248 table.commit-info td {
249         font-weight: normal;
250         padding: 0.1em 1em 0.1em 0.1em;
251 }
252
253 div.commit-subject {
254         font-weight: bold;
255         font-size: 125%;
256         margin: 1.5em 0em 0.5em 0em;
257         padding: 0em;
258 }
259
260 div.commit-msg {
261         white-space: pre;
262         font-family: monospace;
263 }
264
265 div.diffstat-header {
266         font-weight: bold;
267         padding-top: 1.5em;
268 }
269
270 table.diffstat {
271         border-collapse: collapse;
272         border: solid 1px #aaa;
273         background-color: #eee;
274 }
275
276 table.diffstat th {
277         font-weight: normal;
278         text-align: left;
279         text-decoration: underline;
280         padding: 0.1em 1em 0.1em 0.1em;
281         font-size: 100%;
282 }
283
284 table.diffstat td {
285         padding: 0.2em 0.2em 0.1em 0.1em;
286         font-size: 100%;
287         border: none;
288 }
289
290 table.diffstat td.mode {
291         white-space: nowrap;
292 }
293
294 table.diffstat td span.modechange {
295         padding-left: 1em;
296         color: red;
297 }
298
299 table.diffstat td.add a {
300         color: green;
301 }
302
303 table.diffstat td.del a {
304         color: red;
305 }
306
307 table.diffstat td.upd a {
308         color: blue;
309 }
310
311 table.diffstat td.graph {
312         width: 500px;
313         vertical-align: middle;
314 }
315
316 table.diffstat td.graph table {
317         border: none;
318 }
319
320 table.diffstat td.graph td {
321         padding: 0px;
322         border: 0px;
323         height: 7pt;
324 }
325
326 table.diffstat td.graph td.add {
327         background-color: #5c5;
328 }
329
330 table.diffstat td.graph td.rem {
331         background-color: #c55;
332 }
333
334 div.diffstat-summary {
335         color: #888;
336         padding-top: 0.5em;
337 }
338
339 table.diff {
340         width: 100%;
341 }
342
343 table.diff td {
344         font-family: monospace;
345         white-space: pre;
346 }
347
348 table.diff td div.head {
349         font-weight: bold;
350         margin-top: 1em;
351         background-color: #eee;
352 }
353
354 table.diff td div.hunk {
355         color: #009;
356 }
357
358 table.diff td div.add {
359         color: green;
360 }
361
362 table.diff td div.del {
363         color: red;
364 }
365
366 .sha1 {
367         font-family: monospace;
368         font-size: 90%;
369 }
370
371 .left {
372         text-align: left;
373 }
374
375 .right {
376         text-align: right;
377 }
378
379 table.list td.repogroup {
380         font-style: italic;
381         color: #888;
382 }
383
384 a.button {
385         font-size: 80%;
386         color: #aaa;
387         background-color: #eee;
388         border: solid 1px #aaa;
389         padding: 0em 0.5em;
390         margin: 0.1em 0.25em;
391 }
392
393 a.button:hover {
394         text-decoration: none;
395         color: #333;
396         background-color: #ccc;
397 }
398
399 a.primary {
400         font-size: 100%;
401 }
402
403 a.secondary {
404         font-size: 90%;
405 }
406
407 td.toplevel-repo {
408
409 }
410
411 table.list td.sublevel-repo {
412         padding-left: 1.5em;
413 }
414
415 span.age-mins {
416         font-weight: bold;
417         color: #080;
418 }
419
420 span.age-hours {
421         color: #080;
422 }
423
424 span.age-days {
425         color: #040;
426 }
427
428 span.age-weeks {
429         color: #444;
430 }
431
432 span.age-months {
433         color: #888;
434 }
435
436 span.age-years {
437         color: #bbb;
438 }