| |
| |
|
|
| |
| @font-face { |
| font-family: 'Playfair Display'; |
| src: url('/static/assets/playfair-display-regular.ttf') format('truetype'); |
| font-weight: 400; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'Playfair Display'; |
| src: url('/static/assets/playfair-display-semibold.ttf') format('truetype'); |
| font-weight: 600; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'Playfair Display'; |
| src: url('/static/assets/playfair-display-bold.ttf') format('truetype'); |
| font-weight: 700; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| |
| @font-face { |
| font-family: 'Space Grotesk'; |
| src: url('/static/assets/space-grotesk-regular.ttf') format('truetype'); |
| font-weight: 400; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'Space Grotesk'; |
| src: url('/static/assets/space-grotesk-medium.ttf') format('truetype'); |
| font-weight: 500; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'Space Grotesk'; |
| src: url('/static/assets/space-grotesk-semibold.ttf') format('truetype'); |
| font-weight: 600; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'Space Grotesk'; |
| src: url('/static/assets/space-grotesk-bold.ttf') format('truetype'); |
| font-weight: 700; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| |
| @font-face { |
| font-family: 'JetBrains Mono'; |
| src: url('/static/assets/jetbrains-mono-regular.ttf') format('truetype'); |
| font-weight: 400; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'JetBrains Mono'; |
| src: url('/static/assets/jetbrains-mono-medium.ttf') format('truetype'); |
| font-weight: 500; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| @font-face { |
| font-family: 'JetBrains Mono'; |
| src: url('/static/assets/jetbrains-mono-semibold.ttf') format('truetype'); |
| font-weight: 600; |
| font-style: normal; |
| font-display: swap; |
| } |
|
|
| :root { |
| |
| --font-display: 'Playfair Display', serif; |
| --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; |
| --font-mono: 'JetBrains Mono', 'Fira Code', 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; |
| --text-5xl: 3rem; |
| --text-6xl: 3.75rem; |
| --text-7xl: 4.5rem; |
| |
| |
| --leading-tight: 1.25; |
| --leading-snug: 1.375; |
| --leading-normal: 1.5; |
| --leading-relaxed: 1.625; |
| --leading-loose: 2; |
| |
| |
| --weight-light: 300; |
| --weight-normal: 400; |
| --weight-medium: 500; |
| --weight-semibold: 600; |
| --weight-bold: 700; |
| --weight-extrabold: 800; |
| } |
|
|
| |
| body { |
| font-family: var(--font-body); |
| font-size: var(--text-base); |
| line-height: var(--leading-normal); |
| color: var(--color-text-primary); |
| } |
|
|
| |
| h1, .h1 { |
| font-family: var(--font-body); |
| font-size: var(--text-4xl); |
| font-weight: var(--weight-bold); |
| line-height: var(--leading-tight); |
| letter-spacing: -0.02em; |
| } |
|
|
| h2, .h2 { |
| font-family: var(--font-body); |
| font-size: var(--text-3xl); |
| font-weight: var(--weight-semibold); |
| line-height: var(--leading-snug); |
| letter-spacing: -0.01em; |
| } |
|
|
| h3, .h3 { |
| font-family: var(--font-body); |
| font-size: var(--text-2xl); |
| font-weight: var(--weight-semibold); |
| line-height: var(--leading-snug); |
| } |
|
|
| h4, .h4 { |
| font-family: var(--font-body); |
| font-size: var(--text-xl); |
| font-weight: var(--weight-semibold); |
| line-height: var(--leading-normal); |
| } |
|
|
| h5, .h5 { |
| font-family: var(--font-body); |
| font-size: var(--text-lg); |
| font-weight: var(--weight-medium); |
| line-height: var(--leading-normal); |
| } |
|
|
| h6, .h6 { |
| font-family: var(--font-body); |
| font-size: var(--text-base); |
| font-weight: var(--weight-medium); |
| line-height: var(--leading-normal); |
| } |
|
|
| |
| code, pre, kbd, samp { |
| font-family: var(--font-mono); |
| font-size: 0.9em; |
| } |
|
|
| |
| @media (max-width: 640px) { |
| h1, .h1 { |
| font-size: var(--text-3xl); |
| } |
| |
| h2, .h2 { |
| font-size: var(--text-2xl); |
| } |
| |
| h3, .h3 { |
| font-size: var(--text-xl); |
| } |
| } |
|
|
|
|