mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
24 lines
526 B
SCSS
24 lines
526 B
SCSS
$cols: $content_width / $cell;
|
|
|
|
.grid {
|
|
//display: grid;
|
|
padding: $gap / 2;
|
|
margin: 0 (-$gap / 2);
|
|
}
|
|
|
|
.grid_test {
|
|
//width: $content_width;
|
|
display: grid;
|
|
//grid-template-columns: minmax($cell, 1fr);
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
//grid-template-columns: repeat($cols, 1fr);
|
|
//grid-template-rows: $cell * 1.2 - 4;
|
|
grid-auto-rows: 256px;
|
|
grid-auto-flow: row dense;
|
|
grid-column-gap: $grid_line;
|
|
grid-row-gap: $grid_line; //
|
|
}
|
|
|
|
.pad_last {
|
|
grid-column-end: $cols + 1;
|
|
}
|