forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.tsx
More file actions
72 lines (68 loc) · 1.41 KB
/
elements.tsx
File metadata and controls
72 lines (68 loc) · 1.41 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
import styled from '../../styled-components'
export const Edit = styled.a`
position: absolute;
top: 85px;
right: ${({ theme }) => theme.padding.large};
`
export const Content = styled.div`
position: relative;
width: 700px;
min-height: 100vh;
margin: 0 auto;
box-sizing: border-box;
background-color: ${({ theme }) => theme.color.white};
padding: ${({ theme }) => theme.padding.large};
font-family: 'Nunito', sans-serif;
font-size: 17px;
color: ${({ theme }) => theme.color.black};
@media (max-width: 700px) {
width: 100%;
padding: ${({ theme }) => `${theme.padding.large} ${theme.padding.normal}`};
}
ol {
list-style: none;
counter-reset: li;
}
ol li {
counter-increment: li;
}
ol li::before {
content: counter(li);
color: ${({ theme }) => theme.color.primary};
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}
ol,
ul {
margin-top: ${({ theme }) => theme.padding.large};
margin-bottom: ${({ theme }) => theme.padding.large};
}
li {
margin-bottom: 15px;
}
> p {
line-height: 26px;
}
> h1,
h2,
h3,
h4 {
font-family: 'Helvetica Neue', Arial;
}
> h2,
h3,
h4 {
padding-top: 50px;
}
a {
color: ${({ theme }) => theme.color.lighten(theme.color.dark, 1.5)};
text-decoration: none;
font-size: 14px;
text-transform: uppercase;
}
> a {
font-size: 10px;
}
`