]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
Do not require javascript-enabled clients
[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: 11pt;
113         font-weight: bold;
114         margin: 0px;
115 }
116
117 div#sidebar div.infobox a.menu {
118         display: block;
119         background-color: #ccc;
120         padding: 0.1em 0.5em;
121         text-decoration: none;
122 }
123
124 div#sidebar div.infobox a.menu:hover {
125         background-color: #bbb;
126         text-decoration: none;
127 }
128
129 div#sidebar div.infobox select {
130         width: 100%;
131         border: solid 1px #aaa;
132         background-color: #bbb;
133         margin: 2px 0px 0px 0px;
134         padding: 0px;
135 }
136
137 td#branch-dropdown-cell {
138         width: 99%;
139 }
140
141 input#switch-btn {
142         width: 20px;
143         border: solid 1px #aaa;
144         background-color: #bbb;
145         margin: 2px 0px 0px 0px;
146         padding: 0px;
147 }
148
149 div#sidebar div.infobox input.txt {
150         width: 100%;
151         border: solid 1px #aaa;
152         background-color: #bbb;
153         margin: 2px 0px 0px 0px;
154         padding: 0;
155 }
156
157 table#grid {
158         margin: 0px;
159 }
160
161 td#content {
162         vertical-align: top;
163         padding: 1em 2em 1em 1em;
164         border: none;
165 }
166
167 div#summary {
168         vertical-align: top;
169         margin-bottom: 1em;
170 }
171
172 table#downloads {
173         float: right;
174         border-collapse: collapse;
175         border: solid 1px #777;
176         margin-left: 0.5em;
177         margin-bottom: 0.5em;
178 }
179
180 table#downloads th {
181         background-color: #ccc;
182 }
183
184 div#blob {
185         border: solid 1px black;
186 }
187
188 div.error {
189         color: red;
190         font-weight: bold;
191         margin: 1em 2em;
192 }
193
194 a.ls-blob, a.ls-dir, a.ls-mod {
195         font-family: monospace;
196 }
197
198 td.ls-size {
199         text-align: right;
200 }
201
202 td.ls-size {
203         font-family: monospace;
204 }
205
206 td.ls-mode {
207         font-family: monospace;
208 }
209
210 table.blob {
211         margin-top: 0.5em;
212         border-top: solid 1px black;
213 }
214
215 table.blob td.no {
216         border-right: solid 1px black;
217         color: black;
218         background-color: #eee;
219         text-align: right;
220 }
221
222 table.blob td.no a {
223         color: black;
224 }
225
226 table.blob td.no a:hover {
227         color: black;
228         text-decoration: none;
229 }
230
231 table.blob td.txt {
232         white-space: pre;
233         font-family: monospace;
234         padding-left: 0.5em;
235 }
236
237 table.nowrap td {
238         white-space: nowrap;
239 }
240
241 table.commit-info {
242         border-collapse: collapse;
243         margin-top: 1.5em;
244 }
245
246 table.commit-info th {
247         text-align: left;
248         font-weight: normal;
249         padding: 0.1em 1em 0.1em 0.1em;
250         vertical-align: top;
251 }
252
253 table.commit-info td {
254         font-weight: normal;
255         padding: 0.1em 1em 0.1em 0.1em;
256 }
257
258 div.commit-subject {
259         font-weight: bold;
260         font-size: 125%;
261         margin: 1.5em 0em 0.5em 0em;
262         padding: 0em;
263 }
264
265 div.commit-msg {
266         white-space: pre;
267         font-family: monospace;
268 }
269
270 div.diffstat-header {
271         font-weight: bold;
272         padding-top: 1.5em;
273 }
274
275 table.diffstat {
276         border-collapse: collapse;
277         border: solid 1px #aaa;
278         background-color: #eee;
279 }
280
281 table.diffstat th {
282         font-weight: normal;
283         text-align: left;
284         text-decoration: underline;
285         padding: 0.1em 1em 0.1em 0.1em;
286         font-size: 100%;
287 }
288
289 table.diffstat td {
290         padding: 0.2em 0.2em 0.1em 0.1em;
291         font-size: 100%;
292         border: none;
293 }
294
295 table.diffstat td.mode {
296         white-space: nowrap;
297 }
298
299 table.diffstat td span.modechange {
300         padding-left: 1em;
301         color: red;
302 }
303
304 table.diffstat td.add a {
305         color: green;
306 }
307
308 table.diffstat td.del a {
309         color: red;
310 }
311
312 table.diffstat td.upd a {
313         color: blue;
314 }
315
316 table.diffstat td.graph {
317         width: 500px;
318         vertical-align: middle;
319 }
320
321 table.diffstat td.graph table {
322         border: none;
323 }
324
325 table.diffstat td.graph td {
326         padding: 0px;
327         border: 0px;
328         height: 7pt;
329 }
330
331 table.diffstat td.graph td.add {
332         background-color: #5c5;
333 }
334
335 table.diffstat td.graph td.rem {
336         background-color: #c55;
337 }
338
339 div.diffstat-summary {
340         color: #888;
341         padding-top: 0.5em;
342 }
343
344 table.diff {
345         width: 100%;
346 }
347
348 table.diff td {
349         font-family: monospace;
350         white-space: pre;
351 }
352
353 table.diff td div.head {
354         font-weight: bold;
355         margin-top: 1em;
356         background-color: #eee;
357 }
358
359 table.diff td div.hunk {
360         color: #009;
361 }
362
363 table.diff td div.add {
364         color: green;
365 }
366
367 table.diff td div.del {
368         color: red;
369 }
370
371 .sha1 {
372         font-family: monospace;
373         font-size: 90%;
374 }
375
376 .left {
377         text-align: left;
378 }
379
380 .right {
381         text-align: right;
382 }
383
384 table.list td.repogroup {
385         font-style: italic;
386         color: #888;
387 }
388
389 a.button {
390         font-size: 80%;
391         color: #aaa;
392         background-color: #eee;
393         border: solid 1px #aaa;
394         padding: 0em 0.5em;
395         margin: 0.1em 0.25em;
396 }
397
398 a.button:hover {
399         text-decoration: none;
400         color: #333;
401         background-color: #ccc;
402 }
403
404 a.primary {
405         font-size: 100%;
406 }
407
408 a.secondary {
409         font-size: 90%;
410 }
411
412 td.toplevel-repo {
413
414 }
415
416 table.list td.sublevel-repo {
417         padding-left: 1.5em;
418 }
419
420 span.age-mins {
421         font-weight: bold;
422         color: #080;
423 }
424
425 span.age-hours {
426         color: #080;
427 }
428
429 span.age-days {
430         color: #040;
431 }
432
433 span.age-weeks {
434         color: #444;
435 }
436
437 span.age-months {
438         color: #888;
439 }
440
441 span.age-years {
442         color: #bbb;
443 }