From 0317daeab5f4748ac510cd00bdaa6f2c22d04bff Mon Sep 17 00:00:00 2001 From: snekxs <26660858+snekxs@users.noreply.github.com> Date: Wed, 29 Jul 2026 14:48:31 -0600 Subject: [PATCH] Refine mouse preview artwork and sizing - Redesign the SVG mouse silhouette and controls - Increase the preview display size --- public/mouse-preview.svg | 43 +++++++++++++++++++++++----------------- src/demo.css | 2 +- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/public/mouse-preview.svg b/public/mouse-preview.svg index 83b7680..9f3a8ba 100644 --- a/public/mouse-preview.svg +++ b/public/mouse-preview.svg @@ -1,31 +1,38 @@ - + Gaming mouse A simple top view of a black wireless gaming mouse. - - - + + + - - - + + + - + + - - + + + - - - - + + - - + + + + - - + + + + + + + diff --git a/src/demo.css b/src/demo.css index b6b033b..6eaeb9f 100644 --- a/src/demo.css +++ b/src/demo.css @@ -40,7 +40,7 @@ nav { display: grid; gap: .3rem; margin-top: 2.5rem; } .device-overview { display: grid; grid-template-columns: 1.45fr 1fr; min-height: 330px; overflow: hidden; border: 1px solid #2b2b2f; border-radius: 14px; background: #111113; } .mouse-stage { position: relative; display: grid; min-height: 330px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #29292d 0, #151517 40%, #101012 72%); } .mouse-stage::before { position: absolute; width: 430px; height: 430px; border: 1px solid #29292d; border-radius: 50%; content: ""; } -.mouse-svg { position: relative; width: 154px; height: auto; filter: drop-shadow(0 30px 28px rgb(0 0 0 / 55%)); transform: rotate(-7deg); } +.mouse-svg { position: relative; width: 188px; height: auto; filter: drop-shadow(0 30px 28px rgb(0 0 0 / 55%)); } .model-caption { position: absolute; right: 1rem; bottom: 1rem; color: #66666b; font-family: "JetBrains Mono", monospace; font-size: .58rem; letter-spacing: .1em; } .quick-stats { display: grid; grid-template-rows: repeat(3, 1fr); border-left: 1px solid #2b2b2f; } .quick-stats article { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-bottom: 1px solid #2b2b2f; }