mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-23 19:46:28 -05:00
Scanner WIP (#3239)
This commit is contained in:
17
app/components/StageBannerBox.module.css
Normal file
17
app/components/StageBannerBox.module.css
Normal file
@@ -0,0 +1,17 @@
|
||||
.banner {
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to right,
|
||||
var(--stage-banner-fade, var(--color-bg-high)) 35%,
|
||||
transparent 80%
|
||||
),
|
||||
var(--stage-banner);
|
||||
background-origin: border-box;
|
||||
background-position: right center;
|
||||
/* fade layer is grown a pixel past the box so subpixel box sizes can't
|
||||
leave a sliver of the banner showing at the edges */
|
||||
background-size:
|
||||
calc(100% + 2px) calc(100% + 2px),
|
||||
cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
Reference in New Issue
Block a user