-
Notifications
You must be signed in to change notification settings - Fork 0
/
co_layout3.css
310 lines (255 loc) · 5.07 KB
/
co_layout3.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
@charset "utf-8";
/*
New Perspectives on HTML5, CSS3, and JavaScript 6th Edition
Tutorial 13
Review Assignment
Coctura Layout Style Sheet
Filename: co_layout3.css
*/
/* HTML and Body Styles */
html {
background: rgb(191, 191, 191);
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
color: rgb(101, 101, 101);
}
body {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-align-items: flex-end;
align-items: flex-end;
background: white;
max-width: 1020px;
min-width: 420px;
margin: 0px auto;
box-shadow: rgb(51, 51, 51) 10px 10px 25px, rgb(51, 51, 51) -10px 10px 25px;
}
p {
font-size: 1.2em;
line-height: 1.4em;
margin: 15px;
}
/* Header Styles */
body > header {
width: 100%;
}
body > header > section {
height: 40px;
text-align: right;
padding-top: 10px;
}
body > header > section label {
display: inline-block;
margin-right: 15px;
}
body > header > img {
display: block;
width: 100%;
}
/* User Form Styles */
input#username {
display: inline-block;
margin-right: 20px;
}
input#password {
display: inline-block;
margin-right: 15px;
}
/* Top Navigation Styles */
nav#toptop ul {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: flex-end;
justify-content: flex-end;
-webkit-align-items: center;
align-items: center;
height: 40px;
border-top: 4px double rgb(211, 211, 211);
border-bottom: 4px double rgb(211, 211, 211);
background-color: rgb(122, 90, 53);
}
nav#toptop ul li {
-webkit-flex: 0 1 100px;
flex: 0 1 100px;
margin: 10px;
}
nav#toptop ul li a {
color: rgb(211, 211, 211);
display: block;
font-size: 1.2em;
text-align: center;
padding: 50% 0%;
font-variant: small-caps;
}
nav#toptop ul li a:hover,
nav#toptop ul li a:active {
color: rgb(211, 211, 211);
}
nav#bottomtop ul {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: center;
justify-content: center;
-webkit-align-items: center;
align-items: center;
height: 40px;
border-top: 4px double rgb(57, 44, 28);
border-bottom: 4px double rgb(57, 44, 28);
}
nav#bottomtop ul li {
-webkit-flex: 0 1 80px;
flex: 0 1 80px;
margin: 10px;
}
nav#bottomtop ul li a {
color: rgb(57, 44, 28);
display: block;
font-size: 1.2em;
text-align: center;
padding: 50% 0%;
font-variant: small-caps;
}
/* Section Styles */
section#summary {
-webkit-flex: 1 1 50px;
flex: 1 1 50px;
padding: 20px 0px 10px 20px;
}
section#summary h1 {
font-size: 1.8em;
letter-spacing: 0.1em;
line-height: 1.2em;
font-weight: normal;
margin-bottom: 10px;
}
section#summary h2 {
font-size: 1.25em;
font-weight: normal;
}
section#summary h3 {
font-size: 1em;
font-weight: normal;
margin-bottom: 20px;
}
section#summary > img {
display: block;
width: 50%;
margin: 0px auto;
}
section#summary p {
font-size: 0.9em;
text-align: justify;
}
section#orderSection {
-webkit-flex: 1 1 200px;
flex: 1 1 200px;
margin: 20px;
}
/* Order Table Styles */
table#cartTable {
margin: 15px;
width: 95%;
border-collapse: collapse;
}
form#cart fieldset {
border: none;
margin-left: -10px;
}
form#cart input[type="text"] {
background-color: rgba(240, 233, 222, 0.5);
}
table#cartTable caption {
font-size: 1.3em;
font-weight: bold;
letter-spacing: 0.2em;
text-align: left;
caption-side: top;
margin-bottom: 20px;
}
table#cartTable td {
height: 30px;
vertical-align: top;
}
form#cart input[type="text"] {
color: rgb(101, 101, 101);
}
form#cart select {
display: inline-block;
margin-left: 10px;
color: rgb(101, 101, 101);
}
table#cartTable tr td:last-of-type input {
text-align: right;
border: none;
}
table#cartTable tr:nth-of-type(3) {
border-bottom: 1px solid rgb(151, 151, 151);
}
table#cartTable tr:nth-of-type(2) td,
table#cartTable tr:nth-of-type(4) td {
padding-top: 15px;
}
table#cartTable tr:nth-of-type(5) td {
border-bottom: 6px double rgb(151, 151, 151);
}
table#cartTable tr:last-of-type td {
padding-top: 15px;
}
table#cartTable td.rightA {
text-align: right;
padding-right: 10px;
}
form#cart fieldset label {
display: block;
}
form#cart input#buttonAdd {
display: block;
width: 120px;
height: 35px;
margin: 15px auto;
background-color: rgba(232, 218, 201, 0.8);
font-size: 1.3em;
border-radius: 20px;
}
/* Footer Styles */
footer {
width: 100%;
}
footer p {
color: rgb(211, 211, 211);
font-size: 0.9em;
text-align: center;
background-color: rgb(122, 90, 53);
margin: 0px;
padding: 10px 0px;
}
/* Bottom Navigation List Styles */
nav#bottom {
background-color: rgb(238, 218, 201);
padding: 15px;
}
nav#bottom ul li {
font-size: 1em;
line-height: 1.8em;
}
nav#bottom ul a {
color: rgb(101, 101, 101);
}
/* Bottom Navigation Styles */
nav#bottom {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: center;
justify-content: center;
}
nav#bottom ul {
flex: 0 1 150px;
}