generated from skills/introduction-to-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsign up.html
378 lines (355 loc) · 13.4 KB
/
sign up.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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign up</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #c29999;
}
.ul-one {
position: fixed;
display: flex;
flex-direction: row;
background-color: #333;
justify-content: flex-start;
width: 100%;
top: 0%;
left: 0%;
list-style-type: none;
z-index: 2;
transition: all ease-in-out 1.25s;
}
button {
background-color: #333;
color: rgb(166, 143, 143);
border: none;
padding: 0.5rem 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #ff6347;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
text-align: center;
min-width: 160px;
box-shadow: 0px rgba(0,0,0,0.2);
z-index: 2;
}
.dropdown-content ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.dropdown-content ul a {
text-decoration: none;
color: black;
display: block;
padding: 10px;
}
.dropdown:hover .dropdown-content {
display: block;
transition: all ease-in-out 0.5s;
}
.dropdown-content ul a:hover {
background-color: #ff6347;
}
.dropdown-content ul a:active {
background-color: #ff6347;
}
header img {
width: 24px;
height: 24px;
}
.italianno-regular {
position: absolute;
bottom: 10px; /* Adjust this value as needed */
background-color: rgba(24, 22, 22, 0); /* Optional: Add background for better readability */
padding: 10px; /* Optional: Add padding */
color: rgb(144, 119, 119); /* Ensure text color is readable */
width: 100%;
left: 0px;
right: 0px;
font-family: "Italianno", cursive;
font-weight: 400;
font-style: normal;
font-size: 2rem;
}
.header-text h1 {
margin: 20px;
}
button {
background-color: #333;
color: white;
border: none;
padding: 0.5rem 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #ff6347;
}
form {
justify-content: center;
align-items: center;
position: relative;
top: 75px;
width: 50%;
height: 70%;
margin: 0 auto;
border: 1px solid black;
border-radius: 10px;
background-image: url("images/pexels-n-voitkevich-6942001.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
fieldset{
background: transparent;
backdrop-filter: blur(10px);
width: 87.5%;
margin: 0 auto;
padding: 10px;
border: 1px solid black;
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.5);
}
legend {
color:antiquewhite;
font-size: 1.5rem;
font-weight: bold;
text-align: center;
}
label {
display: block;
margin: 10px;
color: whitesmoke;
}
input {
display: block;
margin: 10px;
padding: 5px;
width: 90%;
}
input.name, input.username {
background-image: url("images/person_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
input[type=address]{
background-image: url("images/location_on_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
input[type="email"] {
background-image: url("images/mail_24dp_000000_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
input[type="password"] {
background-image: url("images/visibility_off_24dp_000000_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
}
input[type="password"] {
background-image: url("images/visibility_off_24dp_000000_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
}
input[type="password"]:focus {
background-image: url("images/visibility_24dp_000000_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
input[type="number"] {
background-image: url("images/phone_in_talk_24dp_000000_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
input.age{
background-image: url("images/calendar_month_24dp_1F1F1F_FILL0_wght400_GRAD0_opsz24.png");
background-repeat: no-repeat;
background-position: right;
background-size: 20px;
color: rgb(8, 7, 7);
border: none;
border-radius: 5px;
}
.submit {
display: block;
margin-top: 25px;
padding: 5px;
width: 50%;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
position: relative;
bottom: 10px;
left: 25%;
}
form p{
text-align: center;
}
/*They learned yesterday concerning styling forms:
input[type="text"]-Used to affect specific inputs with regards to their type
input:focus- Used to affect inputs when they are being used
They also added icons in the inputs eg
1. in the email input
2. In the phone number input*/
</style>
</head>
<body>
<header>
<nav>
<ul class="ul-one">
<div class="dropdown">
<li><button><img src="images/home_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href="index.html"><li>Home</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/menu_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href="menu.html#Breakfastmenu"><li>Breakfast</li></a>
<a href="menu.html#Lunchmenu"><li>Lunch</li></a>
<a href="menu.html#Dinnermenu"><li>Dinner</li></a>
<a href="menu.html#Drinksmenu"><li>Drinks</li></a>
<a href="menu.html#Dessertsmenu"><li>Desserts</li></a>
<a href="menu.html#Snacksmenu"><li>Snacks</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/notifications_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href="notifications.html#Specials"><li>Specials</li></a>
<a href="notifications.html#Offers"><li>Offers</li></a>
<a href="notifications.html#Events"><li>Events</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/shopping_cart_checkout_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href=""><li>My Cart</li></a>
<a href=""><li>Reccomendations</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/settings_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href=""><li>Account information</li></a>
<a href=""><li>Privacy and security</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/account_circle_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href="log in.html"><li>Log in</li></a>
<a href="sign up.html"><li>Sign up</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/contact_support_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href="FAQs.html"><li>FAQs</li></a>
<a href=""><li>Contact Us</li></a>
<a href=""><li>About us</li></a>
</ul>
</div>
</div>
<div class="dropdown">
<li><button><img src="images/logout_24dp_EFEFEF_FILL0_wght400_GRAD0_opsz24.png" alt=""></button></li>
<div class="dropdown-content">
<ul>
<a href=""><li>Log out</li></a>
</ul>
</div>
</div>
</ul>
</nav>
<div class="italianno-regular">
<h1>MAMBO YOTE RESTAURANT</h1>
</div>
</header>
<form action="">
<fieldset>
<legend>Personal details</legend>
<label for="name">Name:</label>
<input type="text" class="name" name="name">
<label for="phone">Phone number:</label>
<input type="number" id="phone" name="phone">
<label for="address">Address:</label>
<input type="address" id="address" name="address">
</fieldset>
<fieldset>
<legend>Account details</legend>
<label for="email">Email:</label>
<input type="email" id="email" name="email">
<label for="username">Username:</label>
<input type="text" class="username" name="username">
<label for="password">Password:</label>
<input type="password" id="password" name="password">
<label for="confirm-password">Confirm Password:</label>
<input type="password" id="confirm-password" name="confirm-password">
<label for="age">Age</label>
<input type="text" class="age" name="age">
</fieldset>
<fieldset>
<legend>Your unique tastes</legend>
<label for="favourite-food">Favourite food</label>
<input id="favourite-food" type="text">
<label for="favourite-dessert">Favourite dessert</label>
<input id="favourite-dessert" type="text">
<label for="favourite-drink">Favourite drink</label>
<input id="favourite-drink" type="text">
</fieldset>
<button type="submit" class="submit">Sign up</button>
<p>Already have an account? <a href="log in.html">Log in</a></p>
</form>
</body>
</html>