aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/styles/popular.module.css
blob: 2975659eb6a66fc781c17618e58821dcb5d9f0dc (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
.popDramasText {
	color: var(--soft-purple);
	font-family: "Lexend Deca", serif;
	font-size: 28px;
	margin-bottom: 10px;
	font-weight: 500;
}

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

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

.AnimeContainer::-webkit-scrollbar-track {
	background-color: #3333339d;
	border-radius: 5px;
}

.AnimeContainer::-webkit-scrollbar-thumb {
	background-color: rgb(68, 68, 68);
	border-radius: 5px;
}

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

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

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

.AnimeEntry img {
	width: auto;
	height: 280px;
	border-radius: 1rem;
}

.AnimeEntry p {
	text-align: center;
	color: white;
	font-family: "Lexend Deca", serif;
	width: 140px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: 0.5rem 0rem 0rem 0rem;
}