Files
whoami/app/globals.css
T
2025-10-15 15:20:24 +02:00

217 lines
4.3 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
/* Modern theme custom styles */
:root {
--modern-bg: #0A0E27;
--modern-bg-light: #1A1F3A;
--modern-bg-card: #151932;
--modern-bg-hover: #1F2544;
--modern-text: #E4E9F7;
--modern-text-muted: #9CA3C3;
--modern-primary: #6C5CE7;
--modern-secondary: #00D4FF;
--modern-accent: #FF6B9D;
--modern-success: #00E676;
--modern-warning: #FFB800;
}
/* Custom scrollbar for modern theme */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--modern-bg);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #6C5CE7 0%, #00D4FF 100%);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, #5B4BD6 0%, #00B8E6 100%);
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--modern-bg);
color: var(--modern-text);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
line-height: 1.6;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
letter-spacing: -0.02em;
}
code, pre {
font-family: 'JetBrains Mono', monospace;
}
/* Custom animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes glow {
0%, 100% {
box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}
50% {
box-shadow: 0 0 40px rgba(108, 92, 231, 0.6);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out;
}
.animate-gradient {
background-size: 200% 200%;
animation: gradientShift 3s ease infinite;
}
.animate-glow {
animation: glow 2s ease-in-out infinite;
}
/* Utility classes for modern theme */
.modern-bg {
background-color: var(--modern-bg);
}
.modern-bg-light {
background-color: var(--modern-bg-light);
}
.modern-text {
color: var(--modern-text);
}
.modern-accent {
color: var(--modern-primary);
}
/* Gradient text effect */
.gradient-text {
background: linear-gradient(135deg, #6C5CE7 0%, #00D4FF 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Glassmorphism effect */
.glass {
background: rgba(26, 31, 58, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(228, 233, 247, 0.1);
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}