Commit | Line | Data |
---|---|---|
1 | .gallery { | |
2 | .gallery-inner { | |
3 | // masonry container | |
4 | columns: 3; | |
5 | @include breakpoint('<=medium') { | |
6 | columns: 2; | |
7 | } | |
8 | @include breakpoint('<=small') { | |
9 | columns: 1; | |
10 | } | |
11 | column-gap: 1.5em; | |
12 | a.gallery-item { | |
13 | display: inline-block; | |
14 | width: 100%; | |
15 | padding: 0; | |
16 | margin: 0 1em 1em 0; | |
17 | text-decoration: none; | |
18 | border-bottom: none; | |
19 | } | |
20 | } | |
21 | } | |
22 |