]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
80680c923b283f577fb7ea8b912517a1c6ad6ac6
[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 }
174
175 td.ls-size {
176         font-family: monospace;
177 }
178
179 td.ls-mode {
180         font-family: monospace;
181 }
182
183 table.blob {
184         margin-top: 0.5em;
185         border-top: solid 1px black;
186 }
187
188 table.blob td.no {
189         border-right: solid 1px black;
190         color: black;
191         background-color: #eee;
192         text-align: right;
193 }
194
195 table.blob td.no a {
196         color: black;
197 }
198
199 table.blob td.no a:hover {
200         color: black;
201         text-decoration: none;
202 }
203
204 table.blob td.txt {
205         white-space: pre;
206         font-family: monospace;
207         padding-left: 0.5em;
208 }
209
210 table.nowrap td {
211         white-space: nowrap;
212 }
213
214 table.commit-info {
215         border-collapse: collapse;
216         margin-top: 1.5em;
217 }
218
219 table.commit-info th {
220         text-align: left;
221         font-weight: normal;
222         padding: 0.1em 1em 0.1em 0.1em;
223         vertical-align: top;
224 }
225
226 table.commit-info td {
227         font-weight: normal;
228         padding: 0.1em 1em 0.1em 0.1em;
229 }
230
231 div.commit-subject {
232         font-weight: bold;
233         font-size: 125%;
234         margin: 1.5em 0em 0.5em 0em;
235         padding: 0em;
236 }
237
238 div.commit-msg {
239         white-space: pre;
240         font-family: monospace;
241 }
242
243 div.diffstat-header {
244         font-weight: bold;
245         padding-top: 1.5em;
246 }
247
248 table.diffstat {
249         border-collapse: collapse;
250         border: solid 1px #aaa;
251         background-color: #eee;
252 }
253
254 table.diffstat th {
255         font-weight: normal;
256         text-align: left;
257         text-decoration: underline;
258         padding: 0.1em 1em 0.1em 0.1em;
259         font-size: 100%;
260 }
261
262 table.diffstat td {
263         padding: 0.2em 0.2em 0.1em 0.1em;
264         font-size: 100%;
265         border: none;
266 }
267
268 table.diffstat td.mode {
269         white-space: nowrap;
270 }
271
272 table.diffstat td span.modechange {
273         padding-left: 1em;
274         color: red;
275 }
276
277 table.diffstat td.add a {
278         color: green;
279 }
280
281 table.diffstat td.del a {
282         color: red;
283 }
284
285 table.diffstat td.upd a {
286         color: blue;
287 }
288
289 table.diffstat td.graph {
290         width: 500px;
291         vertical-align: middle;
292 }
293
294 table.diffstat td.graph table {
295         border: none;
296 }
297
298 table.diffstat td.graph td {
299         padding: 0px;
300         border: 0px;
301         height: 7pt;
302 }
303
304 table.diffstat td.graph td.add {
305         background-color: #5c5;
306 }
307
308 table.diffstat td.graph td.rem {
309         background-color: #c55;
310 }
311
312 div.diffstat-summary {
313         color: #888;
314         padding-top: 0.5em;
315 }
316
317 table.diff {
318         width: 100%;
319 }
320
321 table.diff td {
322         font-family: monospace;
323         white-space: pre;
324 }
325
326 table.diff td div.head {
327         font-weight: bold;
328         margin-top: 1em;
329         color: black;
330 }
331
332 table.diff td div.hunk {
333         color: #009;
334 }
335
336 table.diff td div.add {
337         color: green;
338 }
339
340 table.diff td div.del {
341         color: red;
342 }
343
344 .sha1 {
345         font-family: monospace;
346         font-size: 90%;
347 }
348
349 .left {
350         text-align: left;
351 }
352
353 .right {
354         text-align: right;
355 }
356
357 table.list td.repogroup {
358         font-style: italic;
359         color: #888;
360 }
361
362 a.button {
363         font-size: 80%;
364         color: #aaa;
365         background-color: #eee;
366         border: solid 1px #aaa;
367         padding: 0em 0.5em;
368         margin: 0.1em 0.25em;
369 }
370
371 a.button:hover {
372         text-decoration: none;
373         color: #333;
374         background-color: #ccc;
375 }
376
377 a.primary {
378         font-size: 100%;
379 }
380
381 a.secondary {
382         font-size: 90%;
383 }
384
385 td.toplevel-repo {
386
387 }
388
389 table.list td.sublevel-repo {
390         padding-left: 1.5em;
391 }
392
393 span.age-mins {
394         font-weight: bold;
395         color: #080;
396 }
397
398 span.age-hours {
399         color: #080;
400 }
401
402 span.age-days {
403         color: #040;
404 }
405
406 span.age-weeks {
407         color: #444;
408 }
409
410 span.age-months {
411         color: #888;
412 }
413
414 span.age-years {
415         color: #bbb;
416 }