301 lines
7.1 KiB
CSS
Executable File
301 lines
7.1 KiB
CSS
Executable File
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');
|
|
|
|
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.625rem;
|
|
--background: #060811;
|
|
--foreground: #c8d8f8;
|
|
--card: #0C1020;
|
|
--card-foreground: #c8d8f8;
|
|
--popover: #111628;
|
|
--popover-foreground: #c8d8f8;
|
|
--primary: #3B6FE8;
|
|
--primary-foreground: #ffffff;
|
|
--secondary: #1e2a45;
|
|
--secondary-foreground: #c8d8f8;
|
|
--muted: #181f35;
|
|
--muted-foreground: #7a92c0;
|
|
--accent: #2a3a60;
|
|
--accent-foreground: #c8d8f8;
|
|
--destructive: #C0392B;
|
|
--border: #1e2a45;
|
|
--input: #1e2a45;
|
|
--ring: #3B6FE8;
|
|
--chart-1: #FF6B35;
|
|
--chart-2: #4ECDC4;
|
|
--chart-3: #9B59B6;
|
|
--chart-4: #2ECC71;
|
|
--chart-5: #FFD700;
|
|
--sidebar: #0C1020;
|
|
--sidebar-foreground: #c8d8f8;
|
|
--sidebar-primary: #D4A843;
|
|
--sidebar-primary-foreground: #0C1020;
|
|
--sidebar-accent: #1e2a45;
|
|
--sidebar-accent-foreground: #c8d8f8;
|
|
--sidebar-border: #1e2a45;
|
|
--sidebar-ring: #D4A843;
|
|
|
|
/* Game-specific colors */
|
|
--game-bg: #060811;
|
|
--game-bg1: #0C1020;
|
|
--game-bg2: #111628;
|
|
--game-bg3: #181f35;
|
|
--game-border: #1e2a45;
|
|
--game-border2: #2a3a60;
|
|
--game-text: #c8d8f8;
|
|
--game-text2: #7a92c0;
|
|
--game-text3: #4a5f8a;
|
|
--game-gold: #D4A843;
|
|
--game-gold2: #A87830;
|
|
--game-purple: #7C5CBF;
|
|
--game-purpleL: #A07EE0;
|
|
--game-accent: #3B6FE8;
|
|
--game-accentL: #5B8FFF;
|
|
--game-danger: #C0392B;
|
|
--game-success: #27AE60;
|
|
}
|
|
|
|
.dark {
|
|
--background: #060811;
|
|
--foreground: #c8d8f8;
|
|
--card: #0C1020;
|
|
--card-foreground: #c8d8f8;
|
|
--popover: #111628;
|
|
--popover-foreground: #c8d8f8;
|
|
--primary: #5B8FFF;
|
|
--primary-foreground: #ffffff;
|
|
--secondary: #1e2a45;
|
|
--secondary-foreground: #c8d8f8;
|
|
--muted: #181f35;
|
|
--muted-foreground: #7a92c0;
|
|
--accent: #2a3a60;
|
|
--accent-foreground: #c8d8f8;
|
|
--destructive: #C0392B;
|
|
--border: #1e2a45;
|
|
--input: #1e2a45;
|
|
--ring: #5B8FFF;
|
|
--chart-1: #FF6B35;
|
|
--chart-2: #4ECDC4;
|
|
--chart-3: #9B59B6;
|
|
--chart-4: #2ECC71;
|
|
--chart-5: #FFD700;
|
|
--sidebar: #0C1020;
|
|
--sidebar-foreground: #c8d8f8;
|
|
--sidebar-primary: #D4A843;
|
|
--sidebar-primary-foreground: #0C1020;
|
|
--sidebar-accent: #1e2a45;
|
|
--sidebar-accent-foreground: #c8d8f8;
|
|
--sidebar-border: #1e2a45;
|
|
--sidebar-ring: #D4A843;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-family: 'Crimson Text', Georgia, serif;
|
|
}
|
|
}
|
|
|
|
/* Game-specific styles */
|
|
.game-root {
|
|
font-family: 'Crimson Text', Georgia, serif;
|
|
background: var(--game-bg);
|
|
color: var(--game-text);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-image:
|
|
radial-gradient(ellipse at 20% 10%, #0D1535 0%, transparent 50%),
|
|
radial-gradient(ellipse at 80% 90%, #0A0A20 0%, transparent 50%),
|
|
repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(30,42,69,0.15) 40px, rgba(30,42,69,0.15) 41px),
|
|
repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(30,42,69,0.15) 40px, rgba(30,42,69,0.15) 41px);
|
|
}
|
|
|
|
.game-title {
|
|
font-family: 'Cinzel', serif;
|
|
background: linear-gradient(135deg, var(--game-gold) 0%, var(--game-purpleL) 50%, var(--game-accentL) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.game-panel-title {
|
|
font-family: 'Cinzel', serif;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.game-mono {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--game-border2);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--game-purple);
|
|
}
|
|
|
|
/* Mana bar animation */
|
|
@keyframes mana-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
.mana-bar-animated {
|
|
animation: mana-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Glow effects */
|
|
.glow-gold {
|
|
box-shadow: 0 0 15px rgba(212, 168, 67, 0.4);
|
|
}
|
|
|
|
.glow-purple {
|
|
box-shadow: 0 0 15px rgba(124, 92, 191, 0.4);
|
|
}
|
|
|
|
.glow-accent {
|
|
box-shadow: 0 0 15px rgba(60, 111, 232, 0.4);
|
|
}
|
|
|
|
/* Button hover effects */
|
|
.btn-game {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-game:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Card hover effects */
|
|
.card-game {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.card-game:hover {
|
|
border-color: var(--game-border2);
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Element pill styles */
|
|
.elem-pill {
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.elem-pill:hover {
|
|
filter: brightness(1.2);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
/* Calendar day styles */
|
|
.day-cell {
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.day-current {
|
|
box-shadow: 0 0 8px rgba(60, 111, 232, 0.5);
|
|
}
|
|
|
|
.day-incursion {
|
|
border-color: rgba(192, 57, 43, 0.6) !important;
|
|
}
|
|
|
|
/* Game over overlay */
|
|
.game-overlay {
|
|
backdrop-filter: blur(8px);
|
|
background: rgba(6, 8, 17, 0.92);
|
|
}
|
|
|
|
/* Pact badge */
|
|
.pact-badge {
|
|
box-shadow: 0 0 10px rgba(212, 168, 67, 0.3);
|
|
}
|
|
|
|
/* Spell card active */
|
|
.spell-active {
|
|
border-color: var(--game-gold);
|
|
background: rgba(212, 168, 67, 0.1);
|
|
}
|
|
|
|
/* Tab active */
|
|
.tab-active {
|
|
color: var(--game-gold);
|
|
border-bottom-color: var(--game-gold);
|
|
}
|
|
|
|
/* Skill dot filled */
|
|
.skill-dot-filled {
|
|
background: var(--game-purpleL);
|
|
box-shadow: 0 0 6px rgba(160, 126, 224, 0.5);
|
|
}
|
|
|
|
/* Log entry */
|
|
.log-entry-new {
|
|
color: var(--game-text);
|
|
}
|
|
|
|
.log-entry-old {
|
|
color: var(--game-text2);
|
|
}
|