mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-12-23 02:39:48 +01:00
small clean up
This commit is contained in:
parent
8935f82aed
commit
34307f4aaa
2 changed files with 1 additions and 8 deletions
|
@ -22,12 +22,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
// Nessecary as browsers might block autoplay. The timeout is nessecary as the video is always paused at the very start, even with autoplay on
|
videoElement.play().catch(() => {})
|
||||||
const timeout = setTimeout(() => {
|
|
||||||
isPaused = videoElement.paused
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
return () => clearTimeout(timeout)
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.mask {
|
.mask {
|
||||||
/* overflow: hidden; */
|
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
width: 400%;
|
width: 400%;
|
||||||
|
@ -90,7 +89,6 @@
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
}
|
}
|
||||||
.background {
|
.background {
|
||||||
/* scale: 0.8 0.8; */
|
|
||||||
--c1: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 10%);
|
--c1: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 10%);
|
||||||
--c2: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 15%);
|
--c2: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 15%);
|
||||||
--c3: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 20%);
|
--c3: color-mix(in hsl shorter hue, var(--color), hsl(0, 100%, 0%) 20%);
|
||||||
|
|
Loading…
Reference in a new issue