aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/styles/pop_recent_top.module.css
blob: 253f60f74bec6cb3f6eba80894a7fc8700adbceb (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.AnimeHeaderText {
	color: white;
	margin: 0.4rem 0 0 0;
	text-transform: uppercase;
	font-size: 30px;
}

.AnimeContainer {
	margin: 0.2rem 0 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	grid-gap: 0.5rem;
}

/* .AnimeEntry {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	padding: 0.8rem;
	border-radius: 0.4rem;
	background-color: #1a1a1a;
	transition: opacity 200ms ease;
} */

.AnimeEntry {
	position: relative;
	display: inline-block;
	overflow: hidden;
	border-radius: 0.5rem;
	transition: opacity 200ms ease;

}

.AnimeContainer:hover .AnimeEntry {
	opacity: 0.5;
}

.AnimeContainer:hover .AnimeEntry:hover {
	opacity: 1;
}

.AnimeEntry img {
	display: block;
	transition: transform 200ms ease;
}

.AnimeEntry img:hover {
	transform: translateY(-5px) scale(1.04);
}


.AnimeTitle {
	position: absolute;
	bottom: 0;
	/* Adjust the value as needed */
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	color: white;
	padding: 5px;
	text-align: center;
	background-color: #121212ab;
	backdrop-filter: blur(10px);
	text-transform: uppercase;
	width: 100%;
	max-width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.AnimeReleasedEpisode {
	position: absolute;
	top: 0;
	margin: 0.2rem;
	padding: 0.5rem;
	background-color: #121212b2;
	border-radius: 0.4rem;
	backdrop-filter: blur(10px);
}

.AnimeContainer::-webkit-scrollbar {
	height: 0rem;
}


@media screen and (max-width: 768px) {
	.AnimeContainer {
		display: flex;
		overflow: auto;
		align-items: center;
	}
}