-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.css
74 lines (74 loc) · 1.32 KB
/
checkout.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
main {
margin-top: 150px;
width: 80%;
margin-left: auto;
margin-right: auto;
}
h2 {
margin: 0;
margin-bottom: 10px;
font-size: 22px;
}
#main-content {
display: flex;
}
#card-list {
width: 50%;
}
.card {
width: 90%;
display: flex;
align-items: center;
margin-bottom: 30px;
border-radius: 7px;
}
.img-wrapper {
margin-left: 15px;
margin-right: 15px;
}
.card-img {
width: 80px !important;
}
#amount-section {
padding: 20px;
width: 45%;
box-shadow: 0 2px 10px rgb(0 0 0 / 40%);
height: 150px;
border-radius: 8px;
}
#place-order {
margin-top: 20px;
padding: 15px 25px;
border: none;
background-color: #009688;
color: #fff;
font-size: 20px;
font-weight: bold;
border-radius: 3px;
}
#place-order:hover {
box-shadow: 0 2px 10px rgb(0 ,0 ,0 , 80%);
}
#place-order:active {
transform: scale(1.1);
}
footer {
margin-top: 100px
}
@media(max-width:1050px) {
#main-content {
flex-direction: column;
align-items: center;
}
#card-list , #amount-section {
width: 90%;
}
#amount-section {
box-sizing: border-box;
height: auto;
}
.card {
width: 100%;
margin-left: 0;
}
}