2018-12-28 01:31:28 +01:00
|
|
|
$table-cell-padding: 1rem / 2;
|
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
.sl-c-table {
|
2019-03-05 03:29:20 +01:00
|
|
|
margin: 1.5rem 0;
|
2018-12-28 01:31:28 +01:00
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
td,
|
|
|
|
th {
|
|
|
|
border: 0;
|
|
|
|
padding: .75rem $table-cell-padding;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
th,
|
|
|
|
caption {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2018-12-28 01:31:28 +01:00
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
@include sl-breakpoint--medium-max {
|
2019-03-05 03:29:20 +01:00
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
&-responsive {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
width: 100%;
|
|
|
|
overflow: {
|
|
|
|
x: auto;
|
|
|
|
y: hidden;
|
|
|
|
}
|
2013-10-09 12:30:53 +02:00
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
table { margin-bottom: 0; }
|
2013-10-09 12:30:53 +02:00
|
|
|
|
2018-12-29 02:59:53 +01:00
|
|
|
td { white-space: nowrap; }
|
|
|
|
}
|
2013-10-09 12:30:53 +02:00
|
|
|
}
|
|
|
|
}
|