css table et li
authoryounes.tazi <younes@imac-de-younes-tazi.local>
Mon, 29 Mar 2010 18:57:03 +0000 (14:57 -0400)
committeryounes.tazi <younes@imac-de-younes-tazi.local>
Mon, 29 Mar 2010 18:57:03 +0000 (14:57 -0400)
squelettes/css/screen/content.css

index 7ba777e..43a1a79 100644 (file)
        * @section content-tables
        */
        
-       table { width:auto; border-collapse:collapse; margin-bottom:0.5em; border-top:2px #888 solid; border-bottom:2px #888 solid; }
-       table caption { font-variant:small-caps; }
-       table.full { width:100%; }
-       table.fixed { table-layout:fixed; }
-       
-       th,td { padding:0.5em; }
-       thead th { color:#000; border-bottom:2px #800 solid; }
-       tbody th { background:#e0e0e0; color:#333; }
-       tbody th[scope="row"], tbody th.sub { background:#f0f0f0; }
-       
-       tbody th { border-bottom:1px solid #fff; text-align:left; }
-       tbody td { border-bottom:1px solid #eee; }
-       
-       tbody tr:hover th[scope="row"],
-       tbody tr:hover tbody th.sub { background:#f0e8e8; }
-       tbody tr:hover td { background:#fff8f8; }
+       /* Tableaux */
+       table.spip { max-width: 99%; margin-right: auto; margin-left: auto; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; line-height: normal; }
+       table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin-right: auto; margin-left: auto; font-weight: bold; line-height:2em; }
+       table.spip tr.row_first { background: #FFC; }
+       table.spip tr.row_odd { background: #EDEDED; }
+       table.spip tr.row_even { background: #F6F6F6; }
+       table.spip th, table.spip td { padding: 0.5em 0.40em; text-align:justify; line-height:1.4em; border: 1px solid #DFDFDF; }
+       table.spip th { vertical-align: bottom; font-weight: bold; }
+       table.spip td { vertical-align: top; }
+
        
        /**
        * ------------------------------------------------------------------------------------------------- #
                list-style-image:url(../../images/css/puce.gif);
                margin:0;
                padding:0.2em 0;
-               text-align:left;
+               font-size:13px
        }
                        
        span.chapo p{ font-weight:bold; font-size:14px; margin-bottom:20px;}