Skip to content

Commit

Permalink
Increase image contrast, brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker committed Jun 19, 2024
1 parent 68d4496 commit a1a044d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/pages/press.astro
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,20 @@ pressArticles.sort((a, b) => b.data.date.getTime() - a.data.date.getTime());
.title {
font-size: var(--step-3);
font-weight: 600;
text-wrap: balance;
max-width: 36ch;

span {
background: var(--bg-purple-overlay);
box-decoration-break: clone;
background: var(--bg-purple);
border-radius: 2px;
box-shadow: 0.2em 0.2em 0 var(--bg-purple);
}
}
}

.image {
align-self: flex-end;
margin-block-start: calc(-1 * var(--space-2xl));
padding-inline-start: var(--space-xl);
margin-block-start: -1.25em;
z-index: -1;
}
</style>
4 changes: 3 additions & 1 deletion src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ a {
}

img {
filter: grayscale(100%);
filter: grayscale(100%) contrast(180%) brightness(140%);
opacity: 0.9;
mix-blend-mode: multiply;
border-radius: 2px;
max-width: 100%;
user-select: none;
}
Expand Down

0 comments on commit a1a044d

Please sign in to comment.