forked from hasbealam/Bluefly
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
372 lines (298 loc) · 5.79 KB
/
index.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
body {
margin: 0;
padding: 0;
}
link[rel="icon"] {
width: 150px;
height: 150px;
}
/* slideshow */
#slideshow {
width: 100%;
height: 500px;
/* border: 1px solid black; */
}
#brand_contents {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
background-color: rgba(0, 0, 0, 0.5);
/* filter: brightness(100%); */
/* margin-top: 50%; */
}
#brand_contents button {
width: 100px;
padding: 10px;
color: black;
border: 0px;
margin-top: 30px;
/* background-color: rgba(0, 0, 0, 0.75); */
}
#brand_contents h1 {
font-family: 'Noto Serif Display', serif;
font-size: 100px;
/* text-shadow: 1px 1px gainsboro; */
}
#brand_contents p {
font-family: Futura, sans-serif;
font-size: 60px;
}
/* recommended products div */
#recommended_products {
width: 100%;
height: 400px;
background-color: rgb(126, 156, 146);
border: 1px solid black
}
/* offer on brands */
#offers_div {
position: relative;
text-align: center;
color: white;
display: grid;
width: 95%;
/* height:300px; */
grid-template-columns: repeat(3, 1fr);
/* grid-template-rows: 400px; */
gap: 20px;
margin: auto;
justify-content: space-around;
margin-top: 10px;
}
.offer_content {
/* background-color: aqua;
border: 1px solid black; */
/* width: auto; */
height: 500px;
position: relative;
text-align: center;
/* display: block;
margin: auto; */
}
.offer_content img {
width: 100%;
height: 100%;
object-fit: fill;
filter: brightness(95%);
}
.offer_content div {
position: absolute;
bottom: 20px;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
padding: 0 10px;
/* border: 1px solid black; */
}
.offer_content button {
border: 0;
padding: 5px 20px;
color: black;
font-weight: 550;
font-family: Futura, sans-serif;
letter-spacing: .025em;
line-height: 1.6;
margin-top: 10px;
}
.offer_content h1 {
font-family: Tiemann, serif;
font-weight: 600;
letter-spacing: 0em;
font-size: 50px;
margin-bottom: -5px;
}
.offer_content p {
font-family: Futura, sans-serif;
letter-spacing: 3px;
line-height: 26px;
font-size: 20px;
margin-bottom: -10px;
}
.offer_content h2 {
font-family: Futura, sans-serif;
font-size: 20px;
padding: 0px 20px;
font-weight: 600;
letter-spacing: 2px;
}
/* carousel */
#carouselExampleCaptions1 {
font-family: 'Vidaloka', serif;
/* position: relative; */
z-index: 0;
}
#carouselExampleCaptions2 {
font-family: 'Vidaloka', serif;
margin-bottom: 10px;
margin-top: 50px;
z-index: 0;
}
#carouselExampleCaptions1 img {
width: 100%;
height: 500px;
object-fit: cover;
object-position: center;
}
#carouselExampleCaptions2 img {
width: 100%;
height: 500px;
object-fit: cover;
object-position: bottom;
}
#carouselExampleCaptions1 .sheadak>h1 {
text-transform: uppercase;
font-size: 80px;
text-align: center;
}
#carouselExampleCaptions1 .sheadak>p {
text-transform: uppercase;
font-size: 30px;
}
#carouselExampleCaptions1 .sheadak>button {
padding: 10px 20px 10px 20px;
background-color: white;
border: none;
color: black;
letter-spacing: .2em;
margin-bottom: 10px;
}
#carouselExampleCaptions2 .sheadak>h1 {
text-transform: uppercase;
font-size: 60px;
text-align: center;
}
#carouselExampleCaptions2 .sheadak>p {
text-transform: uppercase;
font-size: 20px;
}
#carouselExampleCaptions2 .sheadak>button {
padding: 10px 15px 10px 15px;
background-color: white;
border: none;
color: black;
letter-spacing: 0.2em;
}
/* page responsive part */
@media all and (min-width:480px) and (max-width:760px) {
#offers_div {
width: 100%;
grid-template-columns: repeat(1, 1fr);
gap: 10px;
}
.offer_content {
height: 300px;
}
.offer_content img {
object-fit: cover;
}
#carouselExampleCaptions1 img {
height: 300px;
}
#carouselExampleCaptions2 img {
height: 300px;
}
#carouselExampleCaptions1 .sheadak>h1 {
font-size: 30px;
}
#carouselExampleCaptions2 .sheadak>h1 {
font-size: 30px;
}
#carouselExampleCaptions1 .sheadak>p {
font-size: 15px;
}
#carouselExampleCaptions2 .sheadak>p {
font-size: 15px;
}
/* .carousel-inner{
overflow-x: visible;
} */
}
#bottom {
width: 100%;
/* border: solid red; */
background-color: rgb(230, 230, 230);
padding: 40px;
}
#bottom1 {
/* border: solid blue; */
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
#bottom1 button,
input {
width: 50%;
height: 30px;
/* background-color: black; */
color: white;
}
#bottom2 {
/* border: solid blue; */
text-align: center;
margin-top: 60px;
}
#bottom1>div:nth-child(1) {
display: flex;
width: 90%;
}
#bottom1>div {
/* border: solid green; */
justify-content: space-between;
}
#bottom1 button {
background-color: black;
color: white;
width: 51%;
}
@media all and (min-width:120px) and (max-width:480px) {
#offers_div {
width: 100%;
grid-template-columns: repeat(1, 1fr);
gap: 10px;
}
.offer_content {
height: 300px;
}
.offer_content img {
object-fit: cover;
}
.offer_content button {
padding: 2px 10px;
color: black;
font-size: 15px;
}
.offer_content h1 {
font-size: 25px;
margin-bottom: -5px;
}
.offer_content p {
letter-spacing: 2px;
font-size: 18px;
}
.offer_content h2 {
font-size: 15px;
}
#carouselExampleCaptions1 img {
height: 300px;
}
#carouselExampleCaptions2 img {
height: 300px;
}
#carouselExampleCaptions1 .sheadak>h1 {
font-size: 30px;
}
#carouselExampleCaptions2 .sheadak>h1 {
font-size: 30px;
}
#carouselExampleCaptions1 .sheadak>p {
font-size: 15px;
}
#carouselExampleCaptions2 .sheadak>p {
font-size: 15px;
}
}