mirror of
https://github.com/danog/sass-site.git
synced 2024-12-12 09:29:58 +01:00
40 lines
587 B
SCSS
40 lines
587 B
SCSS
@use '../breakpoints';
|
|
|
|
.sl-c-table {
|
|
margin: var(--gutter-sesqui) 0;
|
|
border: 0;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
|
|
td,
|
|
th {
|
|
border: 0;
|
|
padding: var(--gutter-minus) var(--table-cell-padding);
|
|
vertical-align: top;
|
|
}
|
|
|
|
th,
|
|
caption {
|
|
text-align: left;
|
|
}
|
|
|
|
@include breakpoints.sl-breakpoint--medium-max {
|
|
&-responsive {
|
|
margin-bottom: var(--gutter-sesqui);
|
|
width: 100%;
|
|
overflow: {
|
|
x: auto;
|
|
y: hidden;
|
|
}
|
|
|
|
table {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
td {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
}
|