Gallery.module.scss
658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@import '../../../../styles/app';
.root {
:global .tile {
display: inline-block;
}
}
.galleryControls {
display: flex;
justify-content: space-between;
margin-bottom: $spacer;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 15px;
}
.picture {
padding: 3px;
border-radius: $border-radius;
background-color: $white;
> a {
overflow: hidden;
}
:global .figure-img {
width: 100%;
transition: $transition-base;
}
&:hover {
:global .figure-img {
transform: scale(1.1, 1.1);
}
}
}
.description {
padding: ($spacer * 0.85) ($spacer * 0.5);
}