-
Notifications
You must be signed in to change notification settings - Fork 1
/
layout.css
541 lines (431 loc) · 10.5 KB
/
layout.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
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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
@charset "UTF-8";
/*
Styles for Final Project Layout
*/
header {
height: 250px;
/* optionally set an appropriate height for this banner area */
}
#banner {
margin-bottom: 20px;
=
}
/* Page Styles */
body {
border: solid 10px #8FC493;
box-shadow: 8px 8px 6px rgba(0, 0, 0, .5);
padding: 10px;
background-image: url(5226644.jpg);
background-position: center center;
background-repeat: repeat;
background-attachment: fixed;
background-size: cover;
background-color: #FFFFFF;
color: black;
}
/*Fonts */
h1 {
font-family: 'Noto Serif JP', serif;
margin-bottom: 0;
}
p {
/* adjust as needed */
font-family: 'Noto Serif JP', serif;
margin-top: 5px;
}
/*Nav */
nav {
width: 200px;
/* optionally set an appropriate width for this sidebar area */
float: left;
/* must float left or right to allow main content to sit next to it */
height: 750px;
/* set a height as needed if main page text is wrapping below sidebar; */
text-align: center;
}
select#select {
font-family: 'Noto Serif JP', serif;
margin-left: 1px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#select:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
/*Main body */
#main {
font-family: 'Noto Serif JP', serif;
margin-left: 260px;
/* Match this to nav's width above to keep content away from nav */
}
.co-photo {
float: left;
margin: 10px 20px 10px 0px;
border: 1px black solid;
box-shadow: -10px 7px 10px rgba(0, 0, 0, .5);
}
.co-photo2 {
float: right;
margin: 10px 120px 22px 15px;
border: 1px black solid;
box-shadow: 4px 7px 4px rgba(0, 0, 0, .5);
}
.co-photo3{
float: right;
margin: 100px 99px -100px 0px;
border: 1px black solid;
box-shadow: 4px 7px 4px rgba(0, 0, 0, .5);
}
label {
font-family: 'Noto Serif JP', serif;
}
/* Button Styles */
#Checkoutbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Checkoutbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Checkoutbutton:active {
position: relative;
top: 1px;
}
/* Shopping Button */
#Shoppingbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Shoppingbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Shoppingbutton:active {
position: relative;
top: 1px;
}
/* Sign in Button */
#SignInbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#SignInbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#SignInbutton:active {
position: relative;
top: 1px;
}
/*Shop Button */
#Shopbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Shopbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Shopbutton:active {
position: relative;
top: 1px;
}
/*Empty Cart Button */
#Emptybutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Emptybutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Emptybutton:active {
position: relative;
top: 1px;
}
/*SignOut Button */
#SignOutbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 15px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#SignOutbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#SignOutbutton:active {
position: relative;
top: 1px;
}
/*Process Order Button */
#Processbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 400px;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Processbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Processbutton:active {
position: relative;
top: 1px;
}
/*Shipping Button */
#Shippingbutton {
font-family: 'Noto Serif JP', serif;
margin-left: 400px;
align-items: center;
box-shadow: inset 0px 1px 0px 0px #ffffff;
background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
background-color: #f9f9f9;
border-radius: 6px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #4C784F;
font-size: 15px;
font-weight: bold;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
}
#Shippingbutton:hover {
background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
background-color: #e9e9e9;
color: #8FC493;
}
#Shippingbutton:active {
position: relative;
top: 1px;
}
/*quanties */
#q1,
#q2,
#q3,
#q4 {
font-family: 'Noto Serif JP', serif;
}
/* Checkout form */
form {
display: grid;
grid-template-rows: auto;
grid-gap: 20px;
position: relative;
max-width: 350em;
margin: 1em auto;
margin-bottom: 30px;
color: black;
}
.form-grid {
background-color: #FFFFF2;
box-shadow: 3px 4px 3px rgba(0, 0, 0, .5);
}
legend {
font-size: 1.3em;
}
/*Check results */
#checkResults,
#CheckCreditCard,
#CheckName,
#CheckEmail,
#CheckPhone,
#CheckStreet,
#CheckCity,
#CheckZip,
#CheckState,
#CheckCountry {
color: #FF4B27;
font-weight: bold;
}
/*General Tables */
table#contactinfo {
padding: 15px;
margin-bottom: 15px;
width: 100%;
}
table#contactinfo td {
height: 2.25em;
width: 1.25em;
vertical-align: top;
margin-right: 15px;
}
#fullname,
#email,
#phone,
#street,
#city,
#zip,
#state,
#country {
width: 150px;
}
#creditcard {
width: 250px;
}
table#paymentinfo {
padding: 15px;
margin-bottom: 15px;
width: 75%;
font-family: 'Noto Serif JP', serif;
}
table#paymentinfo td {
height: 3.45em;
vertical-align: top;
margin-right: 20px;
}
table#Shop {
background-color: #FFFFF2;
border: solid 6px #4C784F;
box-shadow: 3px 8px 5px rgba(0, 0, 0, .5);
}
table#cartTable {
background-color: #FFFFF2;
border: solid 6px #4C784F;
box-shadow: 8px 8px 6px rgba(0, 0, 0, .5);
}
#paymentMethod {
font-family: 'Noto Serif JP', serif;
}
/* Link Styles */
a:link {
text-decoration: none;
color: #285C2C;
}
a:visited {
text-decoration: none;
color: #5C3242;
}
a:hover {
text-decoration: none;
color: #A86C83;
font-size: 105%;
font-weight: bold;
}
a,
a:after,
a:before {
transition: all .5s;
}
a:active {
color: #285C2C;
}
/* Styles for Footer */
footer {
margin-top: 100px;
/* adjust as needed */
font-family: 'Noto Serif JP', serif;
text-align: center;
font-size: 50%;
clear: left;
}