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