Skip to content

Commit

Permalink
chore: update style
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzeTT committed Nov 22, 2023
1 parent 0de74c4 commit ca1d304
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
11 changes: 11 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,14 @@ input[type="range"]::-webkit-slider-thumb {
background-color: #2563EB;
border-radius: 50%;
}

@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)){
.blur-img-webkit {
--globalnav-backdrop-filter: saturate(180%) blur(24px);
}
}

.blur-img {
-webkit-filter: blur(24px);
filter: blur(24px);
}
9 changes: 4 additions & 5 deletions src/pages/tools/music.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,13 @@ export default function Rseg() {
</div>
<BaseCard ref={ref} className={`-mx-4 overflow-hidden ${isSmall ? 'scale-85' : ''}`}>
<div className={` min-w-[231.5px] max-w-[231.5px] z-0 relative ${isRounded ? 'rounded-xl overflow-hidden' : ''} ${highLight ? 'h-auto' : 'min-h-[359px] max-h-auto h-auto'} origin-top`}>
{!tr &&
{!tr && image1Crop ?
<>
<img src={image1Crop} alt="bg" className='absolute origin-center -z-30' />
{/* <img src={image1Crop} alt="bg" className='absolute scale-150 origin-center h-full w-auto blur-xl1 -z-20' /> */}
<div className='w-full h-full absolute bg-black/20 -z-10 bg-center bg-contain bg-cover! bg-no-repeat overflow-hidden ' style={{ backgroundImage: `url(${image1Crop})`}}></div>
<div className='w-full h-full absolute bg-black/20 -z-10 bg-center bg-contain bg-cover! bg-no-repeat overflow-hidden blur-xl scale-150' style={{ backgroundImage: `url(${image1Crop})`}}></div>
<div className='w-full h-full absolute bg-black/40 -z-10'></div>
</>
<div className='w-full h-full absolute bg-black/20 -z-10 bg-center bg-contain bg-cover! bg-no-repeat overflow-hidden blur-img blur-img-webkit scale-150' style={{ backgroundImage: `url(${image1Crop})`}}></div>
<div className='w-full h-full absolute bg-black/20 -z-10'></div>
</>:''
}
<div className='flex flex-col h-full' style={bleedingLine ? { border: '12.18px dashed #FF000000' } : {}}>

Expand Down

0 comments on commit ca1d304

Please sign in to comment.