summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2008-04-14 20:10:33 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-04-14 20:10:33 (UTC)
commit35d19bbb641aa56a21fb2c238994716c272e154f (patch) (unidiff)
tree391c5686d2eae2c9f867ea5f2ba13fb3f9b7f31b
parent2ee1238cdff66dcd4bf98f83b820678976f53ed8 (diff)
downloadcgit-35d19bbb641aa56a21fb2c238994716c272e154f.zip
cgit-35d19bbb641aa56a21fb2c238994716c272e154f.tar.gz
cgit-35d19bbb641aa56a21fb2c238994716c272e154f.tar.bz2
Fix more css ugliness
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css14
1 files changed, 4 insertions, 10 deletions
diff --git a/cgit.css b/cgit.css
index ea3c383..30cb8e6 100644
--- a/cgit.css
+++ b/cgit.css
@@ -115,64 +115,68 @@ table.list {
115 115
116table.list tr { 116table.list tr {
117 background: white; 117 background: white;
118} 118}
119 119
120table.list tr:hover { 120table.list tr:hover {
121 background: #eee; 121 background: #eee;
122} 122}
123 123
124table.list tr.nohover:hover { 124table.list tr.nohover:hover {
125 background: white; 125 background: white;
126} 126}
127 127
128table.list th { 128table.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
138table.list td { 138table.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
143table.list td a { 143table.list td a {
144 color: black; 144 color: black;
145} 145}
146 146
147table.list td a:hover {
148 color: #00f;
149}
150
147img { 151img {
148 border: none; 152 border: none;
149} 153}
150 154
151input#switch-btn { 155input#switch-btn {
152 margin: 2px 0px 0px 0px; 156 margin: 2px 0px 0px 0px;
153} 157}
154 158
155td#sidebar input.txt { 159td#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
160table#grid { 164table#grid {
161 margin: 0px; 165 margin: 0px;
162} 166}
163 167
164td#content { 168td#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
170div#summary { 174div#summary {
171 vertical-align: top; 175 vertical-align: top;
172 margin-bottom: 1em; 176 margin-bottom: 1em;
173} 177}
174 178
175table#downloads { 179table#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 {
361table.diff td div.hunk { 365table.diff td div.hunk {
362 color: #009; 366 color: #009;
363} 367}
364 368
365table.diff td div.add { 369table.diff td div.add {
366 color: green; 370 color: green;
367} 371}
368 372
369table.diff td div.del { 373table.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
386table.list td.repogroup { 390table.list td.repogroup {
387 font-style: italic; 391 font-style: italic;
388 color: #888; 392 color: #888;
389} 393}
390 394
391a.button { 395a.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
402a.button:hover {
403 text-decoration: underline;
404}
405
406a.primary { 400a.primary {
407 font-size: 100%; 401 font-size: 100%;
408} 402}
409 403
410a.secondary { 404a.secondary {
411 font-size: 90%; 405 font-size: 90%;
412} 406}
413 407
414td.toplevel-repo { 408td.toplevel-repo {
415 409
416} 410}
417 411
418table.list td.sublevel-repo { 412table.list td.sublevel-repo {
419 padding-left: 1.5em; 413 padding-left: 1.5em;
420} 414}
421 415
422span.age-mins { 416span.age-mins {
423 font-weight: bold; 417 font-weight: bold;
424 color: #080; 418 color: #080;
425} 419}
426 420
427span.age-hours { 421span.age-hours {
428 color: #080; 422 color: #080;
429} 423}
430 424
431span.age-days { 425span.age-days {
432 color: #040; 426 color: #040;
433} 427}
434 428
435span.age-weeks { 429span.age-weeks {
436 color: #444; 430 color: #444;
437} 431}