1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

add blur optimization :3

This commit is contained in:
ashley 2024-08-27 21:46:33 +00:00
parent 86be21db2c
commit 3e0af4d807

View file

@ -2288,10 +2288,38 @@ window.addEventListener("unload", cleanup)
position: absolute;
top: 0px;
border-radius: 18px;
filter: blur(150px);
transform: scale(1.1);
z-index: -1;
}
.ambient-canvas {
filter: blur(90px); /* its the default blur lol */
}
@media (min-width: 768px) {
.ambient-canvas {
filter: blur(110px);
}
}
@media (min-width: 1080px) {
.ambient-canvas {
filter: blur(120px);
}
}
@media (min-width: 1440px) {
.ambient-canvas {
filter: blur(150px);
}
}
@media (min-width: 2160px) {
.ambient-canvas {
filter: blur(200px);
}
}
</style>
<% } %>