From 968ff555cf910d7c6f71c15d7f287cacaa317d2f Mon Sep 17 00:00:00 2001 From: Kieran Klukas Date: Mon, 31 Aug 2026 16:34:10 -0400 Subject: [PATCH] feat: tweak css --- src/styles.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/styles.ts b/src/styles.ts index 5cdf526..82b4590 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -241,16 +241,18 @@ export const CSS = ` color:var(--muted); text-align:left; white-space:nowrap; - padding:0 14px .5em 0; border-bottom:1px solid var(--rule); } - .prose tbody td{ - padding:.55em 14px .55em 0; - border-bottom:1px solid var(--rule-soft); + .prose th, .prose td{ + padding:.5em 12px; + border-right:1px solid var(--rule-soft); vertical-align:top; } - .prose tbody tr:last-child td{ border-bottom:0; } - .prose th:last-child, .prose td:last-child{ padding-right:0; } + .prose th:first-child, .prose td:first-child{ padding-left:0; } + .prose th:last-child, .prose td:last-child{ padding-right:0; border-right:0; } + .prose tbody tr:nth-child(even){ + background:color-mix(in srgb, var(--ink) 3.5%, transparent); + } .prose td[align="right"], .prose th[align="right"]{ text-align:right; } .prose td[align="center"], .prose th[align="center"]{ text-align:center; } -- 2.51.2