Add support for html tables

This commit is contained in:
Amit Merchant 2019-07-27 14:23:56 +05:30 committed by GitHub
parent 091d0b9234
commit 5e176ef9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -86,6 +86,46 @@ p {
margin: 15px 0;
}
table {
padding: 0;
}
table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
table tr td {
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
table tr th :first-child,
table tr td :first-child {
margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
margin-bottom: 0;
}
/*.detailed .entry p:first-of-type:first-letter {
float: left;
margin: 0.13em 0.05em 0 -0.05em;