Skip to content

Commit

Permalink
feat: siri
Browse files Browse the repository at this point in the history
  • Loading branch information
baranwang committed Dec 14, 2024
1 parent e676eda commit 31e5dc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file modified theme/assets/icons/Siri.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/assets/icons/Siri.webp
Binary file not shown.
8 changes: 6 additions & 2 deletions theme/components/home-layout/home-layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

&-item {
--base-translate-y: -60%;
--base-translate-x: 11.8%;

position: absolute;
width: 100%;
Expand All @@ -40,10 +41,13 @@
background-color: rgb(0, calc(230 - var(--index) * 45), 255);
background-image: linear-gradient(45deg, #0000 50%, #0003);
border-radius: calc(20% - var(--index) * 2%);
transform: translateY(calc(var(--base-translate-y) - (var(--index) * 16%))) rotate(45deg) translateX(5%);
transform: translateX(var(--base-translate-x)) translateY(calc(var(--base-translate-y) - (var(--index) * 16%))) rotate(45deg);

@media (max-width: 640px) {
--base-translate-y: -40%;
--base-translate-x: -11.8%;
width: 200%;
padding-top: 200%;
}
}
}
Expand All @@ -59,4 +63,4 @@
-webkit-text-fill-color: transparent;
background-clip: text;
}
}
}

0 comments on commit 31e5dc5

Please sign in to comment.