Fix parallax visibility and aspect
This commit is contained in:
@@ -6,13 +6,16 @@
|
|||||||
system-ui,
|
system-ui,
|
||||||
-apple-system,
|
-apple-system,
|
||||||
sans-serif;
|
sans-serif;
|
||||||
background: #f6e9d6;
|
|
||||||
color: #2c1c0d;
|
color: #2c1c0d;
|
||||||
--bg-scale: 1.12;
|
--bg-scale: 1.12;
|
||||||
--bg-x: 0px;
|
--bg-x: 0px;
|
||||||
--bg-y: 0px;
|
--bg-y: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
background: #f6e9d6;
|
||||||
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
@@ -27,9 +30,10 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background-color: #f6e9d6;
|
background-color: transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
isolation: isolate;
|
||||||
}
|
}
|
||||||
.page::before {
|
.page::before {
|
||||||
content: "";
|
content: "";
|
||||||
@@ -43,6 +47,7 @@
|
|||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
will-change: transform, background-position;
|
will-change: transform, background-position;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lang-field {
|
.lang-field {
|
||||||
|
|||||||
Reference in New Issue
Block a user