Move table styling into a component

This commit is contained in:
Oliver Davies 2017-11-28 12:35:49 +00:00
parent eaa7959c87
commit 178dc634e9
4 changed files with 29 additions and 10 deletions

View file

@ -0,0 +1,18 @@
.table {
@apply .w-full;
@apply .table-collapse;
@apply .border;
@apply .border-grey-light;
}
.table tr:nth-child(odd) {
@apply .bg-grey-lightest;
}
.table tr th {
@apply .text-left .p-2 .bg-white;
}
.table td {
@apply .p-2 .border-t;
}

View file

@ -64,6 +64,7 @@ svg {
@import "components/listing";
@import "components/post";
@import "components/table";
@import "components/talk/slides";
@import "components/talk/video";
@import "components/testimonial";