From 5e7c929ca8b93000a8f0b3f9d9047f9e07c5e77f Mon Sep 17 00:00:00 2001 From: KaifAhmad1 Date: Mon, 22 Jun 2026 16:43:27 +0530 Subject: [PATCH] =?UTF-8?q?docs:=20lighten=20code=20block=20hover=20?= =?UTF-8?q?=E2=80=94=20subtle=20lift=20+=20faint=20ring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/assets/custom.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/assets/custom.css b/docs/assets/custom.css index 8cd61541..41783188 100644 --- a/docs/assets/custom.css +++ b/docs/assets/custom.css @@ -148,18 +148,21 @@ pre, [class*="CodeBlock"], [data-rehype-pretty-code-fragment] { transition: - box-shadow 0.22s ease, - border-color 0.22s ease !important; + box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), + border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), + transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; } pre:hover, [class*="codeblock"]:hover, [class*="CodeBlock"]:hover, [data-rehype-pretty-code-fragment]:hover { + transform: translateY(-1px) !important; box-shadow: - 0 0 0 1px rgba(16, 185, 129, 0.28), - 0 4px 24px rgba(16, 185, 129, 0.09) !important; - border-color: rgba(16, 185, 129, 0.28) !important; + 0 0 0 1px rgba(16, 185, 129, 0.18), + 0 2px 12px rgba(16, 185, 129, 0.06), + 0 8px 32px rgba(0, 0, 0, 0.2) !important; + border-color: rgba(16, 185, 129, 0.2) !important; } /* ── CARDS ───────────────────────────────────────────────────── */