author | Lars Hjemli <hjemli@gmail.com> | 2008-04-13 08:57:11 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-13 08:57:11 (UTC) |
commit | 931fc6d1e4986a4566647dda16af09bf69a28b89 (patch) (unidiff) | |
tree | 733a9b7292e98d60ae0e40b5f249fa250f32b2d6 /cgit.css | |
parent | 72a69b77e7bf10cc3674e61e1ddd4d81618ee533 (diff) | |
download | cgit-931fc6d1e4986a4566647dda16af09bf69a28b89.zip cgit-931fc6d1e4986a4566647dda16af09bf69a28b89.tar.gz cgit-931fc6d1e4986a4566647dda16af09bf69a28b89.tar.bz2 |
More layout fixes
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 64 |
1 files changed, 47 insertions, 17 deletions
@@ -29,59 +29,86 @@ table#header { | |||
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
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 { |
64 | color: #000; | 84 | color: #000; |
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 | ||
83 | table.list { | 110 | table.list { |
84 | width: 100%; | 111 | width: 100%; |
85 | border: none; | 112 | border: none; |
86 | border-collapse: collapse; | 113 | border-collapse: collapse; |
87 | } | 114 | } |
@@ -94,19 +121,22 @@ table.list tr:hover { | |||
94 | background: #eee; | 121 | background: #eee; |
95 | } | 122 | } |
96 | 123 | ||
97 | table.list tr.nohover:hover { | 124 | table.list tr.nohover:hover { |
98 | background: white; | 125 | background: white; |
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 | ||
108 | table.list td { | 138 | table.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 | ||
@@ -355,27 +385,27 @@ table.diff td div.del { | |||
355 | 385 | ||
356 | table.list td.repogroup { | 386 | table.list td.repogroup { |
357 | font-style: italic; | 387 | font-style: italic; |
358 | color: #888; | 388 | color: #888; |
359 | } | 389 | } |
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 { |
377 | font-size: 100%; | 407 | font-size: 100%; |
378 | } | 408 | } |
379 | 409 | ||
380 | a.secondary { | 410 | a.secondary { |
381 | font-size: 90%; | 411 | font-size: 90%; |