mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
redesign feature carousel
This commit is contained in:
@@ -6,7 +6,28 @@
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
background-image: var(--theme-overlay-subheader);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.background-overlay {
|
||||
--color-from: var(--background-base-min-contrast);
|
||||
--color-to: transparent;
|
||||
--dither: none;
|
||||
--direction-and-possibly-color-interpolation: to bottom;
|
||||
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
min-height: 200px;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
background-color: var(--color-from);
|
||||
background-image:
|
||||
linear-gradient(
|
||||
var(--direction-and-possibly-color-interpolation),
|
||||
var(--color-from),
|
||||
var(--color-to)
|
||||
),
|
||||
var(--dither);
|
||||
}
|
||||
|
||||
.background-image {
|
||||
|
||||
Reference in New Issue
Block a user