From 95a2af64ed8cf5e6248e34c49833d60768d8aa5a Mon Sep 17 00:00:00 2001 From: boutmoun123 Date: Sat, 2 May 2026 23:41:23 +0300 Subject: [PATCH] Lift hero actions off grid line --- app/portfolio.css | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/app/portfolio.css b/app/portfolio.css index 64d7096..be9e362 100644 --- a/app/portfolio.css +++ b/app/portfolio.css @@ -411,6 +411,29 @@ line-height: 1.2; } + .hero-action-group { + position: relative; + z-index: 1; + display: inline-flex; + width: fit-content; + max-width: 100%; + isolation: isolate; + padding: 0.35rem; + border-radius: 999px; + } + + .hero-action-group::before { + content: ""; + position: absolute; + inset: 0; + z-index: -1; + border: 1px solid var(--color-line); + border-radius: inherit; + background: var(--surface-card-strong-background); + box-shadow: var(--button-secondary-shadow); + opacity: 0.92; + } + .display-face { font-family: var(--font-display), serif; } @@ -809,9 +832,8 @@ .hero-action-group { justify-content: flex-start; gap: 0.75rem; - position: relative; - z-index: 1; - padding-bottom: 0.65rem; + padding: 0.3rem 0.45rem 0.95rem; + border-radius: 26px; } .hero-action-link { @@ -874,10 +896,12 @@ align-items: flex-start; flex-wrap: wrap; gap: 0.75rem; + padding-inline: 0.45rem; + padding-bottom: 1rem; } [dir="rtl"] .hero-action-group { - padding-right: 3.2rem; + padding-right: 2.4rem; } .hero-action-group > * {