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