2016-11-07 15:07:07 -05:00
|
|
|
@import "../../frameless";
|
|
|
|
|
|
|
|
.masonry {
|
|
|
|
column-gap: $gutter;
|
2016-11-09 21:21:08 -05:00
|
|
|
column-width: $cols4;
|
|
|
|
padding-bottom: 50px;
|
2016-11-14 10:30:20 -05:00
|
|
|
-webkit-perspective: 1;
|
2016-11-07 15:07:07 -05:00
|
|
|
}
|
|
|
|
|
2016-11-18 17:08:23 -05:00
|
|
|
// column-count required for Firefox, IE and Edge
|
2016-11-07 15:07:07 -05:00
|
|
|
//4 columns
|
|
|
|
@media only screen and (max-width: $mobile - 1) {
|
|
|
|
.masonry {
|
2016-11-18 17:08:23 -05:00
|
|
|
column-count: 1;
|
2016-11-07 15:07:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//6 columns
|
|
|
|
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) {
|
|
|
|
.masonry {
|
2016-11-18 17:08:23 -05:00
|
|
|
column-count: 1;
|
2016-11-07 15:07:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//8 columns
|
|
|
|
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) {
|
|
|
|
.masonry {
|
2016-11-18 17:08:23 -05:00
|
|
|
column-count: 2;
|
2016-11-07 15:07:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 12 columns
|
|
|
|
@media only screen and (min-width: $desktop) {
|
|
|
|
.masonry {
|
2016-11-18 17:08:23 -05:00
|
|
|
column-count: 3;
|
2016-11-07 15:07:07 -05:00
|
|
|
}
|
|
|
|
}
|