-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss styles.css
85 lines (78 loc) · 1.33 KB
/
css styles.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
* {
font-family: 'Montserrat', sans-serif;
padding: 0;
margin: 0;
background-image: url("https://s.tmimgcdn.com/scr/1200x600/125100/grocery-retail-exterior-illustration_125156-original.jpg");
}
h1 {
text-align: center;
padding: 1em;
}
h2, h3 {
padding: 1em 0 .5em;
}
p {
padding-bottom: 1em;
}
.products-container{
width: 100%;
max-width: 55em;
padding: 2em;
}
.cart-container {
display: flex;
}
.checkout-container {
max-width: 34em;
padding: 2em;
background: #efefef;
}
.products, .cart{
display: flex;
flex-wrap: wrap;
}
.products > div {
background: #f5f5f5;
margin: 1em;
padding: 2em;
}
.products > div img {
max-width: 175px;
height: auto;
}
.products > div h3 {
font-weight: 800;
}
.cart > div {
border: 1px solid #ccc;
margin: 1em;
padding: 2em;
}
.checkout-container {
max-width: 34em;
}
.checkout {
margin-bottom: 4em;
}
button {
border: 1px solid #ccc;
background: #fff;
padding: 1em;
transition: .2s ease all;
text-transform: uppercase;
}
button.pay {
background: #f5f5f5;
vertical-align: middle
}
button:hover {
background: rgb(93, 120, 118);
color: #fff;
cursor: pointer;
}
.received {
font-size: 1.5em;
padding: 0.3em;
border: 1px solid #ccc;
vertical-align: middle
}