Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the gradiant overlay, less opacity #185

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ main .section.full-width > .hero-wrapper {

.hero.block.under-nav {
margin-top: calc(var(--nav-height) * -1);
background: linear-gradient(180deg, rgba(0 0 0 / 50%) 0, rgba(0 0 0 / 50%) 50px, transparent 100px, transparent 100%);
background: linear-gradient(180deg, rgba(0 0 0 / 50%) 0, rgba(0 0 0 / 15%) 50px, transparent 100px, transparent 100%);
}

.hero.block.has-content.under-nav {
background: linear-gradient(180deg, rgba(0 0 0 / 50%) 0, rgba(0 0 0 / 30%) 100px, rgba(0 0 0 / 30%) 100%);
background: linear-gradient(180deg, rgba(0 0 0 / 50%) 0, rgba(0 0 0 / 15%) 100px, rgba(0 0 0 / 15%) 100%);
}

.hero.block .images {
Expand Down