Skip to content

Commit

Permalink
banner: make a box shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
dakur committed Oct 4, 2024
1 parent 8b639c0 commit 1ae2b39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/styles/blocks/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ $hb-banner-breakpoint: 30em;
overflow: hidden;
block-size: calc(var(--hb-vr-base) * 20);

box-shadow: 0 0 12px 0 var(--hb-colors-framing);
transition: box-shadow 100ms ease-out;
&:hover {
box-shadow: 0 0 17px 2px var(--hb-colors-framing);
}

@media (min-width: 23.001em) {
block-size: calc(var(--hb-vr-base) * 18);
}
Expand Down

0 comments on commit 1ae2b39

Please sign in to comment.