sass-site/source/assets/css/foundation/_tables.css

34 lines
530 B
CSS
Raw Normal View History

2013-10-09 12:30:53 +02:00
$table-cell-padding: $gutter-width / 2;
table {
@extend %reset-border;
@include trailer;
margin: {
right: -$table-cell-padding;
left: -$table-cell-padding;
}
border: {
collapse: collapse;
spacing: 0;
}
width: 100%;
max-width: 100%;
}
td,
th {
@extend %reset-border;
@include padding-leader(.5);
@include padding-trailer(.5);
padding: {
right: $table-cell-padding;
left: $table-cell-padding;
}
vertical-align: top;
}
th {
@extend %bold-elements;
text-align: left;
}