History

Change global document layout

Use a document-wide table for the main layout

Lars Hjemli committed 19 years ago

Commit 8596cda1 parent 4a9dea52 files · +16 −12Browse files

Showing the changes to cgit.css (1 of 2 files). Show all

Unified · Split

cgit.css+13−10
@@ -3,7 +3,7 @@ body { · 2 unmodified lines
33 font-size: normal;
44 background: white;
55 padding: 0em;
6− margin: 0.5em 1em;
6+ margin: 0em;
77 }
88
99
@@ -48,30 +48,33 @@ table.list td { · 38 unmodified lines
4848 img {
4949 border: none;
5050 }
51−
52−div#header {
51+table#layout {
52+ width: 100%;
53+ border-collapse: collapse;
54+ margin: 0px;
55+}
56+td#header {
5357 background-color: #ddd;
5458 padding: 0.25em 0.25em 0.25em 0.5em;
5559 font-size: 150%;
5660 font-weight: bold;
57− border: solid 1px #aaa;
61+ border-bottom: solid 1px #aaa;
5862 vertical-align: middle;
59− margin-bottom: 2em;
6063 }
61−div#header img#logo {
64+td#header img#logo {
6265 float: right;
6366 }
6467
65−div#header input {
68+td#header input {
6669 float: right;
6770 margin: 0.25em 1em;
6871 }
69−div#header a {
72+td#header a {
7073 color: black;
7174 }
7275
73−div#content {
74− margin: 0.5em 0.5em;
76+td#content {
77+ padding: 1em 0.5em;
7578 }
7679
7780 div#blob {