1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-08 00:32:34 +08:00

feat(Header): adjust header gradient mask

This commit is contained in:
2026-03-06 16:56:40 +08:00
parent 206cf373a3
commit b81d7fd415

View File

@@ -125,7 +125,7 @@
&:nth-of-type(1) {
backdrop-filter: blur(10px);
filter: url(#noise-filter);
mask-image: linear-gradient(to right, black 0%, transparent 60%);
mask-image: linear-gradient(to right, black 0%, transparent 100%);
mix-blend-mode: screen;
z-index: 1;
}
@@ -133,12 +133,6 @@
&:nth-of-type(2) {
z-index: 0;
}
@media screen and (max-width: 840px) {
&:nth-of-type(1) {
mask-image: linear-gradient(to right, black 0%, transparent 100%);
}
}
}
}
@@ -350,10 +344,6 @@
}
img {
&:nth-of-type(1) {
transition: 5s var(--md-sys-motion-spring-slow-effect);
}
&:nth-of-type(2) {
transition: var(--md-sys-motion-spring-slow-effect-duration) var(--md-sys-motion-spring-default-effect)
var(--md-sys-motion-spring-fast-effect-duration);
@@ -380,11 +370,6 @@
}
img {
&:nth-of-type(1) {
opacity: 0;
transform: translateX(-25%);
}
&:nth-of-type(2) {
opacity: 0;
transform: scale(1.005);