blob: b2676bbd3543b307c6b428abc0953132387f2698 (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
.link-gallery {
padding-block: var(--spacing-block-md);
--gallery-item-column-span: 1;
--gallery-row-image-height: 12rem;
--gallery-row-title-height: fit-content;
&:not(.link-gallery--splash-first) {
display: grid;
grid-template-columns: repeat(var(--grid-column-count), var(--grid-column-width));
gap: var(--grid-gutter-width);
li {
list-style-type: none;
grid-column: span var(--gallery-item-column-span);
:is(&.link-gallery__container, & .link-gallery__container) {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: var(--gallery-row-image-height) var(--gallery-row-title-height);
row-gap: var(--spacing-block-sm);
}
.link-gallery__title {
width: 100%;
height: min-content;
text-align: center;
margin-inline: var(--spacing-inline-xs);
}
}
}
img {
display: block;
max-width: 50%;
max-height: 100%;
height: fit-content;
margin: auto;
object-fit: contain;
}
}
.link-gallery--furthsettins img {
box-sizing: border-box;
border-radius: 50%;
border: solid var(--border-width) var(--text-color);
}
.link-gallery--splash-first {
.link-gallery__container {
display: block;
width: fit-content;
}
li:first-of-type {
list-style-type: none;
:is(&.link-gallery__container, & .link-gallery__container) {
width: 100%;
}
.link-gallery__title {
text-align: center;
}
}
li + li {
margin-block-start: var(--spacing-block-lg);
margin-inline-start: 1em;
}
}
|