Files
youtube-generator/migration-page/style.css
T
poli0981andClaude Opus 5.5 dc8fc396f1 ci(pages): moving notice on the old GitHub Pages address
poli0981.github.io/youtube-generator still serves v0.38 to old bookmarks,
and the data people saved there can't follow to ytgenerator.stream on its
own (browser storage belongs to a site). A single static page replaces it:

- reads the ytdescgen-* stores this browser saved on the old address and
  downloads them as a backup file in the new format (Settings › Restore
  reads it: migrations, the preview and Undo apply as for any backup);
- points to ytgenerator.stream, in English or Vietnamese;
- noindex, canonical to the new site, and a 404 copy for old deep links.

pages-migration.yml deploys it by hand (workflow_dispatch, pinned
actions, job-scoped permissions). The page, the workflow and the
github-pages environment go on 2026-11-29.

A regression test feeds the page's exact output through the restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:33:29 +07:00

123 lines
1.7 KiB
CSS

:root {
color-scheme: dark light;
--bg: #0b0b12;
--surface: #151522;
--border: #2a2a3d;
--text: #ececf4;
--muted: #a0a0b8;
--accent: #7c6cf6;
--accent-text: #ffffff;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f5f5fa;
--surface: #ffffff;
--border: #dcdce8;
--text: #16161f;
--muted: #5c5c70;
--accent: #5b4de0;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100dvh;
display: grid;
place-items: center;
padding: 24px 16px;
background: var(--bg);
color: var(--text);
font:
15px/1.6 system-ui,
-apple-system,
"Segoe UI",
Roboto,
sans-serif;
}
.card {
width: 100%;
max-width: 34rem;
padding: 28px;
border: 1px solid var(--border);
border-radius: 20px;
background: var(--surface);
}
.brand {
margin: 0 0 8px;
color: var(--accent);
font-weight: 700;
letter-spacing: 0.02em;
}
h1 {
margin: 0 0 12px;
font-size: 1.45rem;
line-height: 1.3;
}
.steps {
margin: 20px 0;
padding-left: 1.2rem;
}
.steps li {
margin-bottom: 18px;
}
.steps p {
margin: 4px 0 10px;
}
.muted {
color: var(--muted);
}
.small {
font-size: 0.85rem;
}
button,
.button {
display: inline-block;
padding: 9px 16px;
border: 1px solid var(--border);
border-radius: 10px;
background: transparent;
color: var(--text);
font: inherit;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.primary,
#download:not(:disabled) {
border-color: var(--accent);
background: var(--accent);
color: var(--accent-text);
}
.link {
padding: 0;
border: 0;
color: var(--accent);
font-weight: 500;
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}