Initial commit 🚀

This commit is contained in:
Lucas 2019-11-27 15:31:49 +07:00
commit 16c7596319
30 changed files with 5996 additions and 0 deletions

30
scss/layout/_grid.scss Normal file
View file

@ -0,0 +1,30 @@
@if $enable-classes {
/**
* Grid
* Minimal grid system with auto-layout columns
*/
.grid {
margin: 0;
@if map-get($breakpoints, "lg") {
@media (min-width: map-get($breakpoints, "lg")) {
grid-column-gap: $spacing-gutter;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
}
}
& > * {
min-width: 0; // HACK for childs in overflow
margin-bottom: $spacing-gutter;
@if map-get($breakpoints, "md") {
@media (min-width: map-get($breakpoints, "lg")) {
margin-bottom: 0;
}
}
}
}
}