Skip to content

Commit 93c7c67

Browse files
committed
style(hero): increase hero height and lighten overlays for visible background image; adjust filters
1 parent f9fb7dc commit 93c7c67

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

assets/css/main.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ nav .pagination li a.current {
241241
overflow: hidden;
242242
box-shadow: var(--shadow-deep);
243243
background: var(--gradient-cathedral);
244-
min-height: 44vh;
244+
min-height: 60vh;
245245
display: flex;
246246
align-items: center;
247247
justify-content: center;
@@ -267,12 +267,12 @@ nav .pagination li a.current {
267267
z-index: 0;
268268
/* Darken with subtle vertical wash, then paint hero or fallback image */
269269
background-image:
270-
linear-gradient(180deg, hsl(var(--background) / 0.85) 0%, hsl(var(--background) / 0.95) 75%, hsl(var(--background)) 100%),
270+
linear-gradient(180deg, hsl(var(--background) / 0.55) 0%, hsl(var(--background) / 0.80) 70%, hsl(var(--background) / 0.90) 100%),
271271
var(--hero-image, url('/images/sparrowx.png'));
272272
background-size: cover;
273273
background-position: center;
274274
background-repeat: no-repeat;
275-
filter: saturate(1.1) contrast(0.95) brightness(0.85);
275+
filter: saturate(1.05) contrast(1) brightness(0.98);
276276
transition: background-image 0.6s cubic-bezier(0.16, 1, 0.3, 1);
277277
}
278278

@@ -282,8 +282,8 @@ nav .pagination li a.current {
282282
z-index: 1;
283283
pointer-events: none;
284284
background:
285-
radial-gradient(circle at 30% 20%, hsl(var(--primary) / 0.30), transparent 55%),
286-
linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.20) 40%, rgba(0,0,0,.55));
285+
radial-gradient(circle at 30% 20%, hsl(var(--primary) / 0.22), transparent 55%),
286+
linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.12) 40%, rgba(0,0,0,.35));
287287
}
288288

289289
.hero-cathedral__content {
@@ -330,7 +330,7 @@ nav .pagination li a.current {
330330
.hero-cathedral__actions .btn { box-shadow: var(--shadow-sacred); }
331331

332332
@media (max-width: 600px) {
333-
.hero-cathedral { min-height: 28vh; }
333+
.hero-cathedral { min-height: 40vh; }
334334
.hero-cathedral__content { padding: 2.2rem 0.5rem 1.2rem; }
335335
.hero-cathedral__title { font-size: 2rem; }
336336
}

0 commit comments

Comments
 (0)