aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/styles/search.module.css
blob: 8b723db7e17e7e69821408de9d57b5a987a650f4 (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
.SearchContainer {
	margin: 20px 0px -20px 0px;
}

.LoadingText {
	color: white;
	font-family: "Atkinson Hyperlegible", serif;
	text-align: center;
	font-size: 18px;
}

.Search {
	padding: 5px;
	background-color: #121212;
	display: flex;
	align-items: center;
	max-width: 30%;
	border-radius: 10px;
}

.SearchContainer input {
	margin-left: 5px;
	padding: 5px;
	border: none;
	outline: none;
	background-color: #121212;
	font-size: 16px;
	font-family: "Atkinson Hyperlegible", serif;
	color: white;
	width: 100%;
}

.SearchResults {
	display: flex;
	margin-top: 10px;
	overflow-x: auto;
}

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

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

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

.SearchEntry {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 5px;
	padding: 6px;
	background-color: #2e2e2eab;
	border-radius: 10px;
	cursor: pointer;
	transition: opacity 200ms linear, background-color 200ms linear;
}

.SearchResults .SearchEntry {
	opacity: 0.5;
}

.SearchResults .SearchEntry:hover {
	opacity: 1;
	background-color: #333333c9;
}

.SearchEntry p {
	color: white;
	font-family: "Atkinson Hyperlegible", serif;
	font-size: 18px;
	width: 35vh;
}

.SearchEntry img {
	width: auto;
	/* height: auto; */
	border-radius: 0.5rem;
}

@media screen and (max-width: 768px) {
	.Search {
		max-width: 100%;
	}
}