chore: migrate to static site
This commit is contained in:
+552
@@ -0,0 +1,552 @@
|
||||
/* Reset and Base Styles */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* CSS Custom Properties for Theming */
|
||||
:root {
|
||||
--primary: #8c2bee;
|
||||
--primary-light: #d4a5ff;
|
||||
--background-light: #f7f6f8;
|
||||
--background-dark: #0d0614;
|
||||
--surface-light: #ffffff;
|
||||
--surface-dark: #1a0f2e;
|
||||
--text-primary-light: #0f172a;
|
||||
--text-primary-dark: #f8fafc;
|
||||
--text-secondary-light: #64748b;
|
||||
--text-secondary-dark: #94a3b8;
|
||||
--border-light: #e2e8f0;
|
||||
--border-dark: #334155;
|
||||
--glass-bg-light: rgba(140, 43, 238, 0.05);
|
||||
--glass-bg-dark: rgba(20, 10, 30, 0.6);
|
||||
--glass-border-light: rgba(140, 43, 238, 0.1);
|
||||
--glass-border-dark: rgba(140, 43, 238, 0.2);
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
body {
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
min-height: max(884px, 100dvh);
|
||||
}
|
||||
|
||||
.font-display {
|
||||
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
}
|
||||
|
||||
/* Material Symbols */
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings:
|
||||
'FILL' 0,
|
||||
'wght' 400,
|
||||
'GRAD' 0,
|
||||
'opsz' 24;
|
||||
}
|
||||
|
||||
.material-symbols-outlined.fill-1 {
|
||||
font-variation-settings:
|
||||
'FILL' 1,
|
||||
'wght' 400,
|
||||
'GRAD' 0,
|
||||
'opsz' 24;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
.sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.top-0 {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.z-50 {
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.items-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.justify-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.justify-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.justify-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.gap-1 { gap: 0.25rem; }
|
||||
.gap-2 { gap: 0.5rem; }
|
||||
.gap-4 { gap: 1rem; }
|
||||
.gap-6 { gap: 1.5rem; }
|
||||
|
||||
/* Spacing */
|
||||
.p-1 { padding: 0.25rem; }
|
||||
.p-2 { padding: 0.5rem; }
|
||||
.p-3 { padding: 0.75rem; }
|
||||
.p-4 { padding: 1rem; }
|
||||
.p-5 { padding: 1.25rem; }
|
||||
.p-6 { padding: 1.5rem; }
|
||||
|
||||
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
|
||||
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
|
||||
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
|
||||
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
|
||||
|
||||
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
|
||||
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
|
||||
|
||||
.pt-10 { padding-top: 2.5rem; }
|
||||
.pt-16 { padding-top: 4rem; }
|
||||
.pb-16 { padding-bottom: 4rem; }
|
||||
.pb-24 { padding-bottom: 6rem; }
|
||||
|
||||
.mb-1 { margin-bottom: 0.25rem; }
|
||||
.mb-2 { margin-bottom: 0.5rem; }
|
||||
.mb-4 { margin-bottom: 1rem; }
|
||||
.mb-6 { margin-bottom: 1.5rem; }
|
||||
.mb-8 { margin-bottom: 2rem; }
|
||||
.mb-12 { margin-bottom: 3rem; }
|
||||
|
||||
.mt-2 { margin-top: 0.5rem; }
|
||||
.mt-4 { margin-top: 1rem; }
|
||||
|
||||
.ml-8 { margin-left: 2rem; }
|
||||
|
||||
/* Flexbox */
|
||||
.flex-col {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Grid */
|
||||
.grid {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.grid-cols-1 {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
/* Positioning */
|
||||
.relative {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.absolute {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.top-0 { top: 0; }
|
||||
.right-0 { right: 0; }
|
||||
.bottom-0 { bottom: 0; }
|
||||
.left-0 { left: 0; }
|
||||
.left-1\/2 { left: 50%; }
|
||||
|
||||
.-z-10 {
|
||||
z-index: -10;
|
||||
}
|
||||
|
||||
.z-50 {
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.-translate-x-1\/2 {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
/* Sizing */
|
||||
.w-32 { width: 8rem; }
|
||||
.w-48 { width: 12rem; }
|
||||
.w-64 { width: 16rem; }
|
||||
.w-full { width: 100%; }
|
||||
.w-[90%] { width: 90%; }
|
||||
.w-[95%] { width: 95%; }
|
||||
.w-[88%] { width: 88%; }
|
||||
.w-[82%] { width: 82%; }
|
||||
|
||||
.h-32 { height: 8rem; }
|
||||
.h-48 { height: 12rem; }
|
||||
.h-64 { height: 16rem; }
|
||||
.h-1 { height: 0.25rem; }
|
||||
.h-1\.5 { height: 0.375rem; }
|
||||
.h-2 { height: 0.5rem; }
|
||||
.h-2\.5 { height: 0.625rem; }
|
||||
.h-24 { height: 6rem; }
|
||||
.h-full { height: 100%; }
|
||||
|
||||
.min-h-screen {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.max-w-md {
|
||||
max-width: 28rem;
|
||||
}
|
||||
|
||||
/* Border Radius */
|
||||
.rounded {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.rounded-full {
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.rounded-lg {
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.rounded-xl {
|
||||
border-radius: 0.75rem;
|
||||
}
|
||||
|
||||
/* Backgrounds */
|
||||
.bg-background-light {
|
||||
background-color: var(--background-light);
|
||||
}
|
||||
|
||||
.bg-background-dark {
|
||||
background-color: var(--background-dark);
|
||||
}
|
||||
|
||||
.bg-primary {
|
||||
background-color: var(--primary);
|
||||
}
|
||||
|
||||
.bg-slate-800 {
|
||||
background-color: #1e293b;
|
||||
}
|
||||
|
||||
.bg-primary\/10 {
|
||||
background-color: rgba(140, 43, 238, 0.1);
|
||||
}
|
||||
|
||||
.bg-primary\/20 {
|
||||
background-color: rgba(140, 43, 238, 0.2);
|
||||
}
|
||||
|
||||
.bg-purple-600\/10 {
|
||||
background-color: rgba(147, 51, 234, 0.1);
|
||||
}
|
||||
|
||||
.bg-cover {
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.bg-center {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.bg-gradient-to-tr {
|
||||
background: linear-gradient(to top right, var(--primary), var(--primary-light));
|
||||
}
|
||||
|
||||
/* Glass Effects */
|
||||
.glass {
|
||||
background: var(--glass-bg-light);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1px solid var(--glass-border-light);
|
||||
}
|
||||
|
||||
.dark .glass {
|
||||
background: var(--glass-bg-light);
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
border: 1px solid var(--glass-border-light);
|
||||
}
|
||||
|
||||
.glass-dark {
|
||||
background: var(--glass-bg-dark);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid var(--glass-border-dark);
|
||||
}
|
||||
|
||||
/* Borders */
|
||||
.border {
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.border-2 {
|
||||
border: 2px solid;
|
||||
}
|
||||
|
||||
.border-4 {
|
||||
border: 4px solid;
|
||||
}
|
||||
|
||||
.border-l-4 {
|
||||
border-left: 4px solid;
|
||||
}
|
||||
|
||||
.border-primary {
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
.border-primary\/10 {
|
||||
border-color: rgba(140, 43, 238, 0.1);
|
||||
}
|
||||
|
||||
.border-primary\/20 {
|
||||
border-color: rgba(140, 43, 238, 0.2);
|
||||
}
|
||||
|
||||
.border-primary\/30 {
|
||||
border-color: rgba(140, 43, 238, 0.3);
|
||||
}
|
||||
|
||||
.border-background-dark {
|
||||
border-color: var(--background-dark);
|
||||
}
|
||||
|
||||
/* Text Colors */
|
||||
.text-slate-900 {
|
||||
color: var(--text-primary-light);
|
||||
}
|
||||
|
||||
.dark .text-slate-900 {
|
||||
color: var(--text-primary-dark);
|
||||
}
|
||||
|
||||
.text-slate-100 {
|
||||
color: var(--text-primary-dark);
|
||||
}
|
||||
|
||||
.text-slate-400 {
|
||||
color: var(--text-secondary-light);
|
||||
}
|
||||
|
||||
.dark .text-slate-400 {
|
||||
color: var(--text-secondary-dark);
|
||||
}
|
||||
|
||||
.text-slate-500 {
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.text-primary {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.text-white {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
.text-xs { font-size: 0.75rem; }
|
||||
.text-sm { font-size: 0.875rem; }
|
||||
.text-lg { font-size: 1.125rem; }
|
||||
.text-xl { font-size: 1.25rem; }
|
||||
.text-2xl { font-size: 1.5rem; }
|
||||
.text-3xl { font-size: 1.875rem; }
|
||||
.text-4xl { font-size: 2.25rem; }
|
||||
|
||||
.font-thin { font-weight: 100; }
|
||||
.font-light { font-weight: 300; }
|
||||
.font-normal { font-weight: 400; }
|
||||
.font-medium { font-weight: 500; }
|
||||
.font-semibold { font-weight: 600; }
|
||||
.font-bold { font-weight: 700; }
|
||||
|
||||
.tracking-tight { letter-spacing: -0.025em; }
|
||||
.tracking-tighter { letter-spacing: -0.05em; }
|
||||
.tracking-widest { letter-spacing: 0.1em; }
|
||||
.tracking-wider { letter-spacing: 0.05em; }
|
||||
|
||||
.uppercase { text-transform: uppercase; }
|
||||
.lowercase { text-transform: lowercase; }
|
||||
|
||||
.leading-relaxed { line-height: 1.625; }
|
||||
|
||||
.text-center { text-align: center; }
|
||||
|
||||
/* Effects */
|
||||
.transition-colors {
|
||||
transition-property: color, background-color, border-color;
|
||||
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
|
||||
.shadow-lg {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.shadow-primary\/20 {
|
||||
box-shadow: 0 10px 15px -3px rgba(140, 43, 238, 0.2), 0 4px 6px -2px rgba(140, 43, 238, 0.1);
|
||||
}
|
||||
|
||||
.shadow-2xl {
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.shadow-primary\/20 {
|
||||
box-shadow: 0 25px 50px -12px rgba(140, 43, 238, 0.25);
|
||||
}
|
||||
|
||||
.blur-\[100px\] {
|
||||
filter: blur(100px);
|
||||
}
|
||||
|
||||
.blur-\[80px\] {
|
||||
filter: blur(80px);
|
||||
}
|
||||
|
||||
.overflow-hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.space-y-2 > * + * {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.space-y-4 > * + * {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.space-y-8 > * + * {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.space-x-2 > * + * {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
/* Hover States */
|
||||
.hover\:bg-primary\/10:hover {
|
||||
background-color: rgba(140, 43, 238, 0.1);
|
||||
}
|
||||
|
||||
/* Group States */
|
||||
.group:hover .group-hover\:scale-105 {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* Dark Mode */
|
||||
.dark {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
.dark .bg-background-light {
|
||||
background-color: var(--background-dark);
|
||||
}
|
||||
|
||||
.dark .text-slate-900 {
|
||||
color: var(--text-primary-dark);
|
||||
}
|
||||
|
||||
.dark .text-slate-400 {
|
||||
color: var(--text-secondary-dark);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (min-width: 640px) {
|
||||
.sm\:grid-cols-2 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.md\:grid-cols-3 {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.lg\:grid-cols-4 {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
/* Utility Classes */
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.inline {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.opacity-0 { opacity: 0; }
|
||||
.opacity-30 { opacity: 0.3; }
|
||||
.opacity-100 { opacity: 1; }
|
||||
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select-none {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.pointer-events-none {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Focus States */
|
||||
.focus\:outline-none:focus {
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.focus\:ring-2:focus {
|
||||
box-shadow: 0 0 0 2px var(--primary);
|
||||
}
|
||||
|
||||
/* Animation */
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.animate-fade-in {
|
||||
animation: fadeIn 0.5s ease-out;
|
||||
}
|
||||
|
||||
/* Custom scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: var(--background-light);
|
||||
}
|
||||
|
||||
.dark ::-webkit-scrollbar-track {
|
||||
background: var(--background-dark);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--primary);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--primary-light);
|
||||
}
|
||||
Reference in New Issue
Block a user