1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

cube: unfix size

This commit is contained in:
RGBCube 2025-06-03 03:35:30 +03:00
parent e25d198cc9
commit 23bdfef6cc
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
3 changed files with 19 additions and 6 deletions

View file

@ -1,9 +1,4 @@
<style>
html {
font-size: min(9svw, 9svh, 4.5rem);
overscroll-behavior: none;
}
cube-face {
height: {{ cube_size }};
width: {{ cube_size }};
@ -21,9 +16,9 @@
</style>
<cube-scene class="
h-dvh w-dvw
flex items-center justify-center
perspective-[calc({{ cube_size.replaceAll(" ", "_") }}*3)]
overscroll-none
">
<cube-itself class="
size-[{{ cube_size }}]