-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyled.js
66 lines (61 loc) · 1.22 KB
/
styled.js
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
import styled from "styled-components";
const height = window.innerHeight;
export const Container = styled.div`
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
overflow: auto;
header {
width: 100%;
padding: 15px;
position: sticky;
top: 0;
left: 0;
z-index: 100;
height: auto;
align-items: center;
justify-content: center;
display: flex;
}
main {
display: grid;
grid-template-columns: 340px 340px 340px;
gap: 120px 30px;
padding-top: 100px;
height: ${height};
width: 100%;
justify-content: center;
padding-bottom: 50px;
}
@media (max-width: 768px) {
main {
display: flex;
flex-direction: column;
padding: 100px 10px 50px 10px;
}
}
`;
export const InputBuscar = styled.input`
width: 100%;
height: 61px;
background: #ffffff;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
border-radius: 30px;
margin: 15px 0;
padding: 30px;
::placeholder {
color: #e5e5e5;
}
`;
export const Logo = styled.img`
align-self: flex-start;
width: 173px;
height: 44px;
`;
export const ContainerHeader = styled.div`
display: flex;
flex-direction: column;
width: 100%;
max-width: 612px;
`;