lightly style tables in posts

pull/194/head
Rob Loranger 5 years ago
parent 3759f16ed3
commit 25fe5285da
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
  1. 24
      less/core.less

@ -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;

Loading…
Cancel
Save