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