forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.js
More file actions
58 lines (49 loc) · 1.01 KB
/
elements.js
File metadata and controls
58 lines (49 loc) · 1.01 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
import styled from 'styled-components';
export const FooterWrapper = styled.footer`
padding-bottom: 1rem;
margin-top: 6rem;
margin-bottom: 3rem;
`;
export const Nav = styled.section`
padding-top: 2.5rem;
border-top: 1px solid ${props => props.theme.homepage.grey};
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
grid-gap: 3rem;
max-width: 80%;
width: 1200px;
margin: auto;
margin-bottom: 4.5rem;
a {
color: inherit;
text-decoration: none;
&:hover {
color: ${props => props.theme.homepage.white};
}
}
ul {
padding: 0;
margin: 0;
list-style: none;
li:first-child {
margin-bottom: 1rem;
}
}
`;
export const Social = styled.ul`
display: grid;
grid-gap: 1rem;
grid-template-columns: repeat(3, 1rem);
justify-content: center;
padding: 0;
margin: 0;
list-style: none;
svg {
path {
transition: all 200ms ease;
}
&:hover path {
fill: ${props => props.theme.homepage.white};
}
}
`;