aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/styles/popular.module.css
blob: fce54c1fb79834114b1c85baaa07d280255ec831 (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
.popDramasText {
	color: var(--soft-purple);
	font-size: 36px;
	margin-bottom: 10px;
	font-weight: 400;
	text-align: center;
}

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

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

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

.AnimeContainer:hover .AnimeEntry:hover {
	opacity: 1;
	transform: scale(1.018);
	background-color: #272727;
}

.AnimeEntry {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #1f1f1fbb;
	padding: 0.5rem;
	transition: opacity 200ms ease, transform 200ms ease,
		background-color 200ms ease;
	cursor: grab;
	border-radius: 0.4rem;
}

.AnimeEntry img {
	border-radius: 0.4rem;
}

.AnimeEntry p {
	text-align: center;
	color: white;
	width: auto;
	max-width: 180px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: 0.5rem 0rem 0rem 0rem;
}

@media screen and (max-width: 768px) {
	.popDramasText {
		text-align: start;
		font-size: 26px;
		margin-bottom: 1rem;
	}

	.AnimeContainer {
		display: flex;
		overflow-x: auto;
		overflow-y: hidden;
		margin-top: -8px;
	}

	.AnimeEntry img {
		width: auto;
	}
}