-
Notifications
You must be signed in to change notification settings - Fork 0
/
buy.html
279 lines (241 loc) · 7.47 KB
/
buy.html
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link href="http://fonts.googleapis.com/css?family=Cookie" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="homepage.css">
<link rel="stylesheet" href="footer.css">
<style>
body {
min-height: 100vh;
align-items: center;
justify-content: center;
font-size: 0.8rem
}
.card {
max-width: 1000px;
margin: 2vh
}
.card-top {
padding: 0.7rem 5rem
}
.card-top a {
float: left;
margin-top: 0.7rem
}
#logo {
font-family: 'Dancing Script';
font-weight: bold;
font-size: 1.6rem
}
.card-body {
padding: 0 5rem 5rem 5rem;
background-image: url("https://i.imgur.com/4bg1e6u.jpg");
background-size: cover;
background-repeat: no-repeat
}
@media(max-width:768px) {
.card-body {
padding: 0 1rem 1rem 1rem;
background-image: url("https://i.imgur.com/4bg1e6u.jpg");
background-size: cover;
background-repeat: no-repeat
}
.card-top {
padding: 0.7rem 1rem
}
}
.row {
margin: 0
}
.upper {
padding: 1rem 0;
justify-content: space-evenly
}
#three {
border-radius: 1rem;
width: 22px;
height: 22px;
margin-right: 3px;
border: 1px solid blue;
text-align: center;
display: inline-block
}
#payment {
margin: 0;
color: blue
}
.icons {
margin-left: auto
}
form span {
color: rgb(179, 179, 179)
}
form {
padding: 2vh 0
}
input {
border: 1px solid rgba(0, 0, 0, 0.137);
padding: 1vh;
margin-bottom: 4vh;
outline: none;
width: 100%;
background-color: rgb(247, 247, 247)
}
input:focus::-webkit-input-placeholder {
color: transparent
}
.header {
font-size: 1.5rem
}
.left {
background-color: #ffffff;
padding: 2vh
}
.left img {
width: 2rem
}
.left .col-4 {
padding-left: 0
}
.right .item {
padding: 0.3rem 0
}
.right {
background-color: #ffffff;
padding: 2vh
}
.col-8 {
padding: 0 1vh
}
.lower {
line-height: 2
}
.btn {
background-color: rgb(23, 4, 189);
border-color: rgb(23, 4, 189);
color: white;
width: 100%;
font-size: 0.7rem;
margin: 4vh 0 1.5vh 0;
padding: 1.5vh;
border-radius: 0
}
.btn:focus {
box-shadow: none;
outline: none;
box-shadow: none;
color: white;
-webkit-box-shadow: none;
-webkit-user-select: none;
transition: none
}
.btn:hover {
color: white
}
a {
color: black
}
a:hover {
color: black;
text-decoration: none
}
input[type=checkbox] {
width: unset;
margin-bottom: unset
}
#cvv {
background-image: linear-gradient(to left, rgba(255, 255, 255, 0.575), rgba(255, 255, 255, 0.541)), url("https://img.icons8.com/material-outlined/24/000000/help.png");
background-repeat: no-repeat;
background-position-x: 95%;
background-position-y: center
}
#cvv:hover {}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href=""><img src="logo.png" id="logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#"> <span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"></a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#"></a>
</li>
</ul>
<div class="btn-group btn-group-lg">
<a href="view.html"><button type="button" class="btn btn-primary">View Course</button></a>
<a href="homepage.html"><button type="button" class="btn btn-primary">Home</button></a>
</div>
</div>
</nav>
<br><br><br><br>
<div class="container">
<div class="card"><br><br>
<div class="card-body"><br><br>
<div class="row">
<div class="col-md-7">
<div class="left border">
<div class="row"> <span class="header">Payment</span>
<div class="icons"> <img src="https://img.icons8.com/color/48/000000/visa.png" /> <img src="https://img.icons8.com/color/48/000000/mastercard-logo.png" /> <img src="https://img.icons8.com/color/48/000000/maestro.png" /> </div>
</div>
<form> <span>Cardholder's name:</span> <input placeholder="Harmanjot Singh"> <span>Card Number:</span> <input placeholder="0125 6780 4567 9909">
<div class="row">
<div class="col-4"><span>Expiry date:</span> <input placeholder="YY/MM"> </div>
<div class="col-4"><span>CVV:</span> <input id="cvv"> </div>
</div> <input type="checkbox" id="save_card" class="align-left"> <label for="save_card">Save card details to wallet</label>
</form>
</div>
</div>
<div class="col-md-5">
<div class="right border">
<div class="header">Order Summary</div>
<p>1 items</p>
<div class="row item">
<div class="col-4 align-self-center"><img class="img-fluid" src="css.jpg"></div>
<div class="col-8">
<div class="row"><b>$ 20.00</b></div>
<div class="row text-muted">Cascading Style Sheets</div>
<div class="row">Qty:1</div>
</div>
</div>
<hr>
<div class="row lower">
<div class="col text-left">Subtotal</div>
<div class="col text-right">$ 100.00</div>
</div>
<div class="row lower">
<div class="col text-left">Discount</div>
<div class="col text-right">$ 80.00</div>
</div>
<div class="row lower">
<div class="col text-left"><b>Total to pay</b></div>
<div class="col text-right"><b>$ 20.00</b></div>
</div>
<div class="row lower">
</div> <button class="btn">Place order</button>
<p class="text-muted text-center">You can return course with 48 hours</p>
</div>
</div>
</div>
</div>
<div> </div>
</div>
</div>
</body>
</html>