Repository navigation
Expand file tree
/
Copy pathsearch.css
More file actions
101 lines (97 loc) · 1.67 KB
/
Copy pathsearch.css
File metadata and controls
101 lines (97 loc) · 1.67 KB
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
99
100
101
body {
background-color: #151515;
font-family: "Roboto", sans-serif;
padding: 2rem 1rem;
max-width: 400px;
margin: 0 auto;
}
main {
max-height: 600px;
overflow-x: scroll;
}
.header__person {
color: #fff;
display: flex;
gap: 1.2rem;
margin-bottom: 1.5rem;
}
.header__person p {
margin-top: 10px;
margin-bottom: 0;
}
.searchInput {
width: 285px;
background: url("imagesSearch/icon/loupe.svg") no-repeat #252525 15px;
height: 35px;
border-radius: 10px;
padding-left: 40px;
border-color: transparent;
color: #fff;
margin-bottom: 50px;
}
.products {
color: #fff;
display: flex;
flex-direction: column;
max-width: 148px;
gap: 10px;
margin-bottom: 15px;
position: relative;
}
.searchProducts {
display: flex;
flex-wrap: wrap;
gap: 7px;
color: white;
}
.products a img {
border-radius: 15px;
margin-bottom: 5px;
min-width: 147px;
max-width: 148px;
}
.products p {
margin: 0;
}
.products p:first-of-type {
font-size: 14px;
}
.products p:last-of-type,
b,
span {
font-size: 12px;
}
.products button {
position: absolute;
background-color: #252525;
height: 25px;
width: 25px;
border-radius: 50%;
border: 0;
transform: translateX(110px);
margin-top: 10px;
background-image: url("imagesSearch/icon/heartBlack.svg");
background-repeat: no-repeat;
background-position: center;
}
.products p:nth-child(4) {
color: #7e7e7e;
font-weight: 100;
}
.counting {
display: flex;
justify-content: space-between;
}
.products span {
color: #7e7e7e;
font-weight: 100;
}
.products img:last-of-type {
margin: 0;
}
/* @media (min-width: 400px) {
.searchProducts {
flex-direction: column;
flex-wrap: wrap;
}
} */