forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.js
More file actions
54 lines (43 loc) · 1.04 KB
/
style.js
File metadata and controls
54 lines (43 loc) · 1.04 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
import styled from 'styled-components';
import media from '../utils/media';
export const Background = styled.div`
background-image: linear-gradient(
45deg,
${({ theme }) => theme.secondary.darken(0.1)()} 0%,
${({ theme }) => theme.secondary.darken(0.3)()} 100%
);
`;
export const Heading = styled.h2`
text-align: center;
font-weight: 200;
font-size: 2.5rem;
margin-top: 6rem;
margin-bottom: 1rem;
text-transform: uppercase;
color: ${({ theme }) => theme.primary};
text-shadow: 0 0 100px ${({ theme }) => theme.primary.clearer(0.4)};
${media.phone`
margin-top: 3rem;
margin-bottom: 0;
`};
`;
export const SubHeading = styled.p`
font-size: 1.25rem;
text-align: center;
font-weight: 400;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
line-height: 1.4;
max-width: 40rem;
color: rgba(255, 255, 255, 0.8);
`;
export const VisuallyHidden = styled.div`
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
`;