@charset "UTF-8"; /** * Tables * * @author Yorick Peterse * @since 0.1 */ table { border: 1px solid #aaa; border-collapse: separate; width: 100%; text-align: left; } table thead { background: #ddd; } table thead tr th { background: #ddd -webkit-gradient(linear, left bottom, left top, from(#ddd), to(#eee)); background: #ddd -moz-linear-gradient(bottom, top, #ddd, #eee); border-top: 1px solid #fff; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; text-shadow: 1px 1px #fff; } table thead tr th:last-child, table tbody tr td:last-child { border-right: none; } table thead tr th, table tbody tr td { padding: 4px 10px 2px 10px; } .table thead tr th:first-child, .table tbody tr td:first-child { width: 15px; } .table thead tr th:first-child input[type="checkbox"], .table tbody tr td:first-child input[type="checkbox"] { margin-top: 3px; } table tr.odd { background: #f2f2f2; } table tbody tr:hover { background: #f2f2f2; } table tbody tr td { border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; } table tbody tr:last-child td { border-bottom: none; }