From b5a35ab198c8c8311d482ad125e5bd45ba01993d Mon Sep 17 00:00:00 2001 From: Priec Date: Tue, 2 Jun 2026 17:48:12 +0200 Subject: [PATCH] shade on the text is fixed --- static/css/site.css | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/static/css/site.css b/static/css/site.css index 72e63b1..a5b4d29 100644 --- a/static/css/site.css +++ b/static/css/site.css @@ -29,7 +29,6 @@ html { --tp-grid-line: rgba(63, 63, 70, 0.35); --tp-hero-from: #0b0b0f; --tp-hero-to: #18181b; - --tp-hero-shade: rgba(9, 9, 11, 0.68); --tp-text-outline: rgba(0, 0, 0, 0.9); } @@ -39,7 +38,6 @@ html { --tp-grid-line: rgba(228, 228, 231, 0.7); --tp-hero-from: #fafafa; --tp-hero-to: #f4f4f5; - --tp-hero-shade: rgba(255, 255, 255, 0.78); --tp-text-outline: rgba(255, 255, 255, 0.95); } @@ -69,31 +67,18 @@ body { z-index: 1; } -.tp-hero .grid > div:first-child { - position: relative; -} - -.tp-hero .grid > div:first-child::before { - content: ""; - position: absolute; - inset: -1.5rem; - z-index: -1; - border: 1px solid rgba(244, 244, 245, 0.08); - border-radius: 1rem; - background: var(--tp-hero-shade); - box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.85); - backdrop-filter: blur(4px); - -webkit-backdrop-filter: blur(4px); -} - .tp-hero h1, .tp-hero p { text-shadow: + 0 -1px 0 var(--tp-text-outline), + 1px 0 0 var(--tp-text-outline), + 0 1px 0 var(--tp-text-outline), + -1px 0 0 var(--tp-text-outline), -1px -1px 0 var(--tp-text-outline), 1px -1px 0 var(--tp-text-outline), -1px 1px 0 var(--tp-text-outline), 1px 1px 0 var(--tp-text-outline), - 0 2px 12px rgba(0, 0, 0, 0.75); + 0 2px 16px rgba(0, 0, 0, 0.9); } .tp-hero::before {