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