]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
ui-tree: html/css cleanup
[cgit.git] / 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#logo {
99 text-align: right;
100 vertical-align: middle;
101 padding-right: 0.5em;
102 }
103
104 td#crumb, td#search {
105 color: #ccc;
106 border-top: solid 3px #555;
107 background-color: #666;
108 border-bottom: solid 1px #333;
109 padding: 2px 1em;
110 }
111
112 td#crumb {
113 font-weight: bold;
114 }
115
116 td#crumb a {
117 color: #ccc;
118 background-color: #666;
119 }
120
121 td#crumb a:hover {
122 color: #eee;
123 background-color: #666;
124 }
125
126 td#search {
127 text-align: right;
128 vertical-align: middle;
129 padding-right: 0.5em;
130 }
131
132 td#search form {
133 margin: 0px;
134 padding: 0px;
135 }
136
137 td#search input {
138 font-size: 9pt;
139 padding: 0px;
140 width: 10em;
141 border: solid 1px #333;
142 color: #333;
143 background-color: #fff;
144 }
145
146 div#summary {
147 vertical-align: top;
148 margin-bottom: 1em;
149 }
150
151 table#downloads {
152 float: right;
153 border-collapse: collapse;
154 border: solid 1px #777;
155 margin-left: 0.5em;
156 margin-bottom: 0.5em;
157 }
158
159 table#downloads th {
160 background-color: #ccc;
161 }
162
163 td#content {
164 padding: 1em 0.5em;
165 }
166
167 div#blob {
168 border: solid 1px black;
169 }
170
171 div.error {
172 color: red;
173 font-weight: bold;
174 margin: 1em 2em;
175 }
176
177 a.ls-blob, a.ls-dir, a.ls-mod {
178 font-family: monospace;
179 }
180
181 td.ls-size {
182 text-align: right;
183 }
184
185 td.ls-size {
186 font-family: monospace;
187 }
188
189 td.ls-mode {
190 font-family: monospace;
191 }
192
193 table.blob {
194 margin-top: 0.5em;
195 border-top: solid 1px black;
196 }
197
198 table.blob td.no {
199 border-right: solid 1px black;
200 color: black;
201 background-color: #eee;
202 text-align: right;
203 }
204
205 table.blob td.txt {
206 white-space: pre;
207 font-family: monospace;
208 padding-left: 0.5em;
209 }
210
211 table.nowrap td {
212 white-space: nowrap;
213 }
214
215 table.commit-info {
216 border-collapse: collapse;
217 margin-top: 1.5em;
218 }
219
220 table.commit-info th {
221 text-align: left;
222 font-weight: normal;
223 padding: 0.1em 1em 0.1em 0.1em;
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 width: 100%;
251 border: solid 1px #aaa;
252 background-color: #eee;
253 }
254
255 table.diffstat tr:hover {
256 background-color: #ccc;
257 }
258
259 table.diffstat th {
260 font-weight: normal;
261 text-align: left;
262 text-decoration: underline;
263 padding: 0.1em 1em 0.1em 0.1em;
264 font-size: 100%;
265 }
266
267 table.diffstat td {
268 padding: 0.2em 0.2em 0.1em 0.1em;
269 font-size: 100%;
270 border: none;
271 }
272
273 table.diffstat td.mode {
274 white-space: nowrap;
275 }
276
277 table.diffstat td span.modechange {
278 padding-left: 1em;
279 color: red;
280 }
281
282 table.diffstat td.add a {
283 color: green;
284 }
285
286 table.diffstat td.del a {
287 color: red;
288 }
289
290 table.diffstat td.upd a {
291 color: blue;
292 }
293
294 table.diffstat td.graph {
295 width: 75%;
296 vertical-align: middle;
297 }
298
299 table.diffstat td.graph table {
300 border: none;
301 }
302
303 table.diffstat td.graph td {
304 padding: 0px;
305 border: 0px;
306 height: 7pt;
307 }
308
309 table.diffstat td.graph td.add {
310 background-color: #5c5;
311 }
312
313 table.diffstat td.graph td.rem {
314 background-color: #c55;
315 }
316
317 div.diffstat-summary {
318 color: #888;
319 padding-top: 0.5em;
320 }
321
322 table.diff td {
323 font-family: monospace;
324 white-space: pre;
325 }
326
327 table.diff td div.head {
328 font-weight: bold;
329 padding-top: 1em;
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: #333;
365 background-color: #ccc;
366 border: solid 1px #999;
367 padding: 0em 0.5em;
368 margin: 0.1em 0.25em;
369 }
370
371 a.button:hover {
372 text-decoration: none;
373 background-color: #eee;
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 }