forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_sidebar.elements.js
More file actions
84 lines (72 loc) · 1.45 KB
/
_sidebar.elements.js
File metadata and controls
84 lines (72 loc) · 1.45 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
import styled from 'styled-components';
export const Avatar = styled.img`
width: 96px;
height: 96px;
border-radius: 8px;
margin-right: 32px;
`;
export const Header = styled.div`
display: flex;
align-items: center;
margin-bottom: 32px;
`;
export const Aside = styled.div`
background: #1c2022;
border-radius: 8px;
padding: 32px;
`;
export const Stats = styled.div`
margin: 32px 0;
display: grid;
grid-template-columns: repeat(3, min-content);
grid-gap: 35px;
`;
export const Stat = styled.div`
display: flex;
align-items: center;
svg {
margin-right: 8px;
}
`;
export const Social = styled.li`
list-style: none;
display: flex;
align-items: center;
font-size: 16px;
margin: 0;
padding: 0;
margin-left: -8px;
span {
color: #b8b9ba;
margin-left: 8px;
}
a {
color: #66b9f4;
margin-left: 8px;
text-decoration: none;
}
`;
export const Title = styled.h3`
font-family: Poppins, arial;
font-weight: 300;
font-size: 24px;
margin-bottom: 30px;
color: ${props => props.theme.new.title};
`;
export const AsideWrapper = styled.aside`
@media screen and (max-width: 1100px) {
display: grid;
grid-template-columns: 480px 1fr;
grid-gap: 60px;
}
@media screen and (max-width: 768px) {
grid-template-columns: 1fr;
}
`;
export const Buttons = styled.section`
margin-top: 30px;
display: grid;
grid-template-columns: 1fr 1fr;
justify-content: center;
grid-column-gap: 40px;
`;