From 8f2265c5bdc6804a43c124d3df598b391f0b19c7 Mon Sep 17 00:00:00 2001 From: seaHi Date: Wed, 23 Sep 2026 10:42:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BA=E6=96=87=E7=AB=A0=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=B7=BB=E5=8A=A0=E8=A1=A8=E6=A0=BC=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/app.css b/src/app.css index 5b226db..5622e56 100644 --- a/src/app.css +++ b/src/app.css @@ -659,6 +659,32 @@ body.single-col .post-list { border: 1px solid rgba(0, 0, 0, 0.1); } +.article-content table { + width: 100%; + max-width: 100%; + border-collapse: collapse; + margin: 1.5rem 0; + display: block; + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +.article-content th, +.article-content td { + border: 1px solid var(--border-color); + padding: 0.6rem 1rem; +} + +.article-content th { + background-color: rgba(0, 0, 0, 0.04); + font-weight: 600; + text-align: left; +} + +.article-content tbody tr:nth-child(even) { + background-color: rgba(0, 0, 0, 0.02); +} + /* 适配 VOID 的图文混排结构 (figure + figcaption) */ .article-content figure { margin: 1.5rem 0;