perf: reduce mobile compositing work
This commit is contained in:
@@ -530,7 +530,6 @@ a {
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
filter: blur(110px);
|
filter: blur(110px);
|
||||||
opacity: 0.12;
|
opacity: 0.12;
|
||||||
animation: ambient-float 16s ease-in-out infinite alternate;
|
|
||||||
}
|
}
|
||||||
.docs-shell::before {
|
.docs-shell::before {
|
||||||
top: -16rem;
|
top: -16rem;
|
||||||
@@ -541,7 +540,6 @@ a {
|
|||||||
right: -15rem;
|
right: -15rem;
|
||||||
bottom: -18rem;
|
bottom: -18rem;
|
||||||
background: #a855f7;
|
background: #a855f7;
|
||||||
animation-delay: -7s;
|
|
||||||
}
|
}
|
||||||
.topbar {
|
.topbar {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
@@ -575,7 +573,6 @@ a {
|
|||||||
color: white;
|
color: white;
|
||||||
background: linear-gradient(145deg, #6366f1, #8b5cf6);
|
background: linear-gradient(145deg, #6366f1, #8b5cf6);
|
||||||
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
|
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
|
||||||
animation: logo-pulse 4s ease-in-out infinite;
|
|
||||||
}
|
}
|
||||||
.topbar nav {
|
.topbar nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -859,7 +856,6 @@ footer nav {
|
|||||||
background-size: 240% auto;
|
background-size: 240% auto;
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
animation: gradient-shift 7s linear infinite;
|
|
||||||
}
|
}
|
||||||
.hero > p {
|
.hero > p {
|
||||||
width: min(720px, 100%);
|
width: min(720px, 100%);
|
||||||
@@ -1375,9 +1371,16 @@ footer a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
.docs-shell::before,
|
||||||
|
.docs-shell::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.topbar {
|
.topbar {
|
||||||
grid-template-columns: 1fr auto;
|
grid-template-columns: 1fr auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
background: var(--bg);
|
||||||
|
backdrop-filter: none;
|
||||||
}
|
}
|
||||||
.topbar nav {
|
.topbar nav {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user