diff --git a/frontend/src/pages/pong/pong.css b/frontend/src/pages/pong/pong.css index adfb9c6..e16e519 100644 --- a/frontend/src/pages/pong/pong.css +++ b/frontend/src/pages/pong/pong.css @@ -42,9 +42,6 @@ absolute text-xl } - .pong-bat { - @apply absolute w-3 h-20 bg-white; - } .disp-key { @apply inline-flex @@ -56,9 +53,13 @@ font-mono text-sm font-medium select-none } -} -@layer components { - .pong-btn-style { + .page-title { + @apply text-3xl font-bold text-gray-800 + } + .displaybox { + @apply bg-[#43536b]; + } + .dflt-btn-style { @apply text-white cursor-pointer @@ -68,14 +69,7 @@ active:translate-y-px active:shadow-[0_2px_0_0_black]; } - .page-title { - @apply text-3xl font-bold text-gray-800 - } - .displaybox { - @apply bg-[#43536b]; - } - /* pong decorative */ - .pong-mainboxDisplay { + .game-mainBoxDisplay { @apply fixed top-1/2 @@ -86,6 +80,11 @@ bg-gray-200 border-gray-200 p-6 } +} + +/* PONG ONLY ELEMENTS */ +@layer components { + /* pong decorative */ .pongbox-style { @apply h-112.5 @@ -106,6 +105,9 @@ bg-size-[4px_20px]; } /* game pong moving elements */ + .pong-bat { + @apply absolute w-3 h-20 bg-white; + } .pong-batleft { @apply absolute left-4 top-0; diff --git a/frontend/src/pages/pong/pong.html b/frontend/src/pages/pong/pong.html index 8e53e92..7dd124f 100644 --- a/frontend/src/pages/pong/pong.html +++ b/frontend/src/pages/pong/pong.html @@ -1,5 +1,5 @@
-
+
- -

- Tic-tac-toe Box -


-
-
- X +
+
+
+
+
+
+

Tic-tac-toe Box

+
+
+ +
+
+
+
X
-
-
+
+
@@ -20,19 +24,16 @@
-
-
-
-
- O +
+
+
O
-
-
- +
+
+
+ +