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

Revert "cube: make cube-face a class"

This reverts commit dcca24e7cc.
This commit is contained in:
RGBCube 2025-06-03 03:04:21 +03:00
parent dcca24e7cc
commit 638cfff96b
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
3 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@ prevent_zoom: true
---
<style>
.cube-face {
cube-face {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);

View file

@ -30,12 +30,12 @@
size-(--cube-width) absolute
flex items-center justify-center
` }}
<div draggable="false" class="{{ style }} cube-face cube-face-front"> {{ cube_face_front }} </cube-face>
<div draggable="false" class="{{ style }} cube-face cube-face-back"> {{ cube_face_back }} </cube-face>
<div draggable="false" class="{{ style }} cube-face cube-face-left"> {{ cube_face_left }} </cube-face>
<div draggable="false" class="{{ style }} cube-face cube-face-right"> {{ cube_face_right }} </cube-face>
<div draggable="false" class="{{ style }} cube-face cube-face-top"> {{ cube_face_top }} </cube-face>
<div draggable="false" class="{{ style }} cube-face cube-face-bottom"> {{ cube_face_bottom }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-front"> {{ cube_face_front }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-back"> {{ cube_face_back }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-left"> {{ cube_face_left }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-right"> {{ cube_face_right }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-top"> {{ cube_face_top }} </cube-face>
<cube-face draggable="false" class="{{ style }} cube-face-bottom"> {{ cube_face_bottom }} </cube-face>
</cube-itself>
</cube-scene>

View file

@ -3,7 +3,7 @@ prevent_zoom: true
---
<style>
.cube-face::after {
cube-face::after {
z-index: -1;
content: "";