blob: 8ae08362b4792d2a731c5c10dae89b5b7bcfb564 (
plain)
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
|
import styled from 'styled-components';
const Item = styled.div`
background: white;
border: 1px solid ${props => props.theme.offWhite};
box-shadow: ${props => props.theme.bs};
position: relative;
display: grid;
align-content: start;
grid-auto-rows: fit-content;
img {
width: 100%;
height: 400px;
object-fit: cover;
}
p {
font-size: 14px;
line-height: 2;
font-weight: 600;
padding: 0 3rem;
font-size: 1.5rem;
}
.buttonList {
display: grid;
border-top: 1px solid ${props => props.theme.lightgrey};
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
grid-gap: 1px;
background: ${props => props.theme.lightgrey};
align-self: end;
& > * {
background: white;
border: 0;
font-size: 1rem;
padding: 1rem;
}
}
`;
export default Item;
|