fix: readable tables in notes and articles; public pages 48rem wide (v2.18.2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-12 13:22:43 -07:00
1 parent 7158713a2a
commit 41c373f46c
3 files changed
+23 -3

No files matched your search

+8 -1
View File
@@ -8,7 +8,7 @@
--font-reading: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, 'Noto Serif', Georgia, serif;
--font-mono: ui-monospace, 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;
--spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 2rem; --spacing-xl: 4rem;
--max-width: 40rem; --border-radius: 6px;
--max-width: 48rem; --border-radius: 6px;
}
@media (prefers-color-scheme: dark) {
@@ -91,6 +91,13 @@ main { flex: 1; margin-bottom: var(--spacing-xl); }
.e-content blockquote { margin: 0 0 var(--spacing-md); padding-left: var(--spacing-md); border-left: 3px solid var(--color-border); color: var(--color-text-light); }
.e-content ul, .e-content ol { margin: 0 0 var(--spacing-md) 1.25rem; }
.e-content img { max-width: 100%; height: auto; }
/* Tables (v2.18.2): shrink to their content, scroll sideways when wider than
the column, and never split words (the overflow-wrap: anywhere above is for
long URLs in prose; in a cell it squeezed columns to a few letters). */
.e-content table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-border); border-radius: var(--border-radius); margin: 0 0 var(--spacing-md); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; }
.e-content th, .e-content td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; overflow-wrap: normal; }
.e-content th { font-weight: 600; white-space: nowrap; background: var(--color-bg-alt); }
.e-content td:first-child { font-weight: 600; }
.e-content h1, .e-content h2, .e-content h3 { font-family: var(--font-body); }
.reaction { margin-bottom: var(--spacing-sm); font-size: 0.9375rem; color: var(--color-text-light); overflow-wrap: anywhere; }
.reaction-verb { font-weight: 600; margin-right: 0.25rem; }