From b1177eae20d310dbd4187662172bd9d7e2b51bb5 Mon Sep 17 00:00:00 2001
From: tetue <tetue@rezo.net>
Date: Sun, 7 Oct 2007 11:18:05 +0000
Subject: [PATCH] CSS cosmetique : retour aux couleurs habituelles des
 table.spip

---
 dist/habillage.css    | 12 ++++++------
 dist/spip_style.css   | 13 ++++++++-----
 dist/style_prive.html | 12 ++++++------
 3 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/dist/habillage.css b/dist/habillage.css
index 6f0076ebad..2828e9c01a 100755
--- a/dist/habillage.css
+++ b/dist/habillage.css
@@ -80,14 +80,14 @@ div.spip_code, .spip_cadre { margin-bottom: 1em; }
 
 /* Tableaux */
 table { border-collapse: collapse; border-spacing: 0; }
-table.spip { width: 99%; margin: 0 auto 1em auto; }
-table.spip caption { caption-side: top; font-weight: bold; color: #999; line-height: normal; }
-table.spip tr.row_first { background: #CCC; }
+table.spip { margin: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; }
+table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin: auto; font-weight: bold; }
+table.spip tr.row_first { background: #FFC; }
 table.spip tr.row_odd { background: #EEE; }
 table.spip tr.row_even { background: #DDD; }
-table.spip th, table.spip td { text-align: left; border: 2px solid #FFF; }
-table.spip th { padding: 0.20em; vertical-align: middle; font-weight: bold; }
-table.spip td { padding: 0.40em; vertical-align: top; }
+table.spip th, table.spip td { padding: 0.20em 0.40em; text-align: left; border: 1px solid; }
+table.spip th { vertical-align: bottom; font-weight: bold; }
+table.spip td { vertical-align: top; }
 
 /* Logos, documents et images */
 img, .spip_logos { margin: 0; padding: 0; border: 0; }
diff --git a/dist/spip_style.css b/dist/spip_style.css
index 189ee8e2b3..afbed4d0c2 100644
--- a/dist/spip_style.css
+++ b/dist/spip_style.css
@@ -32,12 +32,15 @@ blockquote.spip_poesie div { text-indent: -60px; margin-left: 60px; }
 .spip_surligne { background: #FF6; }
 
 /* Tableaux */
-table.spip { margin: auto; margin-bottom: 1em; border: 1px solid; border-collapse: collapse; }
-table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin: auto; padding: 3px; font-weight: bold; }
+table.spip { margin: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; }
+table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin: auto; font-weight: bold; }
 table.spip tr.row_first { background: #FFC; }
-table.spip tr.row_odd { background: #DDD; }
-table.spip tr.row_even { background: #EEE; }
-table.spip th, table.spip td { padding: 3px; text-align: left; vertical-align: middle; }
+table.spip tr.row_odd { background: #EEE; }
+table.spip tr.row_even { background: #DDD; }
+table.spip th, table.spip td { padding: 0.20em 0.40em; text-align: left; border: 1px solid; }
+table.spip th { vertical-align: bottom; font-weight: bold; }
+table.spip td { vertical-align: top; }
+
 
 /* Logos, documents et images */
 img, .spip_logos { margin: 0; padding: 0; border: 0; }
diff --git a/dist/style_prive.html b/dist/style_prive.html
index 708920cb92..24d52f7fd3 100644
--- a/dist/style_prive.html
+++ b/dist/style_prive.html
@@ -451,14 +451,14 @@ div.spip_code, .spip_cadre { margin-bottom: 1em; }
 .spip_cadre { width: 99%; background-color: #F4F8F8; border: 1px inset; }
 
 /* Tableaux */
-table.spip { margin-bottom: 1em; color: #633E6D; border-collapse: collapse; border-spacing: 0; }
-table.spip caption { caption-side: top; font-weight: bold; color: #9DBA00; line-height: normal; }
-table.spip tr.row_first { background: #9DBA00; }
+table.spip { margin: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; }
+table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin: auto; font-weight: bold; }
+table.spip tr.row_first { background: #FFC; }
 table.spip tr.row_odd { background: #EEE; }
 table.spip tr.row_even { background: #DDD; }
-table.spip th, table.spip td { text-align: left; border: 2px solid #FFF; }
-table.spip th { padding: .2em; vertical-align: middle; font-weight: bold; }
-table.spip td { padding: .4em; vertical-align: top; }
+table.spip th, table.spip td { padding: 0.20em 0.40em; text-align: left; border: 1px solid; }
+table.spip th { vertical-align: bottom; font-weight: bold; }
+table.spip td { vertical-align: top; }
 
 /* Logos, documents et images */
 img, .spip_logos { margin: 0; padding: 0; border: 0; }
-- 
GitLab