From 68f4149d342c6ec36f9ba186c9a1733a490c8812 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Fri, 24 Jul 2026 18:48:06 +0800 Subject: [PATCH] style(site): enlarge showcase previews --- apps/site/styles.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/site/styles.css b/apps/site/styles.css index acc75b4..4fc287c 100644 --- a/apps/site/styles.css +++ b/apps/site/styles.css @@ -56,10 +56,10 @@ h2 { font-size: clamp(32px, 3.2vw, 49px); line-height: 1.2; } .context-points span { color: #1c2c49; font-size: 18px; font-weight: 750; } .context-points p { color: #728098; font-size: 14px; line-height: 1.75; } -.showcase { align-items: center; background: #f7f9fd; display: grid; gap: 48px; grid-template-columns: minmax(0, 620px) minmax(360px, 460px); justify-content: center; margin-bottom: 0; max-width: none; padding-bottom: 80px; padding-top: 80px; } +.showcase { align-items: center; background: #f7f9fd; display: grid; gap: 48px; grid-template-columns: minmax(420px, 1.15fr) minmax(300px, .85fr); justify-content: normal; margin-bottom: 0; max-width: 1440px; padding-bottom: 80px; padding-top: 80px; } .showcase:not(.showcase-reversed) { padding-top: 96px; } .showcase-image { background: #fff; border: 1px solid #e4eaf3; box-shadow: 0 22px 48px rgba(30, 55, 95, .09); overflow: hidden; } -.data-preview-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: start; max-width: 620px; padding: 12px; width: 100%; } +.data-preview-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: stretch; max-width: none; padding: 12px; width: 100%; } .data-preview-grid figure { margin: 0; min-width: 0; } .data-preview-grid figcaption { color: #61718a; font-size: 13px; font-weight: 700; padding: 9px 2px 1px; } .showcase-copy { max-width: 460px; } @@ -67,7 +67,7 @@ h2 { font-size: clamp(32px, 3.2vw, 49px); line-height: 1.2; } .showcase-copy dl div { border-bottom: 1px solid #dce4ef; padding: 15px 0; } dt { color: #1b2a47; font-size: 16px; font-weight: 750; } dd { color: #718097; font-size: 14px; margin: 7px 0 0; } -.showcase-reversed { background: #fff; grid-template-columns: minmax(360px, 460px) minmax(0, 620px); } +.showcase-reversed { background: #fff; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); } .workflow { align-items: center; display: flex; gap: 12px; margin-top: 34px; } .workflow span, .workflow strong { border: 1px solid #dbe5f5; border-radius: 5px; color: #587093; font-size: 14px; padding: 9px 13px; } .workflow strong { background: #165dff; border-color: #165dff; color: #fff; }