summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-05-11 22:29:37 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-11 22:29:37 (UTC)
commitf5af0beb6ab569d64950ca55a52a07923917ce81 (patch) (unidiff)
tree5116ef68974fd94315e5b186c6e9eecb6b572f6e
parent9f48df63f6d8d9a8abcc02cd2f08293da7081520 (diff)
downloadcgit-f5af0beb6ab569d64950ca55a52a07923917ce81.zip
cgit-f5af0beb6ab569d64950ca55a52a07923917ce81.tar.gz
cgit-f5af0beb6ab569d64950ca55a52a07923917ce81.tar.bz2
css: fix bad rendering in Internet Explorer
The layout-tables used border-collapse:separate, which maked all pages look really bad in IE. Fix it. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 49cf2d1..cded981 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,116 +1,121 @@
1body { 1body {
2 font-family: arial; 2 font-family: arial;
3 font-size: 11pt; 3 font-size: 11pt;
4 background: white; 4 background: white;
5}
6
7body, table {
5 padding: 0em; 8 padding: 0em;
6 margin: 0em; 9 margin: 0em;
7} 10}
8 11
12table {
13 border-collapse: collapse;
14}
9 15
10h2 { 16h2 {
11 font-size: 120%; 17 font-size: 120%;
12 font-weight: bold; 18 font-weight: bold;
13 margin-top: 0em; 19 margin-top: 0em;
14 margin-bottom: 0.25em; 20 margin-bottom: 0.25em;
15} 21}
16 22
17h3 { 23h3 {
18 margin-top: 0em; 24 margin-top: 0em;
19 font-size: 100%; 25 font-size: 100%;
20 font-weight: normal; 26 font-weight: normal;
21} 27}
22 28
23a { 29a {
24 color: blue; 30 color: blue;
25 text-decoration: none; 31 text-decoration: none;
26} 32}
27 33
28a:hover { 34a:hover {
29 text-decoration: underline; 35 text-decoration: underline;
30} 36}
31 37
32table.list { 38table.list {
33 border: none; 39 border: none;
34 border-collapse: collapse; 40 border-collapse: collapse;
35} 41}
36 42
37table.list tr { 43table.list tr {
38 background: white; 44 background: white;
39} 45}
40 46
41table.list tr:hover { 47table.list tr:hover {
42 background: #eee; 48 background: #eee;
43} 49}
44 50
45table.list tr.nohover:hover { 51table.list tr.nohover:hover {
46 background: white; 52 background: white;
47} 53}
48 54
49table.list th { 55table.list th {
50 font-weight: normal; 56 font-weight: normal;
51 border-bottom: solid 1px #777; 57 border-bottom: solid 1px #777;
52 padding: 0.1em 0.5em 0.1em 0.5em; 58 padding: 0.1em 0.5em 0.1em 0.5em;
53 vertical-align: baseline; 59 vertical-align: baseline;
54} 60}
55 61
56table.list td { 62table.list td {
57 border: none; 63 border: none;
58 padding: 0.1em 0.5em 0.1em 0.5em; 64 padding: 0.1em 0.5em 0.1em 0.5em;
59} 65}
60 66
61img { 67img {
62 border: none; 68 border: none;
63} 69}
64 70
65table#layout { 71table#layout {
66 width: 100%; 72 width: 100%;
67 border-collapse: separate; 73 border-collapse: collapse;
68 border-spacing: 0px;
69 margin: 0px; 74 margin: 0px;
70} 75}
71 76
72td#header, td#logo { 77td#header, td#logo {
73 color: #666; 78 color: #666;
74 background-color: #ddd; 79 background-color: #ddd;
75 border-bottom: solid 1px #000; 80 border-bottom: solid 1px #000;
76} 81}
77 82
78td#header { 83td#header {
79 font-size: 150%; 84 font-size: 150%;
80 font-weight: bold; 85 font-weight: bold;
81 padding: 0.2em 0.5em; 86 padding: 0.2em 0.5em;
82 vertical-align: text-bottom; 87 vertical-align: text-bottom;
83} 88}
84 89
85td#logo { 90td#logo {
86 text-align: right; 91 text-align: right;
87 vertical-align: middle; 92 vertical-align: middle;
88 padding-right: 0.5em; 93 padding-right: 0.5em;
89} 94}
90 95
91td#crumb, td#search { 96td#crumb, td#search {
92 color: #ccc; 97 color: #ccc;
93 border-top: solid 3px #555; 98 border-top: solid 3px #555;
94 background-color: #666; 99 background-color: #666;
95 border-bottom: solid 1px #333; 100 border-bottom: solid 1px #333;
96 padding: 2px 1em; 101 padding: 2px 1em;
97} 102}
98 103
99td#crumb { 104td#crumb {
100 font-weight: bold; 105 font-weight: bold;
101} 106}
102 107
103td#crumb a { 108td#crumb a {
104 color: #ccc; 109 color: #ccc;
105} 110}
106 111
107td#crumb a:hover { 112td#crumb a:hover {
108 color: #eee; 113 color: #eee;
109} 114}
110 115
111td#search { 116td#search {
112 text-align: right; 117 text-align: right;
113 vertical-align: center; 118 vertical-align: center;
114 padding-right: 0.5em; 119 padding-right: 0.5em;
115} 120}
116 121