! Pure v0.6.0 Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. https://github.com/yahoo/pure/blob/master/LICENSE.md
Consider removing this next declaration block, as it causes problems when there's a rowspan on the first cell. Case added to the tests. issue#432
striping: even - #fff (white) odd - #f2f2f2 (light gray)
nth-child selector for modern browsers
BORDERED TABLES
HORIZONTAL BORDERED TABLES
.cw-table {
/* Remove spacing between table cells (from Normalize.css) */
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border: 1px solid #cbcbcb;
}
.cw-table caption {
color: #000;
font: italic 85%/1 arial, sans-serif;
padding: 1em 0;
text-align: center;
}
.cw-table td,
.cw-table th {
border-left: 1px solid #cbcbcb;/* inner column border */
border-width: 0 0 0 1px;
font-size: inherit;
margin: 0;
overflow: visible; /*to make ths where the title is really long work*/
padding: 0.5em 1em; /* cell padding */
}
.cw-table td:first-child,
.cw-table th:first-child {
border-left-width: 0;
}
.cw-table thead {
background-color: #e0e0e0;
color: #000;
text-align: left;
vertical-align: bottom;
}
.cw-table td {
background-color: transparent;
}
.cw-table-odd td {
background-color: #f2f2f2;
}
.cw-table-striped tr:nth-child(2n-1) td {
background-color: #f2f2f2;
}
.cw-table-bordered td {
border-bottom: 1px solid #cbcbcb;
}
.cw-table-bordered tbody > tr:last-child > td {
border-bottom-width: 0;
}
.cw-table-horizontal td,
.cw-table-horizontal th {
border-width: 0 0 1px 0;
border-bottom: 1px solid #cbcbcb;
}
.cw-table-horizontal tbody > tr:last-child > td {
border-bottom-width: 0;
}