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