Polishing artist disc; About artist tiles

This commit is contained in:
James Barnsley
2017-02-08 19:31:36 +13:00
parent d08a054748
commit 1239895e88
5 changed files with 69 additions and 44 deletions

View File

@ -66,6 +66,21 @@ $bp_shallow: 650px;
filter: blur( $size );
}
@mixin grid_item( $cols, $gap: 2% ){
width: ( 0% + ( 100 / $cols ) - ( $gap * 2 ) + ( ( $gap * 2 ) / $cols ) );
box-sizing: border-box;
margin: 0 $gap 3%;
&:nth-child(#{$cols}n-#{$cols}) {
margin-right: 0;
@include clearfix;
}
&:nth-child(#{$cols}n-#{$cols - 1}) {
margin-left: 0;
}
}
@mixin responsive( $max_width: null, $min_width: null, $max_height: null, $min_height: null ){
@if $max_width and $max_height {
@media( max-width: $max_width ), ( max-height: $max_height ){