Skip to content

Commit

Permalink
chore: use cleaner table formatting (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored May 8, 2021
1 parent b82f5e1 commit f296f85
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/sass/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,25 @@

table {
overflow: auto;
display: block;
display: table;
border-spacing: 0;
border-collapse: collapse;
margin-top: $padding-16;
margin-bottom: $padding-16;
width: 100%;
text-align: left;

thead {
border-bottom: $border-4 solid var(--accent-color);
}

tr th,
tr td {
padding: $padding-8 $padding-16;
border: $border-1 solid var(--accent-color);
}

tr {
border-bottom: $border-2 solid var(--accent-color);
}

tr:nth-child(2n) {
Expand Down

0 comments on commit f296f85

Please sign in to comment.