aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/image/index.css
blob: d9a9ff57c92463fe7d82989f5747068cd546a227 (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
.image {
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	background: var(--image);
	background-size: cover;
	background-position: center;
}

img {
	content: var(--image);
	width: 100%;
	display: none;
	visibility: hidden;
}

@container style(--gallery-splits: 1) {
	.image {
		padding-bottom: 0px;
		height: unset;
	}

	img {
		display: unset;
	}
}