|
6 | 6 | } |
7 | 7 |
|
8 | 8 | @import "tailwindcss"; |
9 | | -@plugin "@tailwindcss/typography"; |
| 9 | + |
10 | 10 | @import "@catppuccin/tailwindcss/mocha.css"; |
| 11 | +@custom-variant dark (&:where(.frappe, .frappe *, .macchiato, .macchiato *, .mocha, .mocha *)); |
| 12 | + |
11 | 13 | @import "tailwindcss-animated"; |
| 14 | + |
| 15 | +@plugin "@tailwindcss/typography"; |
12 | 16 | @theme { |
13 | 17 | --font-sans: "JetBrains Mono", sans-serif; |
14 | 18 | --font-hebrew: "Noto Sans Hebrew", sans-serif; |
|
27 | 31 | } |
28 | 32 |
|
29 | 33 | main { |
30 | | - overflow-y: auto; |
31 | 34 | -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */ |
32 | 35 | } |
33 | 36 | .skill-chip { |
@@ -59,13 +62,24 @@ main { |
59 | 62 |
|
60 | 63 | /* Position each controller in the pile */ |
61 | 64 | .controller-icon:nth-child(1) { |
62 | | - transform: rotateX(60deg) rotateZ(-30deg) translateZ(0px); |
| 65 | + transform: rotateX(5deg) rotateZ(-10deg) translateZ(0px) translateX(-25px) |
| 66 | + translateY(-10px); |
| 67 | + z-index: 3; |
63 | 68 | } |
64 | 69 | .controller-icon:nth-child(2) { |
65 | | - transform: rotateX(60deg) rotateZ(-30deg) translateZ(5px); |
| 70 | + transform: rotateX(5deg) rotateZ(0deg) translateZ(5px) translateX(0px) |
| 71 | + translateY(10px); |
| 72 | + z-index: 2; |
66 | 73 | } |
67 | 74 | .controller-icon:nth-child(3) { |
68 | | - transform: rotateX(60deg) rotateZ(-30deg) translateZ(10px); |
| 75 | + transform: rotateX(5deg) rotateZ(10deg) translateZ(10px) translateX(25px) |
| 76 | + translateY(-10px); |
| 77 | + z-index: 1; |
| 78 | +} |
| 79 | + |
| 80 | +/* Conditional coloring based on theme */ |
| 81 | +:global(html.latte) .controller-icon { |
| 82 | + filter: invert(1); /* Black for light mode */ |
69 | 83 | } |
70 | 84 |
|
71 | 85 | /* The Exploded View on Hover */ |
|
0 commit comments