-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from frontChapter/chore/remove-speaker-shadow-…
…styles Chore/remove speaker shadow styles
- Loading branch information
Showing
2 changed files
with
2 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
.speakers { | ||
@apply relative flex w-1/2 flex-col items-center gap-2 md:w-1/3 lg:w-1/4 lg:gap-4; | ||
@apply relative flex w-1/2 flex-col items-center gap-2 md:w-1/3 lg:w-1/6 lg:gap-4; | ||
& img { | ||
@apply transition-all; | ||
mask-image: linear-gradient(to top, transparent, #000); | ||
&:hover { | ||
@apply md:scale-110; | ||
mask-image: none; | ||
} | ||
&::after { | ||
@apply absolute inset-0 h-full w-full content-['']; | ||
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); | ||
} | ||
} | ||
&:nth-child(odd) { | ||
&::after { | ||
@apply absolute inset-x-1/2 inset-y-1/2 -z-10 h-0 w-0 -translate-y-14 animate-pulse rounded-full; | ||
content: ""; | ||
box-shadow: -3px -3px 60px 50px rgba(248, 118, 32, 0.75); | ||
} | ||
} | ||
&:nth-child(even) { | ||
&::after { | ||
@apply absolute inset-x-1/2 inset-y-1/2 -z-10 h-0 w-0 -translate-y-14 animate-pulse rounded-full; | ||
content: ""; | ||
box-shadow: -3px -3px 60px 50px rgba(73, 234, 84, 0.55); | ||
} | ||
} | ||
} |