Fix performace issues and more stuff changed
This commit is contained in:
11 files changed
+4935
-2971
No files matched your search
+12
-6
@@ -118,9 +118,9 @@ img {
|
||||
.latestMediaSlider {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
aspect-ratio: 16/9;
|
||||
z-index: 10;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.slide {
|
||||
@@ -154,8 +154,8 @@ img {
|
||||
}
|
||||
|
||||
.slide__background {
|
||||
width: 75%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
right: 0;
|
||||
@@ -163,8 +163,14 @@ img {
|
||||
background-size: cover !important;
|
||||
opacity: 0;
|
||||
transition: opacity var(--transition-time-default);
|
||||
-webkit-mask-image: linear-gradient(to right, transparent, black 65%),
|
||||
linear-gradient(to top, transparent, black 65%);
|
||||
-webkit-mask-image: linear-gradient(to top, transparent, black 75%);
|
||||
}
|
||||
|
||||
.slide__background::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to right, rgb(0 0 0 / 0.5) 50%, transparent);
|
||||
}
|
||||
|
||||
.slide.active .slide__background {
|
||||
|
||||
Reference in new issue
Block a user