-rw-r--r-- | cgit.css | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -99,96 +99,100 @@ table.tabs td.form select { | |||
99 | font-size: 90%; | 99 | font-size: 90%; |
100 | } | 100 | } |
101 | 101 | ||
102 | div.content { | 102 | div.content { |
103 | margin: 0px; | 103 | margin: 0px; |
104 | padding: 2em; | 104 | padding: 2em; |
105 | border-top: solid 3px #ccc; | 105 | border-top: solid 3px #ccc; |
106 | border-bottom: solid 3px #ccc; | 106 | border-bottom: solid 3px #ccc; |
107 | } | 107 | } |
108 | 108 | ||
109 | 109 | ||
110 | table.list { | 110 | table.list { |
111 | width: 100%; | 111 | width: 100%; |
112 | border: none; | 112 | border: none; |
113 | border-collapse: collapse; | 113 | border-collapse: collapse; |
114 | } | 114 | } |
115 | 115 | ||
116 | table.list tr { | 116 | table.list tr { |
117 | background: white; | 117 | background: white; |
118 | } | 118 | } |
119 | 119 | ||
120 | table.list tr:hover { | 120 | table.list tr:hover { |
121 | background: #eee; | 121 | background: #eee; |
122 | } | 122 | } |
123 | 123 | ||
124 | table.list tr.nohover:hover { | 124 | table.list tr.nohover:hover { |
125 | background: white; | 125 | background: white; |
126 | } | 126 | } |
127 | 127 | ||
128 | table.list th { | 128 | table.list th { |
129 | font-weight: bold; | 129 | font-weight: bold; |
130 | /* color: #888; | 130 | /* color: #888; |
131 | border-top: dashed 1px #888; | 131 | border-top: dashed 1px #888; |
132 | border-bottom: dashed 1px #888; | 132 | border-bottom: dashed 1px #888; |
133 | */ | 133 | */ |
134 | padding: 0.1em 0.5em 0.05em 0.5em; | 134 | padding: 0.1em 0.5em 0.05em 0.5em; |
135 | vertical-align: baseline; | 135 | vertical-align: baseline; |
136 | } | 136 | } |
137 | 137 | ||
138 | table.list td { | 138 | table.list td { |
139 | border: none; | 139 | border: none; |
140 | padding: 0.1em 0.5em 0.1em 0.5em; | 140 | padding: 0.1em 0.5em 0.1em 0.5em; |
141 | } | 141 | } |
142 | 142 | ||
143 | table.list td a { | 143 | table.list td a { |
144 | color: black; | 144 | color: black; |
145 | } | 145 | } |
146 | 146 | ||
147 | table.list td a:hover { | ||
148 | color: #00f; | ||
149 | } | ||
150 | |||
147 | img { | 151 | img { |
148 | border: none; | 152 | border: none; |
149 | } | 153 | } |
150 | 154 | ||
151 | input#switch-btn { | 155 | input#switch-btn { |
152 | margin: 2px 0px 0px 0px; | 156 | margin: 2px 0px 0px 0px; |
153 | } | 157 | } |
154 | 158 | ||
155 | td#sidebar input.txt { | 159 | td#sidebar input.txt { |
156 | width: 100%; | 160 | width: 100%; |
157 | margin: 2px 0px 0px 0px; | 161 | margin: 2px 0px 0px 0px; |
158 | } | 162 | } |
159 | 163 | ||
160 | table#grid { | 164 | table#grid { |
161 | margin: 0px; | 165 | margin: 0px; |
162 | } | 166 | } |
163 | 167 | ||
164 | td#content { | 168 | td#content { |
165 | vertical-align: top; | 169 | vertical-align: top; |
166 | padding: 1em 2em 1em 1em; | 170 | padding: 1em 2em 1em 1em; |
167 | border: none; | 171 | border: none; |
168 | } | 172 | } |
169 | 173 | ||
170 | div#summary { | 174 | div#summary { |
171 | vertical-align: top; | 175 | vertical-align: top; |
172 | margin-bottom: 1em; | 176 | margin-bottom: 1em; |
173 | } | 177 | } |
174 | 178 | ||
175 | table#downloads { | 179 | table#downloads { |
176 | float: right; | 180 | float: right; |
177 | border-collapse: collapse; | 181 | border-collapse: collapse; |
178 | border: solid 1px #777; | 182 | border: solid 1px #777; |
179 | margin-left: 0.5em; | 183 | margin-left: 0.5em; |
180 | margin-bottom: 0.5em; | 184 | margin-bottom: 0.5em; |
181 | } | 185 | } |
182 | 186 | ||
183 | table#downloads th { | 187 | table#downloads th { |
184 | background-color: #ccc; | 188 | background-color: #ccc; |
185 | } | 189 | } |
186 | 190 | ||
187 | div#blob { | 191 | div#blob { |
188 | border: solid 1px black; | 192 | border: solid 1px black; |
189 | } | 193 | } |
190 | 194 | ||
191 | div.error { | 195 | div.error { |
192 | color: red; | 196 | color: red; |
193 | font-weight: bold; | 197 | font-weight: bold; |
194 | margin: 1em 2em; | 198 | margin: 1em 2em; |
@@ -345,101 +349,91 @@ div.diffstat-summary { | |||
345 | 349 | ||
346 | table.diff { | 350 | table.diff { |
347 | width: 100%; | 351 | width: 100%; |
348 | } | 352 | } |
349 | 353 | ||
350 | table.diff td { | 354 | table.diff td { |
351 | font-family: monospace; | 355 | font-family: monospace; |
352 | white-space: pre; | 356 | white-space: pre; |
353 | } | 357 | } |
354 | 358 | ||
355 | table.diff td div.head { | 359 | table.diff td div.head { |
356 | font-weight: bold; | 360 | font-weight: bold; |
357 | margin-top: 1em; | 361 | margin-top: 1em; |
358 | color: black; | 362 | color: black; |
359 | } | 363 | } |
360 | 364 | ||
361 | table.diff td div.hunk { | 365 | table.diff td div.hunk { |
362 | color: #009; | 366 | color: #009; |
363 | } | 367 | } |
364 | 368 | ||
365 | table.diff td div.add { | 369 | table.diff td div.add { |
366 | color: green; | 370 | color: green; |
367 | } | 371 | } |
368 | 372 | ||
369 | table.diff td div.del { | 373 | table.diff td div.del { |
370 | color: red; | 374 | color: red; |
371 | } | 375 | } |
372 | 376 | ||
373 | .sha1 { | 377 | .sha1 { |
374 | font-family: monospace; | 378 | font-family: monospace; |
375 | font-size: 90%; | 379 | font-size: 90%; |
376 | } | 380 | } |
377 | 381 | ||
378 | .left { | 382 | .left { |
379 | text-align: left; | 383 | text-align: left; |
380 | } | 384 | } |
381 | 385 | ||
382 | .right { | 386 | .right { |
383 | text-align: right; | 387 | text-align: right; |
384 | } | 388 | } |
385 | 389 | ||
386 | table.list td.repogroup { | 390 | table.list td.repogroup { |
387 | font-style: italic; | 391 | font-style: italic; |
388 | color: #888; | 392 | color: #888; |
389 | } | 393 | } |
390 | 394 | ||
391 | a.button { | 395 | a.button { |
392 | font-size: 80%; | 396 | font-size: 80%; |
393 | color: #33c; | ||
394 | /* | ||
395 | background-color: #eee; | ||
396 | border: solid 1px #aaa; | ||
397 | margin: 0.1em 0.25em; | ||
398 | */ | ||
399 | padding: 0em 0.5em; | 397 | padding: 0em 0.5em; |
400 | } | 398 | } |
401 | 399 | ||
402 | a.button:hover { | ||
403 | text-decoration: underline; | ||
404 | } | ||
405 | |||
406 | a.primary { | 400 | a.primary { |
407 | font-size: 100%; | 401 | font-size: 100%; |
408 | } | 402 | } |
409 | 403 | ||
410 | a.secondary { | 404 | a.secondary { |
411 | font-size: 90%; | 405 | font-size: 90%; |
412 | } | 406 | } |
413 | 407 | ||
414 | td.toplevel-repo { | 408 | td.toplevel-repo { |
415 | 409 | ||
416 | } | 410 | } |
417 | 411 | ||
418 | table.list td.sublevel-repo { | 412 | table.list td.sublevel-repo { |
419 | padding-left: 1.5em; | 413 | padding-left: 1.5em; |
420 | } | 414 | } |
421 | 415 | ||
422 | span.age-mins { | 416 | span.age-mins { |
423 | font-weight: bold; | 417 | font-weight: bold; |
424 | color: #080; | 418 | color: #080; |
425 | } | 419 | } |
426 | 420 | ||
427 | span.age-hours { | 421 | span.age-hours { |
428 | color: #080; | 422 | color: #080; |
429 | } | 423 | } |
430 | 424 | ||
431 | span.age-days { | 425 | span.age-days { |
432 | color: #040; | 426 | color: #040; |
433 | } | 427 | } |
434 | 428 | ||
435 | span.age-weeks { | 429 | span.age-weeks { |
436 | color: #444; | 430 | color: #444; |
437 | } | 431 | } |
438 | 432 | ||
439 | span.age-months { | 433 | span.age-months { |
440 | color: #888; | 434 | color: #888; |
441 | } | 435 | } |
442 | 436 | ||
443 | span.age-years { | 437 | span.age-years { |
444 | color: #bbb; | 438 | color: #bbb; |
445 | } | 439 | } |