From 9ddd9d39439732edb0fa07a45cb5fe97e40c22c1 Mon Sep 17 00:00:00 2001 From: efim Date: Sun, 2 Jul 2023 12:31:18 +0000 Subject: [PATCH] fix(14): halo should be around winning hand --- .../src/main/resources/public/output.css | 6 ++++++ .../src/main/resources/templates/index.html | 2 +- .../main/resources/templates/showdown.html | 21 +++++++++++++++---- .../main/scala/rockpaperscissors/Models.scala | 2 ++ 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/14-rock-paper-scissors/src/main/resources/public/output.css b/14-rock-paper-scissors/src/main/resources/public/output.css index c1fa4d4..ee87ab1 100644 --- a/14-rock-paper-scissors/src/main/resources/public/output.css +++ b/14-rock-paper-scissors/src/main/resources/public/output.css @@ -1082,6 +1082,12 @@ video { width: 400px; } + .md\:scale-150 { + --tw-scale-x: 1.5; + --tw-scale-y: 1.5; + transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); + } + .md\:rounded-lg { border-radius: 0.5rem; } diff --git a/14-rock-paper-scissors/src/main/resources/templates/index.html b/14-rock-paper-scissors/src/main/resources/templates/index.html index 8c635f0..ad02991 100644 --- a/14-rock-paper-scissors/src/main/resources/templates/index.html +++ b/14-rock-paper-scissors/src/main/resources/templates/index.html @@ -83,7 +83,7 @@
-
+
...
+ +
+
+
{ val player = playersChoice.c