Skip to content

Commit

Permalink
opacity 50% reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneffel committed Jul 14, 2024
1 parent 6a1dd6b commit d154171
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Binary file modified web/demodar/assets/scratches/1.webp
Binary file not shown.
Binary file modified web/demodar/assets/scratches/4.webp
Binary file not shown.
14 changes: 13 additions & 1 deletion web/demodar/css/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
mix-blend-mode: multiply;
background-color: #888671;
opacity: .5;
transition: 0.5s ease-out;

}


Expand All @@ -61,7 +63,17 @@
}

.gallery .slide:hover img {
filter: brightness(1.3);
filter: brightness(1.1);
}
.gallery .slide:hover .scratch-overlay {
opacity: .33;
filter: brightness(0.95);

}
@media all and (width <= 1000px){
.gallery .slide img {
filter: brightness(1.2);
}
}

.gallery .slide.is-previous {
Expand Down

0 comments on commit d154171

Please sign in to comment.