blob: 292c75de3c9436bcaca27bcadcb5094058024759 (
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
40
41
42
43
44
|
import styled from 'styled-components';
const OrderItemStyles = styled.li`
box-shadow: ${props => props.theme.bs};
list-style: none;
padding: 2rem;
border: 1px solid ${props => props.theme.offWhite};
h2 {
border-bottom: 2px solid red;
margin-top: 0;
margin-bottom: 2rem;
padding-bottom: 2rem;
}
.images {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
margin-top: 1rem;
img {
height: 200px;
object-fit: cover;
width: 100%;
}
}
.order-meta {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20px, 1fr));
display: grid;
grid-gap: 1rem;
text-align: center;
& > * {
margin: 0;
background: rgba(0, 0, 0, 0.03);
padding: 1rem 0;
}
strong {
display: block;
margin-bottom: 1rem;
}
}
`;
export default OrderItemStyles;
|