mirror of
https://github.com/RGBCube/Site
synced 2025-07-31 13:07:46 +00:00
cube: unfix size
This commit is contained in:
parent
e25d198cc9
commit
23bdfef6cc
3 changed files with 19 additions and 6 deletions
|
@ -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 }}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue