diff options
| author | 2008-04-13 17:57:11 (JST) | |
|---|---|---|
| committer | 2008-04-13 17:57:11 (JST) | |
| commit | 931fc6d1e4986a4566647dda16af09bf69a28b89 (patch) | |
| tree | 733a9b7292e98d60ae0e40b5f249fa250f32b2d6 /cgit.css | |
| parent | 72a69b77e7bf10cc3674e61e1ddd4d81618ee533 (diff) | |
| download | cgit-931fc6d1e4986a4566647dda16af09bf69a28b89.zip cgit-931fc6d1e4986a4566647dda16af09bf69a28b89.tar.gz | |
More layout fixes
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
| -rw-r--r-- | cgit.css | 64 |
1 files changed, 47 insertions, 17 deletions
| @@ -34,30 +34,50 @@ table#header td.logo { | |||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | table#header td.main { | 36 | table#header td.main { |
| 37 | font-size: 200%; | 37 | font-size: 250%; |
| 38 | padding-left: 10px; | ||
| 39 | } | ||
| 40 | |||
| 41 | table#header td.main a { | ||
| 42 | color: #000; | ||
| 43 | } | ||
| 44 | |||
| 45 | table#header td.form { | ||
| 46 | text-align: right; | ||
| 47 | vertical-align: bottom; | ||
| 48 | padding-right: 1em; | ||
| 49 | padding-bottom: 2px; | ||
| 50 | } | ||
| 51 | |||
| 52 | table#header td.form form, | ||
| 53 | table#header td.form input, | ||
| 54 | table#header td.form select { | ||
| 55 | font-size: 90%; | ||
| 38 | } | 56 | } |
| 39 | 57 | ||
| 40 | table#header td.sub { | 58 | table#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 | ||
| 45 | table.tabs { | 64 | table.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 | ||
| 53 | table.tabs td { | 72 | table.tabs td { |
| 54 | padding: 0px 0.5em; | 73 | padding: 0px 1em; |
| 55 | vertical-align: bottom; | 74 | vertical-align: bottom; |
| 56 | } | 75 | } |
| 57 | 76 | ||
| 58 | table.tabs td a { | 77 | table.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 | ||
| 63 | table.tabs td a.active { | 83 | table.tabs td a.active { |
| @@ -65,18 +85,25 @@ table.tabs td a.active { | |||
| 65 | background-color: #ccc; | 85 | background-color: #ccc; |
| 66 | } | 86 | } |
| 67 | 87 | ||
| 68 | table.tabs td.branch { | 88 | table.tabs td.form { |
| 69 | text-align: right; | 89 | text-align: right; |
| 70 | } | 90 | } |
| 71 | 91 | ||
| 72 | table.tabs td.branch form { | 92 | table.tabs td.form form { |
| 73 | padding-bottom: 2px; | 93 | padding-bottom: 2px; |
| 74 | font-size: 90%; | 94 | font-size: 90%; |
| 75 | } | 95 | } |
| 76 | 96 | ||
| 97 | table.tabs td.form input, | ||
| 98 | table.tabs td.form select { | ||
| 99 | font-size: 90%; | ||
| 100 | } | ||
| 101 | |||
| 77 | div.content { | 102 | div.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 | ||
| @@ -99,9 +126,12 @@ table.list tr.nohover:hover { | |||
| 99 | } | 126 | } |
| 100 | 127 | ||
| 101 | table.list th { | 128 | table.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 | ||
| @@ -360,17 +390,17 @@ table.list td.repogroup { | |||
| 360 | 390 | ||
| 361 | a.button { | 391 | a.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 | ||
| 370 | a.button:hover { | 402 | a.button:hover { |
| 371 | text-decoration: none; | 403 | text-decoration: underline; |
| 372 | color: #333; | ||
| 373 | background-color: #ccc; | ||
| 374 | } | 404 | } |
| 375 | 405 | ||
| 376 | a.primary { | 406 | a.primary { |
