-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
102 lines (83 loc) · 1.73 KB
/
style.css
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
body {
margin: 0;
font-family: 'Open Sans', sans-serif;
}
main > section.items h4 {
text-align: center;
margin-top: 0;
width: 100%;
}
main {
display: flex;
justify-content: center;
align-items:flex-start;
flex-wrap: wrap;
padding-top: 20px;
}
main > section.items {
display: flex;
flex-wrap: wrap;
border: 1px solid lightgrey;
padding: 20px;
max-width: 500px;
min-width: 300px;
justify-content: center;
}
section.items .product {
border: 1px solid lightgrey;
margin: 6px;
flex: 0 0 calc(33.333% - 24px);
cursor: pointer;
text-align: center;
}
section.items .product.selected {
border: 2px solid rgb(29, 134, 233);
}
section.items .photo img {
max-width: 90px;
}
section.items .description {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
font-size: 11px;
line-height: 15px;
}
section.items .description .price {
font-weight: bold;
margin: 4px auto;
}
section.items .description .quantity-area {
margin: 8px auto;
height: 14px;
}
section.items .description .quantity-area button {
width: 16px;
height: 16px;
display: inline-flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
section.items .description .quantity-area .quantity {
font-weight: bold;
margin: 0 4px;
}
section.summary {
background-color: rgb(245, 245, 245);
padding: 20px;
min-height: 200px;
min-width: 200px;
text-align: center;
}
section.summary table {
width: 100%;
padding-top: 12px;
font-size: 11px;
margin: auto;
}
section.summary table tbody tr:last-of-type th {
border-top: 1px solid black;
padding-top: 4px;
}