35 lines
731 B
SCSS
35 lines
731 B
SCSS
/**
|
|
* Author: Sivan [sun.sivan@gmail.com]
|
|
* Description: table styles.
|
|
*/
|
|
@import "variables";
|
|
|
|
@mixin hetiTable {
|
|
table {
|
|
box-sizing: border-box;
|
|
table-layout: fixed;
|
|
border-collapse: collapse;
|
|
border: 1px solid #ccc;
|
|
margin-block-start: $std-block-unit / 2;
|
|
margin-block-end: $std-block-unit;
|
|
margin-inline-start: auto;
|
|
margin-inline-end: auto;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
border: 1px solid #ccc;
|
|
padding-block-start: 8px;
|
|
padding-block-end: 8px;
|
|
padding-inline-start: 16px;
|
|
padding-inline-end: 16px;
|
|
}
|
|
|
|
caption {
|
|
caption-side: bottom;
|
|
margin-block-start: 2px;
|
|
margin-block-end: -4px;
|
|
font-size: $font-size-small;
|
|
line-height: $line-height-size-small;
|
|
}
|
|
}
|