aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/top-airing/trending.module.css
blob: 1ce9b45e3db70fbc32632363694ae32aca26c18d (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.TrendingText {
	display: flex;
	align-items: center;
}

.TrendingText p {
	font-size: 28px;
	margin: 5px;
	color: var(--soft-purple);
	font-family: "Poppins";
	font-weight: 500;
}

.TrendingText span {
	margin-top: 6px;
}

.trending {
	display: flex;
	overflow-x: auto;
}

.trending img {
	width: auto;
	height: 280px;
}

.TrendingContainer:hover .trendingEntries {
	opacity: 0.5;
}

.TrendingContainer:hover .trendingEntries:hover {
	opacity: 1;
	transform: scale(1.02);
}

.trending::-webkit-scrollbar {
	height: 5px;
	width: 0px;
}

.trending::-webkit-scrollbar-thumb {
	background-color: #444444;
	border-radius: 5px;
}

.trendingEntries {
	margin: 4px;
	transition: transform 400ms ease;
	background-color: #1f1f1fbb;
	padding: 0.5rem;
	border-radius: 1rem;
	transition: opacity 400ms ease, transform 400ms ease;
}

.trendingEntries p {
	text-align: center;
	margin: 5px auto;
	width: 140px;
	font-family: "Atkinson Hyperlegible";
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.trendingEntries p::-webkit-scrollbar {
	width: 2px;
}

.trendingEntries p::-webkit-scrollbar-thumb {
	background-color: #444444;
	border-radius: 5px;
}

.trendingImage {
	border-radius: 1rem;
	aspect-ratio: auto;
}