kirupa.com

06 / COMPONENTS / READING

Archive note

A short note near the top of a Flash, Silverlight, or WPF-era tutorial. Archive marks a page kept for history and taken out of search; Modern version points a still-visited page at the closest current HTML, CSS, and JavaScript article.

Reading1 variantcomponent

Live preview

LOCAL PREVIEW

Activate this specimen to load its real styles. No saved preferences change.

Notes

Don't hand-write it: tools/legacy_pages.py apply writes one note per legacy page from tools/legacy/legacy_pages.json, between legacy-note markers, as a direct child of the article right above the TL;DR (or under the title block, or under a section hub's header). Use the archiveNote--archive variant only on pages tiered ARCHIVE, which also carry <meta name="robots" content="noindex, follow">; its text is always "This is an archived tutorial about Flash, Silverlight, or WPF. It's kept for history and may reference outdated tech.", plus one "For a modern take" link only when a current article is a genuinely close match. Use archiveNote--modern on KEEP pages: one sentence naming the old tech in a neutral, helpful tone, then one to three current articles chosen by topical fit in tools/legacy/modern_map.json, or "There's no modern equivalent yet." when nothing fits (record it as a content gap). Archive's rule and pixel label use the secondary text color so it reads as quiet history; Modern version uses the link color. The label's site icon is set inline as --icon so the header's icon swap draws it in the reader's style (Archive 1f5c3, Modern version 2728). Like the TL;DR, it has no box, background, or inline colors, and one text size. Pages that predate the shared head (no kirupa.css) get the same markup plus a link to the static ssi/newDesign/legacy-note.css, drawn in the default Pixel colors.

Usage

Archive note

Example composed with native selectors / Rendered markup
<!-- legacy-note:start -->
<div class="archiveNote archiveNote--modern" role="note" aria-label="Modern version">
	<p class="archiveNote__label" style="--icon: url('https://www.kirupa.com/icon/2728.svg');">Modern version</p>
	<p class="archiveNote__text">This tutorial uses Flash, which browsers no longer run. The same idea with today's HTML, CSS, and JavaScript: <a href="https://www.kirupa.com/html5/3d_in_css.htm">Introduction to 3D in CSS</a>.</p>
</div>
<!-- legacy-note:end -->

Anatomy

Selectors:is(#mainContent, article#tutorialInformation) > .archiveNote:is(#mainContent, article#tutorialInformation) > .archiveNote--archive#mainContent .archiveNote .archiveNote__label#mainContent .archiveNote .archiveNote__text

Properties--linkForeground--darkTextSecondary--bodyText

Sources

Agent Instructions / components

You are composing a current-shell KIRUPA page. Read /design/components.json and the relevant entry in /design/sections/components.md for selectors, variants, source files, and usage. Start from an adjacent working page and reuse its SSI structure and named component classes. When a link needs to look like a link inside the tutorial body, add the blueEmphasis class to its anchor, including in component examples. Style class names, IDs, and code identifiers in explanatory prose with inlineCode. Choose semantic HTML before adding JavaScript. Use visible labels, keyboard-operable controls, clear focus, and explicit loading/error/empty states. Keep forms inert in documentation specimens and label demo output. Preserve the article's reading rhythm and code overflow containment. Verify the component in each visual style and both modes. Do not initialize onboarding, tracking, a live chat request, or a subscription in a preview. Keep reference and navigation descriptions short and factual. Follow WCAG 2.2 AA for new or changed content: semantic HTML, keyboard access, visible focus, readable contrast in every theme, text alternatives, labeled controls, and explicit errors. Support zoom/reflow, respect reduced motion, and keep sound optional. Read /design/sections/accessibility.md for acceptance checks. Report unresolved barriers; automated checks alone do not establish conformance.