File tree 1 file changed +18
-17
lines changed
1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change 1
1
.gallery {
2
+ $el : &;
2
3
3
4
@include flex-grid-container ();
4
5
8
9
display : none ;
9
10
}
10
11
11
- .gallery -caption {
12
+ & -caption {
12
13
margin : $half-base-spacing 0 0 ;
13
14
font-size : 11px ;
14
15
text-align : left ;
15
16
}
16
- }
17
-
18
- .gallery-item {
19
- position : relative ;
20
- width : column (6 );
21
- margin-bottom : $base-spacing ;
22
- text-align : center ;
23
17
24
- a {
25
- display : block ;
18
+ & -item {
19
+ position : relative ;
20
+ width : column (6 );
21
+ margin-bottom : $base-spacing ;
22
+ text-align : center ;
26
23
27
- img {
24
+ a {
28
25
display : block ;
26
+
27
+ img {
28
+ display : block ;
29
+ }
29
30
}
30
- }
31
31
32
- .gallery -columns-3 & {
33
- width : column (4 );
34
- }
32
+ #{ $el } -columns- 3 & {
33
+ width : column (4 );
34
+ }
35
35
36
- .gallery-columns-4 & {
37
- width : column (3 );
36
+ #{$el } -columns- 4 & {
37
+ width : column (3 );
38
+ }
38
39
}
39
40
}
You can’t perform that action at this time.
0 commit comments