diff --git a/src/app/globals.css b/src/app/globals.css index 1008d129f..b5554140c 100755 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -191,3 +191,21 @@ 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } } + +/* v0.12 考古日志滚动条 */ +@keyframes echo-ticker-marquee { + 0% { transform: translateX(100%); } + 100% { transform: translateX(-100%); } +} +@keyframes echo-ticker-fade { + 0% { opacity: 0; } + 100% { opacity: 1; } +} +.echo-ticker-anim { + animation: echo-ticker-marquee 28s linear forwards, echo-ticker-fade 0.5s ease-out; +} +@media (prefers-reduced-motion: reduce) { + .echo-ticker-anim { + animation: echo-ticker-fade 0.5s ease-out; + } +} diff --git a/src/app/page.tsx b/src/app/page.tsx index 53440c54e..dcf56bf35 100755 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -24,6 +24,7 @@ const CruiseMode = dynamic(() => import("@/components/game/CruiseMode").then(m = import { AttributesPanel } from "@/components/game/AttributesPanel"; import { ExplorationRadar } from "@/components/game/ExplorationRadar"; import { RelicCodex } from "@/components/game/RelicCodex"; +import { ArchaeoLogTicker } from "@/components/game/ArchaeoLogTicker"; import { StarTideNotifier, StarTideIndicator, @@ -389,6 +390,11 @@ export default function Page() { + {/* v0.12 考古日志滚动条 — footer 上方的叙事层 */} +
+ +
+ {/* 底部 Footer */}