Skip to the components

viewsource

y2k.ui

every component of the siena.codes look, live new!

Sky
Motion

One stylesheet, no build step, system fonts. Use the window buttons on each panel: they work.

Tokens

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.

--white #ffffff
--black #000000
--deep #05506e
--deep-hi #097394
--sea #0a86a8
--cyan #5fd8ee
--foam #d2f5fb
--butter #fff0aa
--butter-lo #b8951a
--lime #b6f23a
--lime-lo #4f8a0b
--silver #d9dde6
--silver-hi #ffffff
--silver-lo #8a91a3
--edge #4a5163
--mute #4b5568
--ink #111827
--paper #ffffff
--link #05506e
--visited #6b1fa8
--red #c0392b
--lcd-bg #0b1a12
--lcd-dim #7fb56a
--vinyl #141414
--vinyl-hi #2a2a2a
--cd-rainbow gradient
--hot #ff00cc
--hot-lo #8a006e
--grape #9900cc
--tangerine #ff6600
--tangerine-lo #cc5200
--royal #0000ff
--neon #ccff00
--aqua #00ffff
--yellow #ffff00
--pink #ffb6c1
--lavender #ccccff
--baby #99ccff
--mint #ccffcc
--chrome #c0c0c0
Override
<link rel="stylesheet" href="y2k.css">
<style>
  :root { --butter: #ffe680; }
</style>

Sky background

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.

light
dark
dark with the moon
Markup
<body class="y2k-sky">
<body class="y2k-sky y2k-sky-dark">
<body class="y2k-sky y2k-sky-dark y2k-sky-moon">

Dark panels

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

Lights
Explorer
Done 2 objects
2 objects on the shelf siena.codes Panels stay paper unless a page asks for this.
Markup
<body class="y2k-sky y2k-sky-dark y2k-panels-dark">

Window panel and titled box

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.

albums.siena.codes

Window body. Put anything in here.

Directory12 sites

The portal's lighter box: one deep border and a hard offset shadow.

Before: a long title such as Now Spinning on the Office Shelf ran onto sea and cyan (4.2:1 and 1.7:1)

After: a long title such as Now Spinning on the Office Shelf stays on deep (8.8:1)

Markup

Bevelled button

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.

default
hover
focus
active
pressed
disabled
primary
small
Markup

Gel button

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.

default
hover
focus
active
pressed
disabled
deep
butter
lime
silver
hot
grape
tangerine
royal
small
Markup

Tab strip

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.

Everything on the shelf.

Last y2k:tab event: all

Folder tabs sit on a paper panel.
Markup

Badges

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.

Silversilver
Butterbutter
Limelime
Vinylvinyl disc
CDcd disc
Digitaldigital
new!new
quiltingchip
hothot
grapegrape
tangerinetangerine
royalroyal
neonneon
aquaaqua
yellowyellow
pinkpink
lavenderlavender
babybaby
mintmint
chromechrome
Markup

88x31 badge

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
hosted on
GitHub Pages
span
this site is
Y2K compliant
compliant
Markup

Blinkie

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.

shade
pettyhot
receiptsgrape
iconicroyal
reuniontangerine
freshmint
y2kpink
looploop
plainplain
homelink
Markup

Progress bar

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.

40%

Markup

Orb bullets and sparkle divider

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


Markup

Desktop icons

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.

My Documentshover
My Documentscurrent
Markup

Tree view

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.

Markup

Guestbook

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.

Sign the guestbook
  1. Sienafrom the internet

    First! Welcome to the guestbook. Be nice.

Markup

Brushed metal

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.

iTunes

Brushed metal, no plug-ins. A link on metal. A caption on metal.

Markup

iMac G3 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.

Bondi blue

Chic. Not geek. A link on the face. A caption on the face.

Tangerine

Yum. One of the five fruit flavors.

Markup

Status bar

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".

Directory

Seven sites and counting.

Done 7 sites 12 KB
Markup

Top 8

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.

Siena's Friend Space

Siena has 8 friends.
  1. Tom
  2. Ramona
  3. Luann
  4. Kyle
  5. Gizelle
  6. Heather
  7. Ubah
  8. Crystal

View all of Siena's friends

Markup

Inset inputs and the search row

Labels wrap their inputs. A hint goes in <small>; an error gets aria-invalid on the field and aria-describedby pointing at the message.

Markup

Bevelled radio group

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.

Format

Picked: cd

Hoverhover
Focusfocus
Markup

Group box, checkbox and select

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.

Signing options

Options: replies · Mood: chillin

hover
focus
disabled
disabled
invalid
Markup

Poll box

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.

Who's your favorite housewife?
hover
focus
disabled

Last vote: none yet

Markup

Download link

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.

Markup

Rainbow text and drop caps

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.

Markup

LCD counter

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

Markup

Marquee

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.

What's New
  • 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
New on the shelf
  • Sea Power Disco Elysium
  • Spoon Gimme Fiction
  • Peggy Gou Moment
  • Matthew Dear Modafinil Blues
Speed

32 s per pass

Markup

Jewel case card

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.

Eye in the Sky The Alan Parsons Project Vinyl1982 Clear vinyl
Brand New Day Sting CD1999
Modafinil Blues Matthew Dear Digitalsingle2017
Markup

Spinning record and CD

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.

33⅓
45
CD with cover
still
Speed

1.8 s per turn

Markup

Turntable

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.

Now spinning Eye in the Sky The Alan Parsons Project 1982 · vinyl picks another every three minutes, or click
Markup

Discman

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

Now playing Brand New Day Sting, 1999
Markup

Player

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.

y2kamp
0:42 128 kbps · 44 kHz · stereo

3. Matthew Dear – Modafinil Blues (4:05)

Markup

Beta banner

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.

Markup

Message boxes

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.

A plain note, for when nothing went right or wrong.
Markup

Dialog and alert

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.

About

siena.codes, version 2000.

Best viewed at 800×600 in any browser that still remembers.

Shut Down

The page behind is dimmed with a pixel checker, the way the desktop was.

Dialog closed with: nothing yet

Alert answered: nothing yet

Markup
Script
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();
});

Gradient wordmark and masthead

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.

siena.codes

your portal to the siena.codes web new!

albums

groover

Markup

Under construction

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.
Markup

A bevelled foam strip with deep text, two sides and a full-width notice line.

90 on the shelf · 32 CD · 41 Vinyl · 17 digital records updated 11.16.2026 · albums.json · siena.codes CD and vinyl covers: data provided by Discogs; each one links to its release.
Markup

Focus ring on every surface

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.

link
link
link
link
(sky)
deep title bar
ink marquee
CSS
:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--paper);
}