Skip to content

Commit

Permalink
Add table stying
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Jun 20, 2024
1 parent 2523575 commit b884f44
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/_includes/css/table.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* Stolen from Water.css! Thanks! */
table {
border-collapse: collapse;
width: 100%;
table-layout: fixed;
}

table caption {
text-align: left;
}

thead {
border-bottom: 1px solid var(--border);
}

tfoot {
border-top: 1px solid var(--border);
}
1 change: 1 addition & 0 deletions src/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

@import 'css/components.css';
@import 'css/base.css';
@import 'css/table.css';
@import 'css/transitions.css';

:root {
Expand Down

0 comments on commit b884f44

Please sign in to comment.