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