lightly style tables in posts

This commit is contained in:
Rob Loranger 2019-10-08 09:39:39 -07:00
parent 3759f16ed3
commit 25fe5285da
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
1 changed files with 24 additions and 0 deletions

View File

@ -632,6 +632,30 @@ table.classy {
}
}
body#post article table {
border-spacing: 0;
border-collapse: collapse;
th {
border-bottom: 2px solid #ccc;
text-align: center;
}
th + th {
border-left: 1px solid #ccc;
}
tr:nth-child(even) {
background-color: #f6f6f6;
}
td + td {
border-left: 1px solid #ccc;
}
tr + tr td {
border-top: 1px solid #ccc;
}
td, th {
padding: .25rem .5rem;
}
}
body#collection article, body#subpage article {
padding-top: 0;
padding-bottom: 0;