From 779cec4052c0460f77581ccbe0fb69ec493e3fca Mon Sep 17 00:00:00 2001 From: Marces Zastrow Date: Thu, 9 Jan 2025 13:18:47 +0100 Subject: [PATCH] + Made everything look way better. --- frontend/src/pages/games.css | 89 ++++++++++++++++++++++++++++++ frontend/src/pages/games.jsx | 103 ++++++++++++++++++++++++++++------- 2 files changed, 171 insertions(+), 21 deletions(-) diff --git a/frontend/src/pages/games.css b/frontend/src/pages/games.css index 7318251..3e88cbd 100644 --- a/frontend/src/pages/games.css +++ b/frontend/src/pages/games.css @@ -18,4 +18,93 @@ .bar-fg-blue { background-color: blue; +} + +.gender-icon { + background: linear-gradient( + 45deg, + #FF69B4 0%, /* Pink */ + #8A2BE2 50%, /* Purple */ + #4169E1 100% /* Blue */ + ); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; + color: transparent; + display: inline-block; /* Ensure icon remains visible */ +} + +.rarity-1 { + color: #9d9d9d !important; + border: 4px solid #9d9d9d; +} + +.rarity-2 { + color: #ffffff !important; + border: 4px solid #ffffff; +} + +.rarity-3 { + color: #15ff00 !important; + border: 4px solid #1eff00; +} + +.rarity-4 { + color: #0070dd !important; + border: 4px solid #0070dd; +} + +.rarity-5 { + color: #a335ee !important; + border: 4px solid #a335ee; +} + +.rarity-6 { + color: #ff8000 !important; + border: 4px solid #ff8000; +} + +.rarity-7 { + color: #fa0101 !important; + border: 4px solid #fa0101; +} + + +.rarity-image { + border-radius: 3px; +} + +.rarity-name-1 { + color: #9d9d9d !important; + font-weight: bold !important; +} + +.rarity-name-2 { + color: #ffffff !important; + font-weight: bold !important; +} + +.rarity-name-3 { + color: #15ff00 !important; + font-weight: bold !important; +} + +.rarity-name-4 { + color: #0070dd !important; + font-weight: bold !important; +} + +.rarity-name-5 { + color: #a335ee !important; + font-weight: bold !important; +} + +.rarity-name-6 { + color: #ff8000 !important; + font-weight: bold !important; +} + +.rarity-name-7 { + color: #fa0101 !important; + font-weight: bold !important; } \ No newline at end of file diff --git a/frontend/src/pages/games.jsx b/frontend/src/pages/games.jsx index b74d18f..26d835c 100644 --- a/frontend/src/pages/games.jsx +++ b/frontend/src/pages/games.jsx @@ -10,6 +10,8 @@ import CalendarTodayIcon from '@mui/icons-material/CalendarToday'; import PetsIcon from '@mui/icons-material/Pets'; import WcIcon from '@mui/icons-material/Wc'; import WorkIcon from '@mui/icons-material/Work'; +import HeartIcon from '@mui/icons-material/Favorite'; +import WaterDropIcon from '@mui/icons-material/WaterDrop'; import defaultCharacterImage from '../assets/default-character.png'; import defaultItemImage from '../assets/default-item.png'; @@ -90,7 +92,12 @@ const GamesPage = () => { No Character Found - + +