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