aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/gallery/index.css
blob: 35cab60df18404e26f622d81214ed263a83792a7 (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
:host {
	background: black;
	--gallery-splits: 5;
	display: flex;
	flex-wrap: wrap;
	overflow: auto;
}

#control {
	position: absolute;
	bottom: 10px;
	right: 70px;
	width: 100px;
	height: 50px;
	background: var(--primary);
	border-radius: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	cursor: pointer;
	user-select: none;

	div {
		user-select: none;
		color: var(--color);
		width: 50px;
		height: 50px;
		text-align: center;
		align-content: center;
	}
}

app-image {
	width: calc(100% / var(--gallery-splits));
}