aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List/covers.css
blob: 2ecdcf02ff12c1dcf8bd0b3ce821260fcd399a42 (plain) (blame)
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
.covers {
	display: grid;
	justify-content: center;
	gap: 1em 0.5em;
	margin-top: 0.5rem;
}

.cover {
	background-size: cover;
	background-position: center;
	border-radius: 8px;
}

.cover-title {
	text-align: center;
	margin: 0.25rem;
}

.cover-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transition: transform 0.3s ease;
	box-sizing: border-box;
	display: inline-block;
	padding: 0.1em;
	margin: -0.1em;
	box-sizing: content-box;
}

.cover-card:hover {
	transform: scale(1.1);
	position: relative;
	z-index: 2;
	transition: transform 0.3s ease;
}

.entry::after {
	content: '';
	display: table;
	clear: both;
}

.countdown {
	white-space: nowrap;
	float: right;
}