feat: adjust css

This commit is contained in:
Zamitto 2024-10-31 17:02:36 -03:00
parent 4f4dd29e5f
commit 3b828ca0f4
5 changed files with 15 additions and 62 deletions

View file

@ -273,7 +273,6 @@ export function AchievementsContent({
src={steamUrlBuilder.libraryHero(objectId)}
style={{ display: "none" }}
alt={gameTitle}
className={styles.heroImage}
onLoad={handleHeroLoad}
/>

View file

@ -23,31 +23,6 @@ export const hero = style({
flexDirection: "column",
position: "relative",
transition: "all ease 0.2s",
"@media": {
"(min-width: 1250px)": {
height: "350px",
minHeight: "350px",
},
},
});
export const heroImage = style({
width: "100%",
height: `${HERO_HEIGHT}px`,
minHeight: `${HERO_HEIGHT}px`,
objectFit: "cover",
objectPosition: "top",
transition: "all ease 0.2s",
position: "absolute",
zIndex: "0",
filter: "blur(5px)",
"@media": {
"(min-width: 1250px)": {
objectPosition: "center",
height: "350px",
minHeight: "350px",
},
},
});
export const heroContent = style({