aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/styles/search.module.css
blob: 25fa4d4a4b28a28025c9e9c215e7c9be850dc2cd (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
92
93
94
95
96
97
98
.SearchBarContainer {
	padding: 1rem 0 0.8rem 0;
	display: flex;
	align-items: center;
	width: 100%;
}

.SearchInputContainer {
	display: flex;
	align-items: center;
	background-color: #121212;
	padding: 0.5rem;
	border-radius: 0.5rem;
	width: 40%;
}

.animeHistoryButton {
	font-family: "Lexend Deca", serif;
	outline: none;
	border: none;
	background-color: #121212;
	color: white;
	margin: 0 0.1rem 0 0.2rem;
	padding: 0.5rem;
	cursor: pointer;
	border-radius: 0.5rem;
}

.SearchInputContainer input {
	background-color: transparent;
	border: none;
	outline: none;
	color: white;
	margin-left: 0.5rem;
	font-size: 18px;
	font-family: "Atkinson Hyperlegible", serif;
	width: 100%;
}

.SearchLoading {
	color: white;
	text-align: center;
}

/* Search Results */

.SearchResultsContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	grid-gap: 0.7rem;
}

.AnimeEntry {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #252525be;
	padding: 0.5rem;
	border-radius: 0.5rem;
}

.AnimeEntry p {
	font-size: 18px;
}

.AnimeEntry img {
	border-radius: 0.5rem;
	margin-left: 0.2rem;
}

.SearchResultsContainer::-webkit-scrollbar {
	height: 0.2rem;
}

.SearchResultsContainer::-webkit-scrollbar-track {
	background-color: var(--softer-purple);
}

.SearchResultsContainer::-webkit-scrollbar-thumb {
	background-color: var(--light-green);
	border-radius: 1rem;
}

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

	.SearchResultsContainer {
		display: flex;
		align-items: center;
		overflow: auto;
	}

	.AnimeEntry p {
		width: 50vw;
	}
}