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

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

.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);
}

/* Format the scrollbar later */

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

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

.AnimeEntry p {
	text-align: center;
	color: white;
	font-family: "Atkinson Hyperlegible";
	width: 140px;
	height: 60px;
	overflow-y: auto;
}