mirror of
https://github.com/writefreely/writefreely
synced 2024-11-25 01:50:17 +00:00
lightly style tables in posts
This commit is contained in:
parent
3759f16ed3
commit
25fe5285da
1 changed files with 24 additions and 0 deletions
|
@ -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…
Reference in a new issue