-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
139 lines (138 loc) · 2.52 KB
/
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
* {
font-family: 'Montserrat', sans-serif;
padding: 0;
margin: 0;
}
.shopping-cart{
height:100vh;
}
h1 {
text-align: center;
padding: 1em;
}
h2, h3 {
padding: 1em 0 .5em;
}
p {
padding-bottom: 1em;
}
.cart-container {
display: flex;
}
.products-container{
width: 100%;
max-width: 55em;
padding: 2em;
}
/* .products{
//remove this if you want to get the og size
display: flex;
flex-wrap: wrap;
} */
.checkout-container {
max-width: 34em;
padding: 2em;
background: #efefef;
color: #000000;
font-weight: bold;
}
.products, .cart{
display: flex;
flex-wrap: wrap;
}
.products > div {
background: #f5f5f5;
margin: 1em;
padding: 2em;
transition: transform 0.5s ease-in-out;
font-weight: 800;
border-radius: 12px;
}
.products > div:hover{
transition: .3s ease;
background: rgb(93, 120, 118);
color: #fff;
transform: scale(1.1);
}
.products > div img {
/* max-width: 175px;
height: auto; */
width: 175px; /* Set a fixed width */
height: 175px; /* Set a fixed height */
object-fit: cover; /* Ensure the image covers the area while maintaining aspect ratio */
border-radius: 8px;
}
.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 {
margin-top: 1.5em;
background: #3873e2;
color: #fffdfd;
font-weight: 800;
vertical-align: middle
}
button.remove{
background: #ec1212;
vertical-align: middle;
border: 1px solid #ccc;
color: #fffdfd;
font-weight: 800;
cursor: pointer;
}
button:hover {
background: rgb(93, 120, 118);
color: #fff;
cursor: pointer;
}
button.add-to-cart {
background: rgb(55, 219, 49);
color: rgb(252, 252, 252);
cursor: pointer;
border: 1px solid rgb(55, 219, 49);
font-weight: 800;
border-radius: 20px
}
.received {
font-size: 1.5em;
padding: 0.3em;
border: 1px solid #ccc;
vertical-align: middle
}
.pay-summary{
display: flex;
justify-content: space-between;
flex-direction: column;
padding: 8px;
}
.pay-summary>div{
background-color: #fff;
}
.qup{
background-color: #39eb42;
color: #fff;
font-weight: 700;
}
.qdown{
background-color: #ff6358;
color: #fff;
font-weight: 700;
}