-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheCommerceStyle.css
412 lines (406 loc) · 7.92 KB
/
eCommerceStyle.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
@charset "utf-8";
/* Global Styles */
a:hover {
color: rgba(255,255,255,1.00);
}
/*header*/
header {
font-family: 'Montserrat', sans-serif;
color: rgba(146,146,146,1.00);
font-size: 16px;
font-style: normal;
font-weight: 400;
}
/* Logo placeholder*/
#logo {
float: left;
padding-top: 10px;
padding-bottom: 10px;
width: 139px;
text-align: center;
color: rgba(255,255,255,1.00);
background-color: rgba(190,190,190,1.00);
}
/* div for Links in header */
#headerLinks {
float: left;
width: calc( 100% - 139px );
text-align: right;
padding-top: 10px;
padding-bottom: 10px;
background-color: rgba(255,255,255,1.00);
}
/* Links in header */
#headerLinks a {
text-decoration: none;
color: rgba(146,146,146,1.00);
padding-left: 66px;
font-size: 14px;
}
/* Offer text banner*/
#offer {
font-family: 'Montserrat', sans-serif;
clear: both;
background-color: rgba(246,246,246,1.00);
color: rgba(146,146,146,1.00);
padding-left: 115px;
padding-top: 57px;
padding-bottom: 57px;
}
/* Main content of the site */
#content {
clear: both;
overflow: auto;
padding-top: 29px;
}
/* Sidebar */
#content .sidebar {
font-family: 'Montserrat', sans-serif;
color: rgba(146,146,146,1.00);
float: left;
width: 20%;
padding-left: 3%;
padding-right: 3%;
text-align: center;
background-color: rgba(246,246,246,1.00);
padding-top: 36px;
height: 784px;
}
/* main content of the site */
#content .mainContent {
float: left;
width: 70%;
text-align: center;
padding-left: 4%;
}
/*menubar's properties for menus in sidebar */
#content .sidebar #menubar {
text-align: left;
color: rgba(146,146,146,1.00);
position: relative;
left: 0%;
}
/* Search field in sidebar */
#content .sidebar #search {
width: 100%;
border-radius: 0px;
height: 42px;
text-align: center;
color: rgba(208,207,207,1.00);
font-size: 14px;
;
margin-bottom: 21px;
}
/* Whole page content */
#mainWrapper {
width: 80%;
padding-left: 10%;
}
/*menu elements */
.menu ul li {
list-style-type: none;
font-size: x-large;
position: relative;
left: -35px;
padding-top: 12px;
}
/* Product rows for catalog */
#content .mainContent .productRow {
overflow: auto;
color: rgba(146,146,146,1.00);
}
/* Each product Information in the catalog */
.mainContent .productRow .productInfo {
float: left;
padding-left: 5%;
padding-right: 5%;
width: 22%;
}
/* Prices of a products in catalog */
.productRow .productInfo .price {
font-family: 'Montserrat', sans-serif;
color: rgba(146,146,146,1.00);
font-size: 22px;
position: relative;
top: -20px;
}
/* Content holder for products in catalog*/
.productRow .productInfo .productContent {
position: relative;
top: -37px;
font-size: 14px;
font-family: source-sans-pro, sans-serif;
font-style: normal;
font-weight: 200;
color: rgba(146,146,146,1.00);
white-space: pre-wrap;
}
/* Buy button for products in catalog */
.productRow .productInfo .buyButton {
position: relative;
top: -48px;
width: 84%;
background-color: rgba(208,207,207,1.00);
height: 35px;
color: rgba(255,255,255,1.00);
border-style: none;
font-size: 14px;
text-transform: uppercase;
margin-top: 8px;
}
/* footer */
#mainWrapper footer {
clear: both;
overflow: auto;
background-color: rgba(208,207,207,1.00);
font-family: source-sans-pro, sans-serif;
font-style: normal;
font-weight: 200;
line-height: 1.8;
padding-top: 22px;
padding-left: 22px;
text-align: center;
padding-bottom: 22px;
padding-right: 22px;
}
/*Each footer content */
#mainWrapper footer div {
width: 27%;
float: left;
padding-left: 4%;
padding-right: 2%;
color: rgba(255,255,255,1.00);
text-align: justify;
}
/* Links in footer */
footer div a {
color: rgba(146,146,146,1.00);
display: block;
text-decoration: none;
text-align: center;
}
/* Product's images in catalog */
.productInfo div img {
width: 100%;
}
/*Links in sidebar */
.sidebar #menubar .menu ul li a {
color: rgba(146,146,146,1.00);
text-decoration: none;
}
.sidebar #menubar .menu ul li a:hover {
color: rgba(107,97,97,1.00);
text-decoration: none;
}
/* Menu headings in sidebar */
#menubar .menu h1 {
font-size: 14px;
}
/*Links under menus in sidebar */
#menubar .menu ul li a {
font-size: 14px;
}
/* Menus in sidebar */
.sidebar #menubar .menu {
margin-bottom: 29px;
}
/* Container for links in footer */
footer .footerlinks {
margin-top: -15px;
}
/* Media query for tablets */
@media screen and (max-width:700px) {
/* search field in sidebar */
#content .sidebar #search {
display: none;
}
/* sidebar */
#content .sidebar {
float: none;
width: 100%;
height: auto;
overflow: auto;
padding-left: 12%;
padding-top: 0px;
}
/* horizontal separators in sidebar */
#content .sidebar hr {
display: none;
}
/*The sidebar and maincontent of page */
#content {
position: relative;
top: -22px;
width: 100%;
overflow: hidden;
}
/*menu headings in sidebar */
#menubar .menu h1 {
display: inline;
font-size: medium;
padding-right: 6%;
}
/* Unordered List of links */
#menubar .menu ul {
display: inline;
}
/*list elements */
#menubar .menu ul li {
display: inline;
font-size: medium;
padding-left: 0%;
padding-right: 3%;
}
/*The link to be hidden in tablet view */
.sidebar #menubar .menu ul .notimp {
display: none;
}
/* menus in sidebar */
.sidebar #menubar .menu {
width: 100%;
text-align: center;
position: relative;
top: 16px;
}
/*menubar in sidebar */
#content .sidebar #menubar {
position: relative;
left: -7%;
overflow: hidden;
width: 95%;
padding-top: 0px;
}
/* offer banners content */
#mainWrapper #offer p {
font-size: small;
}
/* main content region of page */
#mainWrapper #content .mainContent {
overflow: hidden;
width: 95%;
margin-top: 40px;
}
/* Prices of products in catalog view */
.productRow .productInfo .price {
font-size: 19px;
}
/* Content holders in catalog view */
.productRow .productInfo .productContent {
font-size: 16px;
}
/* Buy buttons in catalog view */
.productRow .productInfo .buyButton {
font-size: 15px;
}
/* Container for links in footer */
#mainWrapper footer .footerlinks {
float: none;
width: 100%;
position: relative;
top: 17px;
clear: both;
text-align: center;
left: 0%;
padding-bottom: 19px;
}
/* Container for each footer divisions */
#mainWrapper footer div {
width: 44%;
text-align: justify;
font-size: 15px;
}
/* Links in footer */
.footerlinks p a {
padding-top: 0px;
padding-bottom: 0px;
display: inline;
padding-right: 35px;
}
/* Footer region */
#mainWrapper footer {
padding-left: 16px;
overflow: hidden;
}
/* Links in header */
header #headerLinks a {
padding-left: 0px;
padding-right: 30px;
}
/* Offer- Text banner */
#mainWrapper #offer {
padding-left: 22%;
}
/* Paragraphs in footer */
footer .footerlinks p {
display: inline;
}
}
/*media query for small screen devices */
@media screen and (max-width:480px) {
/*Container for links in header */
#mainWrapper header #headerLinks {
width: 100%;
text-align: center;
background-color: rgba(190,190,190,1.00);
padding-bottom: 21px;
}
/* Logo placeholder*/
#mainWrapper header #logo {
width: 100%;
text-align: center;
}
/* Links in header */
header #headerLinks a {
text-align: center;
padding-right: 15px;
padding-left: 0px;
}
/*Offer - Text Banner */
#mainWrapper #offer {
padding-left: 0px;
text-align: center;
}
/* Menubar in sidebar */
#content .sidebar #menubar {
position: relative;
left: -8%;
text-align: center;
}
/*Menu headings in sidebar */
#menubar .menu h1 {
width: 100%;
display: block;
}
/* Each product in catalog view */
.mainContent .productRow .productInfo {
width: 100%;
display: block;
padding-left: 0px;
padding-right: 0px;
position: relative;
left: -2%;
}
#mainWrapper footer div {
width: 100%;
margin-left: -16px;
text-align: justify;
padding-bottom: 16px;
overflow: auto;
}
/* Unordered list for menu elements */
.menu ul {
position: relative;
padding-left: 24%;
}
/* Container for links in footer */
#mainWrapper footer .footerlinks {
padding-left: 8%;
}
/* Main content which excludes the sidebar */
#mainwrapper #content .mainContent {
margin-top: -81px;
text-align: center;
width: 100%;
padding-left: 0px;
}
}