208 lines
4.9 KiB
CSS
208 lines
4.9 KiB
CSS
@import 'tailwindcss';
|
|
@import 'tw-animate-css';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
--radius: 0.625rem;
|
|
--background: #F0F0EC;
|
|
--foreground: #161614;
|
|
--card: #F9F9F7;
|
|
--card-foreground: #161614;
|
|
--popover: #F9F9F7;
|
|
--popover-foreground: #161614;
|
|
--primary: #D95E2A;
|
|
--primary-foreground: #F9F9F7;
|
|
--secondary: #F0F0EC;
|
|
--secondary-foreground: #161614;
|
|
--muted: #F0F0EC;
|
|
--muted-foreground: #575753;
|
|
--accent: #DDDDD7;
|
|
--accent-foreground: #161614;
|
|
--destructive: #B43232;
|
|
--destructive-foreground: #F9F9F7;
|
|
--border: #C4C4BD;
|
|
--input: #C4C4BD;
|
|
--ring: #D95E2A;
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-offwhite: #F9F9F7;
|
|
--color-orange: #D95E2A;
|
|
--color-grey-1: #F0F0EC;
|
|
--color-grey-2: #DDDDD7;
|
|
--color-grey-3: #C4C4BD;
|
|
--color-grey-4: #A6A69F;
|
|
--color-grey-5: #7F7F79;
|
|
--color-grey-7: #575753;
|
|
--color-grey-8: #2F2F2C;
|
|
--color-grey-9: #161614;
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
--font-serif: var(--font-source-serif-pro);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--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);
|
|
|
|
--color-greyhaven-orange: #D95E2A;
|
|
--color-greyhaven-offblack: #161614;
|
|
--color-greyhaven-offwhite: #F9F9F7;
|
|
--color-greyhaven-grey1: #F0F0EC;
|
|
--color-greyhaven-grey2: #DDDDD7;
|
|
--color-greyhaven-grey3: #C4C4BD;
|
|
--color-greyhaven-grey4: #A6A69F;
|
|
--color-greyhaven-grey5: #7F7F79;
|
|
--color-greyhaven-grey7: #575753;
|
|
--color-greyhaven-grey8: #2F2F2C;
|
|
}
|
|
|
|
* {
|
|
font-family: var(--font-source-serif-pro), serif, Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-source-serif-pro), serif, Arial, Helvetica, sans-serif;
|
|
width: 100%;
|
|
overflow-x: visible;
|
|
background: #DDDDD7;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
.bg-gradient {
|
|
background: #DDDDD7;
|
|
}
|
|
|
|
.title-serif {
|
|
font-family: var(--font-source-serif-pro), serif, Arial, Helvetica, sans-serif;
|
|
font-weight: 600;
|
|
letter-spacing: -2%;
|
|
}
|
|
|
|
.text-serif {
|
|
font-family: var(--font-source-serif-pro), serif, Arial, Helvetica, sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.surface-card {
|
|
background: rgba(249, 249, 247, 0.92);
|
|
box-shadow: 0 8px 24px rgba(22, 22, 20, 0.05);
|
|
}
|
|
|
|
/* Code block styling */
|
|
.code-block {
|
|
background: rgb(47 47 44);
|
|
border: 1px solid rgb(87 87 83);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(249, 249, 247, 0.04),
|
|
0 6px 18px rgba(22, 22, 20, 0.06);
|
|
}
|
|
|
|
.code-block,
|
|
.code-block * {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
|
|
/* Terminal prompt styling */
|
|
.terminal-line::before {
|
|
content: '$ ';
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
/* Smooth section transitions */
|
|
section {
|
|
scroll-margin-top: 5rem;
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: rgb(240 240 236);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgb(166 166 159);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Layer card hover effect */
|
|
.layer-card {
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
/* Carousel progress bar */
|
|
@keyframes progress {
|
|
from { width: 0; }
|
|
to { width: 100%; }
|
|
}
|
|
|
|
/* Fade in animation for sections */
|
|
@keyframes fade-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.animate-fade-up {
|
|
animation: fade-up 0.45s ease-out forwards;
|
|
}
|
|
|
|
/* Stagger children */
|
|
.stagger-children > * {
|
|
opacity: 0;
|
|
animation: fade-up 0.5s ease-out forwards;
|
|
}
|
|
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
|
|
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
|
|
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
|
|
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
|
|
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
|
|
|
|
/* Hide scrollbar but keep scroll functionality */
|
|
.scrollbar-hide {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none;
|
|
}
|