Skip to content

Commit 2bfc05e

Browse files
committed
Refactor crumple background colors and animations for consistency
- Update background colors for crumple elements to a uniform blue (#00BFFF). - Comment out previous gradient backgrounds for clarity. - Adjust background colors for shapes in the crumple animation to enhance visual consistency. - Maintain animation timings and structure for smooth transitions.
1 parent fcb39a7 commit 2bfc05e

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

css/crumple.css

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,9 @@
477477

478478
/* Use body-level selectors to target crumple */
479479
body:has(.footer > a:nth-child(odd):hover) .crumple {
480-
background: #1E90FF;
481-
background: -webkit-linear-gradient(45deg, #1E90FF, #00BFFF);
482-
background: linear-gradient(45deg, #1E90FF, #00BFFF);
480+
background: #00BFFF;
481+
/* background: -webkit-linear-gradient(45deg, #1E90FF, #00BFFF); */
482+
/* background: linear-gradient(45deg, #1E90FF, #00BFFF); */
483483
background-size: 400% 400%;
484484
z-index: 0;
485485
}
@@ -506,9 +506,9 @@
506506
}
507507

508508
body:has(.footer__link--writings:hover) .crumple {
509-
background: #1E90FF;
510-
background: -webkit-linear-gradient(45deg, #1E90FF, #00BFFF);
511-
background: linear-gradient(45deg, #1E90FF, #00BFFF);
509+
background: #00BFFF;
510+
/* background: -webkit-linear-gradient(45deg, #1E90FF, #00BFFF); */
511+
/* background: linear-gradient(45deg, #1E90FF, #00BFFF); */
512512
background-size: 400% 400%;
513513
z-index: 0;
514514
}
@@ -520,31 +520,36 @@
520520
body:has(.footer__link--writings:hover) .crumple .crumple__rect {
521521
-webkit-animation: rectangle-reveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
522522
animation: rectangle-reveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
523-
background-color: #e619c4;
523+
/* background-color: #e619c4; */
524+
background-color: #222;
525+
524526
}
525527

526528
body:has(.footer__link--writings:hover) .crumple .shapes-container .circle-one {
527529
-webkit-animation: circle-one 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
528530
animation: circle-one 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
529-
background-color: #1E90FF;
531+
background-color: #00BFFF;
530532
}
531533

532534
body:has(.footer__link--writings:hover) .crumple .shapes-container .circle-two {
533535
-webkit-animation: circle-two 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
534536
animation: circle-two 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
535-
background-color: #ff6347;
537+
/* background-color: #ff6347; */
538+
background-color: #222;
536539
}
537540

538541
body:has(.footer__link--writings:hover) .crumple .shapes-container .circle-three {
539542
-webkit-animation: circle-three 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
540543
animation: circle-three 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
541-
background-color: #eaff47;
544+
/* background-color: #eaff47; */
545+
background-color: #00BFFF;
542546
}
543547

544548
body:has(.footer__link--writings:hover) .crumple .shapes-container .circle-four {
545549
-webkit-animation: circle-four 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
546550
animation: circle-four 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
547-
background-color: #19e6a1;
551+
/* background-color: #19e6a1; */
552+
background-color: #222;
548553
}
549554

550555
body:has(.footer__link--github:hover) .crumple:after {

0 commit comments

Comments
 (0)