author | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 20:10:33 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-14 20:10:33 (UTC) |
commit | 35d19bbb641aa56a21fb2c238994716c272e154f (patch) (unidiff) | |
tree | 391c5686d2eae2c9f867ea5f2ba13fb3f9b7f31b | |
parent | 2ee1238cdff66dcd4bf98f83b820678976f53ed8 (diff) | |
download | cgit-35d19bbb641aa56a21fb2c238994716c272e154f.zip cgit-35d19bbb641aa56a21fb2c238994716c272e154f.tar.gz cgit-35d19bbb641aa56a21fb2c238994716c272e154f.tar.bz2 |
Fix more css ugliness
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -115,64 +115,68 @@ table.list { | |||
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; |
@@ -361,77 +365,67 @@ table.diff td div.head { | |||
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 | } |