The palette lives on :root as custom properties. The swatches from --hot on are the Web 2000 colors (MySpace pink, Blogger orange, link blue, the neons and the blinkie pastels) that feed the badge, gel and blinkie colorways. Override a token on :root and every style that uses it changes. One-off colors are variables on their component, so they stay the same.
<link rel="stylesheet" href="y2k.css">
<style>
:root { --butter: #ffe680; }
</style>
Put y2k-sky on <body>. It sets the sparkle sky, the base font and the link colors. Add y2k-sky-dark for the night version; the Sky switch above flips this page. Add y2k-sky-moon to the night version for a moon in the top right corner. It is decoration, it stays put while the page scrolls, and it is left out on screens 640px wide or less, where there is no margin for it. Move it with --moon-x and --moon-y.
<body class="y2k-sky">
<body class="y2k-sky y2k-sky-dark">
<body class="y2k-sky y2k-sky-dark y2k-sky-moon">
Add y2k-panels-dark beside y2k-sky-dark, on <body> or on any wrapper, and the panels inside go navy with light text. It covers the masthead, wordmark, window, status bar, tree, radio group, footer strip, skip link, links and the focus ring. Other components inside it are not measured yet.
night.shift
the same windows, after hours
-
My Documents
- guestbook.html
- readme.txt
<body class="y2k-sky y2k-sky-dark y2k-panels-dark">
The bevelled window with a gradient title bar and three named buttons, and the lighter titled box from the portal. The title stays on the deep half of the gradient and truncates, so white text never lands on cyan.
Window body. Put anything in here.
The portal's lighter box: one deep border and a hard offset shadow.
Works on <button> and <a>. The is-hover, is-focus and is-active classes freeze a state for display; real hover, focus and press look the same.
The Mac OS X glass pill from notafriendof.siena.codes, retinted. Dark text rides the aqua, butter, lime and silver gels; the deep gel takes white. Hover lifts it, a press sinks it, and aria-pressed="true" holds it down. The aqua gel wants a panel behind it, not the bare sky.
With y2k.js, a role="tablist" strip gets click, Left and Right arrows, Home, End and roving tabindex: Tab into the strip, then arrow around. Without the script, use links with aria-current. Add y2k-tabs-bevel for the silver folder tabs.
Last y2k:tab event:
Silver by default, butter and lime variants, a disc icon per format, the blinking NEW pill (four blinks, then it holds) and the small chip. The second row is the Web 2000 palette: ink or white text picked per fill, and the disc icons stay on the light fills since they are drawn in deep.
The 88 by 31 pixel web button, drawn in CSS so the patterns are gradients. Butter by default, eighteen patterns, and y2k-b88-rail lays a footer row out. Works on a <span> or an <a>; a link sinks on hover. Text is two lines of 9px, so every pattern is measured at its darkest stop for 4.5:1.
- butter
.siena.codes - deep
.siena.codes - sea
.siena.codes - sky
.siena.codes - ink
.siena.codes - paper
.siena.codes - lime
.siena.codes - hot
.siena.codes - tangerine
.siena.codes - neon
.siena.codes - grape
.siena.codes - royal
.siena.codes - lavender
.siena.codes - glitter
.siena.codes - quilt
.siena.codes - ice
.siena.codes - chrome
.siena.codes - floss
.siena.codes - groove
.siena.codes
GitHub Pagesspan
Y2K compliantcompliant
The tile-word blinkie from the housewife set, in CSS: one bevelled tile per letter, two layers of glitter twinkling on every tile, and a lit color that sweeps across at 200 ms a step. The sweep runs twice (3.2 s) and rests, the glitter keeps going until the Motion switch stops it; hover or focus loops it, and y2k-blinkie-loop loops it always. y2k-blinkie-plain drops the glitter. Name it with role="img" and an aria-label, or make it a link.
The segmented copy-dialog bar. Set --value from 0 to 100 on the element and mirror it in aria-valuenow; y2k-progress-busy is the indeterminate run for loading with no known total, which reduced motion parks as a dimmed full bar. Self-contained, so a page can lift just these rules.
Glossy orb bullets for any <ul>, five colorways, and an <hr> that twinkles. Both are decoration: the orbs carry no text and the divider is a plain separator to assistive tech. Reduced motion stills the sparkles.
- sign my guestbook
- join the webring
- best viewed at 800×600
- butter
- lime
- hot
- grape
- silver
A grid of labelled pixel icons as a nav. The six icons are drawn in CSS from the palette, so there are no image files. The label is the link text, and aria-current="page" marks the page you're on with a selected label. Add y2k-desktop-dark when the grid sits right on the dark sky, and the labels turn white.
The Explorer folder tree with dotted connectors. Folders are <details> with a <summary>, so they open and close with a click or Enter and need no script. Links and spans inside get a page icon; add y2k-tree-file to a plain span.
-
siena.codes
- index.html
-
img
- webmaster.png
- README.md
Sign-the-guestbook form and the entry list. Entries sit oldest first in the markup so the counter runs up, and the list is drawn newest on top. The form is plain labelled inputs; where entries go is the page's business. Here, signing adds your entry to the list on this page only.
-
Sienafrom the internet
First! Welcome to the guestbook. Be nice.
Mac OS X Panther's brushed metal as a window variant: add y2k-metal to a y2k-window. The title centers, the three buttons become the traffic lights, and the body goes bare metal. Text stays ink, measured against the darkest stripe. It also works on a bare panel.
The 1998 iMac's see-through shell as a window variant: add y2k-imac to a y2k-window. The Bondi blue frame is really translucent, so whatever is behind it shows through, blurred. The title bar and body sit on an almost solid white face, so text stays ink at a contrast that holds over any backdrop. Set --bondi and --bondi-edge for another flavor. The stripes behind these two are only there to show the plastic.
Chic. Not geek. A link on the face. A caption on the face.
Yum. One of the five fruit flavors.
The strip at the foot of a window: sunken panes, the first one stretching, and the resize grip in the corner. Put it last inside a y2k-window. A pane that changes, like a count, can carry aria-live="polite".
Seven sites and counting.
The MySpace friend space, requested by Roxanne: a heading with the friend count, a four-by-four grid of names over square pictures, and the link to see all. Pictures can be <img class="y2k-top8-pic"> or a block with initials. Two columns under 420px.
Labels wrap their inputs. A hint goes in <small>; an error gets aria-invalid on the field and aria-describedby pointing at the message.
Real radio inputs, hidden but focusable, with the bevel drawn on the label. Arrow keys and roving focus come from the browser. The checked one sinks into butter.
Picked:
Three native controls, restyled and not rebuilt. The group box is a <fieldset> with its <legend> in the etched line. The checkbox and the select are the real elements, so the keyboard, the form value and the focus ring come from the browser. The select's open list stays the system's; add size or multiple for a list box.
Options: · Mood:
A question, real radios and a bar chart of the answers. Each radio carries its count in data-votes; y2k.js adds the vote, works out the percentages, draws the bars and fires y2k:vote with the new counts. Saving them is the page's job. Start the form with is-voted to open on the results.
Last vote:
A link to a file, with a floppy disk drawn in CSS, the file's name and its type and size. The size is text the page writes inside the link, so it is read out with the name. Set --floppy to recolor the disk. No script.
y2k-rainbow runs one rainbow through a phrase, in colors dark enough to read on a white panel. Add y2k-rainbow-bright on a dark fill and y2k-rainbow-cycle to make the colors travel, which the Motion switch stops. y2k-dropcap on a paragraph enlarges its first letter with no extra markup, and y2k-dropcap-tile sets that letter on a bevelled butter tile.
Welcome to my homepage!!
Who gon' check me, boo?
Best viewed after dark
Once upon a reunion, four couches faced each other across a sea of sequins, and nobody had forgotten a single thing that was said in Aspen.
Life is not all diamonds and rosé, but a page that opens with a letter this size is a good start.
Green on black with a glow, the red hit counter, the clock, and yellow and blue recolors of any of them. The value is an aria-live region, so a change is read out; the clock is not, since a second-by-second announcement would be noise.
090on the shelf
000001
--:--:--
12:00:00 AM
000002
045yellow
045blue
A marquee that pauses on hover, on focus and from its own pause button, and lays out as a plain wrapped list under reduced motion. Add y2k-marquee-discs to separate items with tiny spinning records instead of stars.
- 11.13.2026 NEW! sixstrand.siena.codes
- 11.08.2026 NEW! 88x31.siena.codes
- 11.05.2026 NEW! groover.siena.codes, back from 2019
- 11.02.2026 NEW! austral.siena.codes
- Sea Power Disco Elysium
- Spoon Gimme Fiction
- Peggy Gou Moment
- Matthew Dear Modafinil Blues
Cover, format badge and the disc that slides out and spins on hover or focus. y2k-card-vinyl and y2k-card-cd put a disc in that room. The cover's alt is empty because the title below names it. Every card leaves the same room on the right, so covers match, and cards stretch to one height in a row.
Pure CSS. Size with --s, label with --label (a color or a cover url()), speed with --rpm as seconds per turn: 1.8 s is a real 33⅓, 1.333 s a 45. Add y2k-still to park it. Decorative, so mark it aria-hidden.
The Now Spinning deck: platter, tonearm and a text block with a lit LED. Hide one disc and show the other to swap formats. A data-play key in y2k-deck-keys stops the platter and lifts the arm with y2k.js.
The portable CD player: lid up, the disc spinning in the well, a small LCD with the track and time, and the transport keys. It takes the same y2k-nowtext block as the turntable, and --disc sets the disc size. With y2k.js, the data-play key toggles play and pause and fires y2k:play.
TR 032:41
The desktop MP3 player, 275 pixels wide like the original: striped title bar, the big time, a twelve-band spectrum that bounces, the scrolling song title, bitrate line, a seek bar and the transport keys. Pause stops the spectrum and the scroll. Reduced motion stills both and truncates the title instead.
3. Matthew Dear – Modafinil Blues (4:05)
The glossy pill from the top of notafriendof.siena.codes, for a site that is new and still changing. Put it first in <body>. The tag is hot pink with ink text. Set --beta-fill and --beta-ink on y2k-beta-pill to change it.
Beta This site is new and still changing. Spot something wrong? Tell me.
Success is role="status" and error is role="alert", so a screen reader hears them when they appear. Keep the element in the page and toggle hidden.
- year must be between 1900 and 2100
- id is already on the shelf
Two pieces. y2k-dialog dresses a real <dialog> you write, and a button with data-dialog opens it as a modal. It closes on Escape, its own keys, or a click on the backdrop. Y2K.alert() builds the message box for you and resolves with the key that was pressed; a click outside it is refused and the title bar flashes. Both need y2k.js. The x on every window in this suite asks first, through the same call.
Dialog closed with:
Alert answered:
Y2K.alert({
title: "Guestbook",
message: "Delete this entry?",
detail: "It cannot be brought back.",
buttons: [
{ label: "Delete", value: "delete" },
{ label: "Cancel", value: "cancel", primary: true }
]
}).then(function (answer) {
if (answer === "delete") removeEntry();
});
Arial Black with a chrome gradient clipped to the glyphs: sea at the top, a white shine, a hard break to deep, then down to cyan. A deep stroke keeps it legible on any surface. The sparks twinkle until motion is reduced. Add y2k-wordmark-shine for a narrow white shine that crosses the letters every few seconds. It stops when motion is reduced too. Wrap it in y2k-masthead for the white-to-foam header.
The portal's Coming Soon block: a warning sign, hazard tape and an "under construction" caption up top, then a list of what's on the way. The sign and the tape are decoration, so screen readers skip them. It sits well in a y2k-box under a y2k-bar title.
Coming Soon
under construction
- cuarenta.siena.codesPlay Ecuador's national card game against a computer opponent.
- dollz.siena.codesReal Housewives reunion looks as Y2K pixel dollz.
- nat20.siena.codesTabletop character sheets for the web.
A bevelled foam strip with deep text, two sides and a full-width notice line.
One rule: a 3px deep ring with a 2px white halo. On light surfaces the deep ring carries the 3:1 contrast; on deep, ink or the dark sky the white halo does. Tab through this page to see the live version; these are frozen with is-focus.
:focus-visible {
outline: 3px solid var(--deep);
outline-offset: 2px;
box-shadow: 0 0 0 2px var(--paper);
}