summaryrefslogtreecommitdiffabout
path: root/cgit.css
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 /cgit.css
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 (limited to 'cgit.css') (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,14 +1,20 @@
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;
@@ -61,14 +67,13 @@ table.list td {
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;