Update main.css

This commit is contained in:
Dean Attali 2015-05-15 16:58:11 -07:00
parent b09661c4d3
commit a1024d5add

View File

@ -370,3 +370,39 @@ header.header-post .post-heading .post-subheading {
margin-top: 10px;
}
}
/* --- Tables --- */
.blog-post table {
padding: 0;
}
.blog-post table tr {
border-top: 1px solid #cccccc;
background-color: #ffffff;
margin: 0;
padding: 0;
}
.blog-post table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.blog-post table tr th {
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
.blog-post table tr td {
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
.blog-post table tr th :first-child,
.blog-post table tr td :first-child {
margin-top: 0;
}
.blog-post table tr th :last-child,
.blog-post table tr td :last-child {
margin-bottom: 0;
}