markdown table theme

This commit is contained in:
life
2014-11-13 13:02:05 +08:00
parent b45e9eacb0
commit c0979be9f3
6 changed files with 77 additions and 3 deletions

View File

@ -503,3 +503,28 @@ a:hover {
padding: 0 10px;
}
}
table {
margin-bottom: 16px;
}
table th, table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
table th {
font-weight: bold;
}
table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
border: 1px solid #ddd;
border-collapse: collapse;
padding: 6px 13px;
}