aboutsummaryrefslogtreecommitdiff
path: root/src/app/web-series/styles/search.module.css
blob: 145a2aa52b130a844f2d2d4da602921a1aef3b3a (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
.InputContainer {
	display: flex;
	align-items: center;
	background-color: #121212;
	width: 40vw;
	border-radius: 0.5rem;
}

.SearchIcon {
	margin-left: 0.4rem;
}

.InputContainer input {
	background-color: transparent;
	outline: none;
	border: none;
	padding: 0.4rem;
	font-family: "Lexend Deca", serif;
	margin-left: 0.2rem;
	font-size: large;
	color: white;
	width: 100%;
}

.SearchedSeriesContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	grid-gap: 0.7rem;
	align-items: center;
	margin-top: 0.8rem;
}

.SearchedSeriesEntry {
	display: flex;
	align-items: center;
	flex-direction: column;
	background-color: #1f1f1f;
	border-radius: 0.5rem;
	padding: 0.2rem;
	transition: opacity 200ms ease;

}

.SearchedSeriesContainer:hover .SearchedSeriesEntry {
	opacity: 0.5;
}

.SearchedSeriesContainer .SearchedSeriesEntry:hover {
	opacity: 1;
}

.SearchedSeriesEntry p {
	width: 150px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	margin: 0.2rem 0 0.2rem 0;
}

.SearchedSeriesEntry img {
	border-radius: 0.5rem;
	padding: 0.2rem 0.2rem 0 0.2rem;
}

@media screen and (max-width: 768px) {

	.InputContainer {
		width: 100%;
	}

	.SearchedSeriesContainer {
		display: flex;
		overflow: auto;
	}


}