aboutsummaryrefslogtreecommitdiff
path: root/src/app/movies/styles/pop_trend.module.css
blob: f9581c4ade965c720a41b9ab22d7308db7eac081 (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
.Main {
	color: white;
	margin-left: 0.2rem;
	margin-right: 0.2rem;
}

.Main h1 {
	margin: 0 0 0.5rem 0;
	text-align: center;
	color: transparent;
	background: linear-gradient(
		90deg,
		var(--neon-green) 40%,
		var(--light-green) 60%,
		var(--neon-yellow) 80%,
		var(--soft-purple) 100%
	);
	background-size: 60% 50%;
	background-clip: text;
}

.MovieContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	grid-gap: 0.5rem;
	align-items: center;
}

.MovieContainer::-webkit-scrollbar {
    height: 0;
}

.MovieEntry {
	background-color: #1f1f1fb2;
	padding: 0.5rem;
	/* border-radius: 0.5rem; */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	backdrop-filter: blur(5px);
}

.MovieEntry img {
	border-radius: 0.5rem;
}

.MovieEntry p {
	width: 190px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	margin: 0.3rem 0 0 0;
}

@media screen and (max-width: 768px) {
	.Main h1 {
		font-size: 24px;
		text-align: start;
	}

	.MovieContainer {
		display: flex;
		overflow-x: auto;
		overflow-y: hidden;
	}
}