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