This commit is contained in:
Emmanuel Rojas committed 2026-10-06 02:00:11 -05:00
1 parent 794a659369
commit 5f99b65611
349 files changed
+32252 -2180

No files matched your search

+118 -6
View File
@@ -1,6 +1,8 @@
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
@theme {
--color-brand-blue: #0077c2;
--color-brand-navy: #001f5b;
@@ -17,14 +19,86 @@
--font-sans: 'Quicksand', system-ui, sans-serif;
--font-display: 'Quicksand', system-ui, sans-serif;
--font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
/* shadcn/ui tokens */
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius: 0.5rem;
}
:root {
color-scheme: light;
--background: #f9f9f7;
--foreground: #0a0a0a;
--card: #ffffff;
--card-foreground: #0a0a0a;
--popover: #ffffff;
--popover-foreground: #0a0a0a;
--primary: #3b82f6;
--primary-foreground: #ffffff;
--secondary: #f0efec;
--secondary-foreground: #0a0a0a;
--muted: #f0efec;
--muted-foreground: #6a6866;
--accent: #3b82f6;
--accent-foreground: #ffffff;
--destructive: #dc2626;
--destructive-foreground: #ffffff;
--border: #dddbd5;
--input: #dddbd5;
--ring: #3b82f6;
}
.dark {
color-scheme: dark;
--background: #080c14;
--foreground: #f9f9f7;
--card: #0f1520;
--card-foreground: #f9f9f7;
--popover: #0f1520;
--popover-foreground: #f9f9f7;
--primary: #3b82f6;
--primary-foreground: #ffffff;
--secondary: #141b29;
--secondary-foreground: #f9f9f7;
--muted: #141b29;
--muted-foreground: #8a93a6;
--accent: #3b82f6;
--accent-foreground: #ffffff;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--border: #1c2535;
--input: #1c2535;
--ring: #3b82f6;
}
@layer base {
body {
@apply font-sans antialiased m-0 p-0 overflow-x-hidden;
background-color: #f9f9f7;
color: #0a0a0a;
@apply font-sans antialiased m-0 p-0;
/* overflow-x: clip (not hidden) avoids forcing overflow-y to auto,
so this element can never become its own "parent" scroll container. */
overflow-x: clip;
overflow-y: visible;
background-color: var(--background);
color: var(--foreground);
}
h1, h2, h3, h4, .font-display {
@@ -147,7 +221,7 @@
font-size: 1.15rem;
font-weight: 800;
letter-spacing: -0.02em;
color: #0a0a0a;
color: var(--foreground);
margin-top: 2.5rem;
margin-bottom: 0.75rem;
}
@@ -155,7 +229,7 @@
.prose-rynext ul {
font-size: 0.95rem;
line-height: 1.75;
color: #4a4846;
color: var(--muted-foreground);
margin-bottom: 1rem;
}
.prose-rynext ul {
@@ -171,10 +245,34 @@
text-underline-offset: 3px;
}
.prose-rynext strong {
color: #0a0a0a;
color: var(--foreground);
font-weight: 600;
}
/* Hero ambient blobs — pure CSS (compositor), avoids JS-driven rAF work during scroll */
@keyframes hero-blob-a {
0% { opacity: 0; transform: scale(0.85) translate(0, 0); }
8% { opacity: 1; }
50% { opacity: 0.85; transform: scale(1.05) translate(16px, -20px); }
75% { opacity: 1; transform: scale(1) translate(-10px, 8px); }
100% { opacity: 1; transform: scale(1) translate(0, 0); }
}
@keyframes hero-blob-b {
0% { opacity: 0; transform: scale(0.9) translate(0, 0); }
10% { opacity: 0.6; }
50% { opacity: 0.7; transform: scale(1.08) translate(-40px, 30px); }
75% { opacity: 0.6; transform: scale(0.95) translate(20px, -16px); }
100% { opacity: 0.6; transform: scale(1.05) translate(0, 0); }
}
.animate-hero-blob-a {
animation: hero-blob-a 9s ease-in-out infinite;
animation-delay: 0.2s;
}
.animate-hero-blob-b {
animation: hero-blob-b 11s ease-in-out infinite;
animation-delay: 0.3s;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
@@ -185,4 +283,18 @@
.animate-ticker {
animation: none;
}
.animate-hero-blob-a,
.animate-hero-blob-b {
animation: none;
opacity: 1;
}
}
/* Chrome usa un color de placeholder distinto por defecto para <textarea>
que para <input> (gris muy oscuro, casi ilegible sobre fondos oscuros).
Forzamos a que herede el color de texto del propio campo, igual que
ya ocurre con los <input>. */
textarea::placeholder {
color: currentColor;
opacity: 0.5;
}