forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_elements.js
More file actions
49 lines (43 loc) · 1017 Bytes
/
_elements.js
File metadata and controls
49 lines (43 loc) · 1017 Bytes
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
import styled from 'styled-components';
export const Grid = styled.main`
display: grid;
grid-gap: 2rem;
grid-template-columns: 400px 1fr;
@media screen and (max-width: 1100px) {
grid-template-columns: 1fr;
}
`;
export const Title = styled.h3`
font-family: Poppins, arial;
font-weight: 300;
font-size: 24px;
margin-bottom: 30px;
margin-top: 2rem;
color: ${props => props.theme.new.title};
`;
export const More = styled.div`
border-radius: 4px;
transition: all 200ms ease;
background-color: #1c2022;
box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
display: flex;
align-items: stretch;
justify-content: center;
height: 100%;
a {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 600;
color: white;
text-decoration: none;
display: flex;
align-items: center;
width: 100%;
justify-content: center;
}
&:hover {
background-color: #212629;
transform: translateY(-5px);
box-shadow: 0 8px 4px rgba(0, 0, 0, 0.3);
}
`;