diff --git a/site/app/globals.css b/site/app/globals.css index 8b7d0e54..90e2f38e 100644 --- a/site/app/globals.css +++ b/site/app/globals.css @@ -503,3 +503,34 @@ img[src*="/streak"] { height: 1.05em; flex: none; } + +/* The profile builder link glows softly: a brighter copy of its words fades in and out over them (opacity only). */ +.nav nav a.nav-builder { + position: relative; + color: var(--gold); +} + +.nav-builder::after { + content: attr(data-label); + position: absolute; + inset: 0; + display: grid; + place-items: center; + color: #fff6dc; + text-shadow: 0 0 10px rgba(245, 222, 160, 0.55); + opacity: 0; + pointer-events: none; + animation: builder-glow 3.6s ease-in-out infinite; +} + +@keyframes builder-glow { + 50% { + opacity: 1; + } +} + +@media (prefers-reduced-motion: reduce) { + .nav-builder::after { + animation: none; + } +} diff --git a/site/app/wiki/page.tsx b/site/app/wiki/page.tsx index d2812fea..414eba7a 100644 --- a/site/app/wiki/page.tsx +++ b/site/app/wiki/page.tsx @@ -3,6 +3,7 @@ import type { ReactNode } from "react"; import Nav from "@/components/Nav"; import Footer from "@/components/Footer"; import Rune from "@/components/Rune"; +import { PreviewHint, PreviewLinks } from "@/components/Preview"; import { RUNES, THEMES, REPO, HOST, card, cardName, DECORATIONS, sceneName, snap, type Widget } from "@/components/data"; import { m, rich, type Tags } from "@/i18n"; import w from "./wiki.module.css"; @@ -35,7 +36,7 @@ const WIDGETS: Widget[] = ["stats", "languages", "streak"]; function Shot({ src, alt, scale = 2, h = 128, dark }: { src: string; alt: string; scale?: number; h?: number; dark?: string }) { const img = {alt}; return ( - + {dark ? ( @@ -44,6 +45,7 @@ function Shot({ src, alt, scale = 2, h = 128, dark }: { src: string; alt: string ) : ( img )} + ); } @@ -440,6 +442,7 @@ docker run -d -p 8080:8080 --env-file .env -v questlog-data:/data questlog`} +