From 4f5f5e71c74d100512864fbc7d521137922b54f1 Mon Sep 17 00:00:00 2001 From: sacdeq Date: Fri, 25 Apr 2025 14:21:14 +0200 Subject: [PATCH] fix css for CEF 103 --- src/app/components/Lobby.tsx | 8 ++++---- src/app/components/Ranked.tsx | 2 +- src/app/components/Session.tsx | 6 +++--- src/app/globals.css | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/src/app/components/Lobby.tsx b/src/app/components/Lobby.tsx index 5e0c3a5..e919cf7 100644 --- a/src/app/components/Lobby.tsx +++ b/src/app/components/Lobby.tsx @@ -72,7 +72,7 @@ export default function Lobby ( { player }: { player: string } ) return (
) } diff --git a/src/app/components/Ranked.tsx b/src/app/components/Ranked.tsx index 9dae878..53fa17a 100644 --- a/src/app/components/Ranked.tsx +++ b/src/app/components/Ranked.tsx @@ -87,7 +87,7 @@ export default function Ranked ( { name, tag }: { name: string; tag: string } ) }` } >
diff --git a/src/app/components/Session.tsx b/src/app/components/Session.tsx index 53523f0..f57e5e1 100644 --- a/src/app/components/Session.tsx +++ b/src/app/components/Session.tsx @@ -43,16 +43,16 @@ export default function Session ( { name, tag }: { name: string; tag: string } ) return (
-
+
Summoner Icon { data.rankedIcon && ( Ranked Icon diff --git a/src/app/globals.css b/src/app/globals.css index d491c1d..5bbd4b8 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -18,6 +18,15 @@ body { font-family: Arial, Helvetica, sans-serif; } +@theme { + --color-red-600: #e7000b; + --color-red-800: #9f0712; + --color-sky-600: #0084d1; + --color-sky-800: #00598a; + --color-gray-200: #e5e7eb; + --color-gray-300: #d1d5dc; +} + @keyframes slideInOut { 0% { transform: translateX(-100%); @@ -36,6 +45,31 @@ body { } } +.scaler-200 { + transform: scale(2); +} + +.scaler-125 { + transform: scale(1.25); +} + +.scaler-105 { + transform: scale(1.05); +} + +.scaler-90 { + transform: scale(0.9); +} + +.scaler-75 { + transform: scale(0.75); +} + +.scaler-50 { + transform: scale(0.5); +} + + .slide-animation { animation: slideInOut 30s ease-in-out forwards; }