-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathgallery.module.scss
More file actions
47 lines (40 loc) · 910 Bytes
/
gallery.module.scss
File metadata and controls
47 lines (40 loc) · 910 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
45
46
47
@import 'src/design-system/variables/variables.scss';
@import 'src/design-system/variables/colors.scss';
@import 'src/design-system/variables/typography.scss';
.gallery {
position: relative;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
gap: 16px;
width: 100%;
padding-top: 24px;
&.loading {
margin: 0;
.cardWrapper {
opacity: 0.5;
}
}
}
.loadingWrapper {
width: 100%;
min-height: 320px;
display: flex;
align-items: center;
justify-content: center;
}
@media (max-width: $large-screen-breakpoint) {
.gallery {
grid-template-columns: 1fr 1fr 1fr !important;
}
}
@media only screen and (max-width: $medium-screen-breakpoint) {
.gallery {
grid-template-columns: 1fr 1fr !important;
}
}
@media only screen and (max-width: $small-screen-breakpoint) {
.gallery {
grid-template-columns: 1fr !important;
padding-top: 16px;
}
}