File tree 3 files changed +76
-2
lines changed
3 files changed +76
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ <h2>台中清水旗艦店</h2>
146
146
< a href ="./location-02.html " target ="_blank "> 詳細資訊</ a >
147
147
</ div >
148
148
<!-- card-4 -->
149
- < div class ="location-card card-3 ">
149
+ < div class ="location-card card-4 ">
150
150
< div class ="img-frame ">
151
151
< img src ="./img-location/location-kaohsiung-figure.png " alt ="高雄中正形象店 ">
152
152
</ div >
@@ -180,7 +180,7 @@ <h2>高雄中正形象店</h2>
180
180
< a href ="./location-02.html " target ="_blank "> 詳細資訊</ a >
181
181
</ div >
182
182
<!-- card-5 -->
183
- < div class ="location-card card-3 ">
183
+ < div class ="location-card card-5 ">
184
184
< div class ="img-frame ">
185
185
< img src ="./img-location/location-kaohsiung-dream.png " alt ="高雄夢時代店 ">
186
186
</ div >
Original file line number Diff line number Diff line change 137
137
}
138
138
139
139
@layer components {
140
+ @keyframes floating {
141
+ 0% {
142
+ transform : translateY (-8px );
143
+ }
144
+ 50% {
145
+ transform : translateY (8px );
146
+ }
147
+ 100% {
148
+ transform : translateY (-8px );
149
+ }
150
+ }
140
151
.sub-nav {
141
152
width : 100% ;
142
153
--nav-textBorderBottom : # aa0601 ;
364
375
}
365
376
}
366
377
}
378
+ & .items : nth-of-type (2n ) {
379
+ animation-name : floating;
380
+ animation-duration : 4s ;
381
+ animation-timing-function : linear;
382
+ animation-iteration-count : infinite;
383
+ }
384
+ & .items : nth-of-type (2 n-1) {
385
+ animation-name : floating;
386
+ animation-delay : 2s ;
387
+ animation-duration : 4s ;
388
+ animation-timing-function : linear;
389
+ animation-iteration-count : infinite;
390
+ }
367
391
}
368
392
369
393
& .grid-container {
390
414
justify-content : center;
391
415
align-items : center;
392
416
padding-block : 80px ;
417
+ color : # 555 ;
393
418
394
419
& .prev ,
395
420
.next ,
399
424
align-items : center;
400
425
border : 1px solid # 555555 ;
401
426
}
427
+ & .prev : hover ,
428
+ .next : hover ,
429
+ .page : hover {
430
+ transition : all 0.3 ease;
431
+ transform : translateY (-10px );
432
+ cursor : pointer;
433
+ background-color : var (--button-bg );
434
+ color : # ffb400 ;
435
+ }
436
+
402
437
& .prev ,
403
438
.next {
404
439
width : 81px ;
405
440
height : 48px ;
406
441
font-size : 19px ;
442
+ background-color : # f2f2f2 ;
407
443
}
408
444
409
445
& .page {
Original file line number Diff line number Diff line change 137
137
}
138
138
139
139
@layer components {
140
+ @keyframes floating {
141
+ 0% {
142
+ transform : translateY (-8px );
143
+ }
144
+ 50% {
145
+ transform : translateY (8px );
146
+ }
147
+ 100% {
148
+ transform : translateY (-8px );
149
+ }
150
+ }
140
151
.sub-nav {
141
152
width : 100% ;
142
153
--nav-textBorderBottom : # aa0601 ;
318
329
position : relative;
319
330
/* max-width: 306px; */
320
331
width : auto;
332
+
321
333
& .img-container {
322
334
/* width: 306px; */
323
335
height : 100% ;
378
390
}
379
391
}
380
392
}
393
+
394
+ & .items : nth-of-type (2n ) {
395
+ animation-name : floating;
396
+ animation-duration : 4s ;
397
+ animation-timing-function : linear;
398
+ animation-iteration-count : infinite;
399
+ }
400
+ & .items : nth-of-type (2 n-1) {
401
+ animation-name : floating;
402
+ animation-delay : 2s ;
403
+ animation-duration : 4s ;
404
+ animation-timing-function : linear;
405
+ animation-iteration-count : infinite;
406
+ }
381
407
}
382
408
383
409
& .grid-container {
404
430
justify-content : center;
405
431
align-items : center;
406
432
padding-block : 80px ;
433
+ color : # 555 ;
407
434
408
435
& .prev ,
409
436
.next ,
413
440
align-items : center;
414
441
border : 1px solid # 555555 ;
415
442
}
443
+ & .prev : hover ,
444
+ .next : hover ,
445
+ .page : hover {
446
+ transition : all 0.3 ease;
447
+ transform : translateY (-10px );
448
+ cursor : pointer;
449
+ background-color : var (--button-bg );
450
+ color : # ffb400 ;
451
+ }
452
+
416
453
& .prev ,
417
454
.next {
418
455
width : 81px ;
419
456
height : 48px ;
420
457
font-size : 19px ;
458
+ background-color : # F2F2F2 ;
421
459
}
422
460
423
461
& .page {
You can’t perform that action at this time.
0 commit comments