mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-16 15:37:23 -05:00
tweaked
This commit is contained in:
@@ -220,6 +220,56 @@ main.prose blockquote p {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.theme-ambient {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 520px;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.theme-ambient.is-in {
|
||||
animation: themeAmbientIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
.theme-ambient-media {
|
||||
position: absolute;
|
||||
inset: -12% 0;
|
||||
width: 100%;
|
||||
height: 124%;
|
||||
object-fit: cover;
|
||||
filter: blur(70px) saturate(1.4) brightness(0.8);
|
||||
transform: scale(1.15);
|
||||
-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
|
||||
mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
|
||||
}
|
||||
|
||||
@keyframes themeAmbientIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.theme-ambient.is-in {
|
||||
animation: none;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
body.is-home .theme-ambient,
|
||||
body.is-404 .theme-ambient {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content-animate>* {
|
||||
animation: smoothBlurReveal 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
will-change: filter, opacity, transform;
|
||||
|
||||
@@ -375,12 +375,10 @@
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
z-index: 2003;
|
||||
background: var(--bg-menu);
|
||||
border-radius: 100px;
|
||||
padding: 3px 6px;
|
||||
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
backdrop-filter: blur(16px) saturate(5);
|
||||
-webkit-backdrop-filter: blur(16px) saturate(5);
|
||||
opacity: 0;
|
||||
transform: translateY(-8px) scale(0.96);
|
||||
transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
|
||||
|
||||
Reference in New Issue
Block a user