commit 1ed96a19cee00c4874b7d72ca7b6e1e0c89c7097
parent a418f3d1c953360e060a35ac0b9ca51c81ffc51b
Author: DAEMON <zer0sec.xp@icloud.com>
Date: Mon, 5 Oct 2026 15:52:24 +0100
Fixed the banner on posts and cheatsheets
Diffstat:
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/styles/global.css b/src/styles/global.css
@@ -898,18 +898,21 @@ main, .site-header, .site-footer { position: relative; z-index: 2; }
min-height: 10rem;
border-top: 1px solid var(--rule);
}
-/* Dark overlay between the fuzz canvas and the text so the title is legible.
- `::before` sits at z-index 0: above the canvas (z-index -1) but below
- the text layer (z-index 2). Opacity 0.72 keeps the streaks visible while
- giving the title a clean dark ground to sit on. */
+/* Left-to-right gradient scrim: dark on the left where the title sits,
+ fading to near-transparent on the right so the fuzz field bleeds through.
+ Matches the daemon-sec.xyz blog banner treatment. */
.sheet-head.plate::before {
content: '';
position: absolute;
inset: 0;
z-index: 0;
- background: rgb(25 23 36 / 0.82);
- backdrop-filter: blur(6px);
- -webkit-backdrop-filter: blur(6px);
+ background: linear-gradient(
+ 90deg,
+ rgb(25 23 36 / 0.96) 0%,
+ rgb(25 23 36 / 0.88) 38%,
+ rgb(25 23 36 / 0.55) 62%,
+ rgb(25 23 36 / 0.15) 100%
+ );
pointer-events: none;
}
.sheet-head.plate .sheet-title,