17 lines
462 B
SCSS
17 lines
462 B
SCSS
// --------------------------------------------------------------------------------
|
|
// Responsive Masonry
|
|
// --------------------------------------------------------------------------------
|
|
#index {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax($theme-index-column-width, 1fr));
|
|
grid-template-rows: masonry;
|
|
grid-column-gap: 1.5rem;
|
|
grid-row-gap: 1.5rem;
|
|
justify-items: stretch;
|
|
align-items: start;
|
|
}
|
|
|
|
#index > article {
|
|
margin-top: 0;
|
|
}
|