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