Mustavi's picture
the hell bro this is ugly
48c1415 verified
Raw History Blame Contribute Delete
5.56 kB
:root {
/* Modern Color System */
--primary-50: #f0f9ff;
--primary-100: #e0f2fe;
--primary-200: #bae6fd;
--primary-300: #7dd3fc;
--primary-400: #38bdf8;
--primary-500: #0ea5e9;
--primary-600: #0284c7;
--primary-700: #0369a1;
--primary-800: #075985;
--primary-900: #0c4a6e;
--secondary-50: #f5f3ff;
--secondary-100: #ede9fe;
--secondary-200: #ddd6fe;
--secondary-300: #c4b5fd;
--secondary-400: #a78bfa;
--secondary-500: #8b5cf6;
--secondary-600: #7c3aed;
--secondary-700: #6d28d9;
--secondary-800: #5b21b6;
--secondary-900: #4c1d95;
/* New Neutrals */
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
/* New Accents */
--accent-1: #ec4899;
--accent-2: #f43f5e;
--accent-3: #f59e0b;
/* Typography */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'Roboto Mono', monospace;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
--text-4xl: 2.25rem;
/* Spacing */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
/* Border Radius */
--rounded-sm: 0.125rem;
--rounded: 0.25rem;
--rounded-md: 0.375rem;
--rounded-lg: 0.5rem;
--rounded-xl: 0.75rem;
--rounded-full: 9999px;
/* Transitions */
--transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--transition-colors: color, background-color, border-color, fill, stroke 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Base Styles */
body {
font-family: var(--font-sans);
line-height: 1.6;
color: var(--gray-700);
background-color: var(--gray-50);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
color: var(--gray-900);
line-height: 1.3;
}
a {
color: var(--primary-600);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: var(--primary-800);
}
/* Animation for button hover effects */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* Animation System */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(var(--primary-500), 0.7); }
70% { box-shadow: 0 0 0 10px rgba(var(--primary-500), 0); }
100% { box-shadow: 0 0 0 0 rgba(var(--primary-500), 0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
/* Utility Classes */
.pulse { animation: pulse 2s infinite; }
.fade-in { animation: fadeIn 0.3s ease-out; }
.slide-up { animation: slideUp 0.3s ease-out; }
/* Component Styles */
.button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: var(--space-2) var(--space-4);
border-radius: var(--rounded-md);
font-weight: 500;
transition: var(--transition-colors);
}
.button-primary {
background-color: var(--primary-600);
color: white;
}
.button-primary:hover {
background-color: var(--primary-700);
}
.button-secondary {
background-color: var(--secondary-600);
color: white;
}
.button-secondary:hover {
background-color: var(--secondary-700);
}
/* Form Elements */
.input {
padding: var(--space-2) var(--space-3);
border: 1px solid var(--gray-300);
border-radius: var(--rounded-md);
transition: var(--transition);
}
.input:focus {
outline: none;
border-color: var(--primary-500);
box-shadow: 0 0 0 3px rgba(var(--primary-500), 0.1);
}
/* Card Styles */
.card {
background: white;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
border: 1px solid var(--gray-100);
}
.card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transform: translateY(-2px);
}
.card-header {
padding: 1.25rem 1.5rem;
border-bottom: 1px solid var(--gray-100);
}
.card-body {
padding: 1.5rem;
}
.card-footer {
padding: 1rem 1.5rem;
border-top: 1px solid var(--gray-100);
background-color: var(--gray-50);
}
/* Alert Styles */
.alert {
padding: var(--space-3) var(--space-4);
border-radius: var(--rounded-md);
}
.alert-info {
background-color: var(--primary-100);
color: var(--primary-800);
}
.alert-success {
background-color: var(--green-100);
color: var(--green-800);
}
.alert-error {
background-color: var(--red-100);
color: var(--red-800);
}
/* Responsive Utilities */
@media (min-width: 640px) {
.sm\:hidden { display: none; }
}
@media (min-width: 768px) {
.md\:hidden { display: none; }
}
@media (min-width: 1024px) {
.lg\:hidden { display: none; }
}