fix
This commit is contained in:
+34
-66
@@ -397,19 +397,43 @@ h3 {
|
||||
}
|
||||
|
||||
.pixel-sky-light-to-dark .pixel-sun {
|
||||
animation: sunSetWest 980ms cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
|
||||
animation: celestialPathExit 980ms cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
|
||||
left: 0;
|
||||
offset-anchor: center;
|
||||
offset-path: var(--celestial-exit-path);
|
||||
offset-rotate: 0deg;
|
||||
top: 0;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.pixel-sky-light-to-dark .pixel-moon {
|
||||
animation: moonRiseEast 980ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
||||
animation: celestialPathEnter 980ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
||||
left: 0;
|
||||
offset-anchor: center;
|
||||
offset-path: var(--celestial-enter-path);
|
||||
offset-rotate: 0deg;
|
||||
top: 0;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.pixel-sky-dark-to-light .pixel-moon {
|
||||
animation: moonSetWest 980ms cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
|
||||
animation: celestialPathExit 980ms cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
|
||||
left: 0;
|
||||
offset-anchor: center;
|
||||
offset-path: var(--celestial-exit-path);
|
||||
offset-rotate: 0deg;
|
||||
top: 0;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.pixel-sky-dark-to-light .pixel-sun {
|
||||
animation: sunRiseEast 980ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
||||
animation: celestialPathEnter 980ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
|
||||
left: 0;
|
||||
offset-anchor: center;
|
||||
offset-path: var(--celestial-enter-path);
|
||||
offset-rotate: 0deg;
|
||||
top: 0;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] .pixel-mountains {
|
||||
@@ -502,82 +526,26 @@ h3 {
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes sunSetWest {
|
||||
@keyframes celestialPathExit {
|
||||
0% {
|
||||
left: 78%;
|
||||
offset-distance: 0%;
|
||||
opacity: 1;
|
||||
top: 18%;
|
||||
}
|
||||
|
||||
42% {
|
||||
left: 48%;
|
||||
opacity: 0.85;
|
||||
top: 9%;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 12%;
|
||||
offset-distance: 100%;
|
||||
opacity: 0;
|
||||
top: 68%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moonRiseEast {
|
||||
@keyframes celestialPathEnter {
|
||||
0% {
|
||||
left: 93%;
|
||||
offset-distance: 0%;
|
||||
opacity: 0;
|
||||
top: 68%;
|
||||
}
|
||||
|
||||
55% {
|
||||
left: 86%;
|
||||
opacity: 0.86;
|
||||
top: 8%;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 78%;
|
||||
offset-distance: 100%;
|
||||
opacity: 1;
|
||||
top: 18%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moonSetWest {
|
||||
0% {
|
||||
left: 78%;
|
||||
opacity: 1;
|
||||
top: 18%;
|
||||
}
|
||||
|
||||
42% {
|
||||
left: 48%;
|
||||
opacity: 0.85;
|
||||
top: 9%;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 12%;
|
||||
opacity: 0;
|
||||
top: 68%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes sunRiseEast {
|
||||
0% {
|
||||
left: 93%;
|
||||
opacity: 0;
|
||||
top: 68%;
|
||||
}
|
||||
|
||||
55% {
|
||||
left: 86%;
|
||||
opacity: 0.86;
|
||||
top: 8%;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: 78%;
|
||||
opacity: 1;
|
||||
top: 18%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user