diff options
author | Lars Hjemli | 2007-01-28 11:33:55 +0100 |
---|---|---|
committer | Lars Hjemli | 2007-01-28 11:33:55 +0100 |
commit | 8596cda71d04cd49cb983aee7968d14cc58c030d (patch) | |
tree | 6f8053d21fecd718d3493fe665240dc7892d44d2 /cgit.css | |
parent | 4a9dea5c0104471324f01663420685e45fe3b480 (diff) | |
download | cgit-8596cda71d04cd49cb983aee7968d14cc58c030d.tar.gz cgit-8596cda71d04cd49cb983aee7968d14cc58c030d.tar.bz2 cgit-8596cda71d04cd49cb983aee7968d14cc58c030d.zip |
Change global document layout
Use a document-wide table for the main layout
Signed-off-by: Lars Hjemli <larsh@slaptop.hjemli.net>
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -3,7 +3,7 @@ body { | |||
3 | font-size: normal; | 3 | font-size: normal; |
4 | background: white; | 4 | background: white; |
5 | padding: 0em; | 5 | padding: 0em; |
6 | margin: 0.5em 1em; | 6 | margin: 0em; |
7 | } | 7 | } |
8 | 8 | ||
9 | 9 | ||
@@ -48,30 +48,33 @@ table.list td { | |||
48 | img { | 48 | img { |
49 | border: none; | 49 | border: none; |
50 | } | 50 | } |
51 | 51 | table#layout { | |
52 | div#header { | 52 | width: 100%; |
53 | border-collapse: collapse; | ||
54 | margin: 0px; | ||
55 | } | ||
56 | td#header { | ||
53 | background-color: #ddd; | 57 | background-color: #ddd; |
54 | padding: 0.25em 0.25em 0.25em 0.5em; | 58 | padding: 0.25em 0.25em 0.25em 0.5em; |
55 | font-size: 150%; | 59 | font-size: 150%; |
56 | font-weight: bold; | 60 | font-weight: bold; |
57 | border: solid 1px #aaa; | 61 | border-bottom: solid 1px #aaa; |
58 | vertical-align: middle; | 62 | vertical-align: middle; |
59 | margin-bottom: 2em; | ||
60 | } | 63 | } |
61 | div#header img#logo { | 64 | td#header img#logo { |
62 | float: right; | 65 | float: right; |
63 | } | 66 | } |
64 | 67 | ||
65 | div#header input { | 68 | td#header input { |
66 | float: right; | 69 | float: right; |
67 | margin: 0.25em 1em; | 70 | margin: 0.25em 1em; |
68 | } | 71 | } |
69 | div#header a { | 72 | td#header a { |
70 | color: black; | 73 | color: black; |
71 | } | 74 | } |
72 | 75 | ||
73 | div#content { | 76 | td#content { |
74 | margin: 0.5em 0.5em; | 77 | padding: 1em 0.5em; |
75 | } | 78 | } |
76 | 79 | ||
77 | div#blob { | 80 | div#blob { |