Button (ink ring, tracked caps, pink hover)
componentcomponent/action-button
Uppercase 900 label at 0.8em with 0.35em tracking, 44.8px tall, radius 4px (NOT flattened); default = transparent ground with a 2px ink ring (inset 0 0 0 2px #585858); hover flips label + ring to pink #f2849e; primary = solid #585858 white label, hover ground #f2849e, active #ee5f81; active ground rgba(242,132,158,.1). Small 0.6em (33.6px), large 1em (56px), .fit full width; disabled opacity .25.
class ..button / input[type=submit|reset|button]
states: default: transparent + inset 0 0 0 2px #585858 ring, ink label · hover: label + ring #f2849e · active: ground rgba(242,132,158,.1) · primary: ground #585858 white; hover #f2849e; active #ee5f81 · disabled: opacity .25
verify: .button .button.primary .button.small
aliases: button, primary button, cta, action, submit button, small button, large button, fit button, send button
source: _raw/site/assets/css/main.css Button block; measured on elements.html
Field (underline input, pink focus)
componentcomponent/field
Text inputs/textareas: transparent ground (plain white, no tint), no box, radius 0, a single 1px #c9c9c9 bottom line, exact height 3em (48px). Focus trades the line for a 2px pink #f2849e underline (border + inset 0 -1px 0 0). Value text renders in the page ink-pink; placeholders keep browser grey. Width variants .fields > .field half/third/quarter.
class .input[type=text|password|email|tel], textarea
states: default: 1px #c9c9c9 bottom line on white, radius 0 · focus: 2px pink #f2849e underline · value colour: rgb(255,107,188)
verify: input[type=text] textarea
aliases: text field, input, form field, email field, textarea, contact form, underline input
source: _raw/site/assets/css/main.css Form block; measured on elements.html
Select (underline, custom chevron)
componentcomponent/select
Native select restyled to the field language: appearance none, transparent, radius 0, 1px #c9c9c9 bottom line, height 3em; chevron = inline SVG arrow (fill #c9c9c9) at 1.25rem offset right calc(100% - 1rem); padding-right 3em; option ground white. Focus = the same pink underline as fields.
class .select
states: default like field (radius 0) · focus: pink #f2849e underline
verify: select
aliases: select, dropdown, dropdown select, category picker, choose option
source: _raw/site/assets/css/main.css select block; measured on elements.html
Checkbox & radio (red checked fill, purple labels)
componentcomponent/checkbox-radio
Custom marks via input + label:before at 2.25em (28.8px): checkbox radius flattened to 0 (template had 4px), radio stays a 100% circle. Unchecked = 1px #c9c9c9 outline. Checked = solid #f51616 fill, #f82121 border, white checkmark (\f00c) — the shared rule puts a checkmark inside the radio circle too (no dot state). Labels are purple #8833e3, 1em/300; focus adds a 1px #f2849e ring.
class .input[type=checkbox|radio] + label
states: unchecked: 1px #c9c9c9 box/ring, transparent · checked: ground #f51616, border #f82121, white checkmark (checkbox AND radio) · focus: border + 0 0 0 1px #f2849e ring · label: #8833e3
verify: input[type=checkbox] input[type=radio]
aliases: checkbox, radio, radio button, check box, consent checkbox, option mark, agree to terms
source: _raw/site/assets/css/main.css checkbox/radio block; measured on elements.html
Table (900 head, 2px rules, tinted odd rows)
componentcomponent/table
Full-width tables: heads 0.9em/900, left-aligned, mixed case (no caps); thead + tfoot 2px #c9c9c9 rules; tbody rows 1px top+bottom rules; odd rows tinted rgba(144,144,144,.075); td padding 0.75em. `.alternate` adds a full 1px cell grid and keeps the same zebra. `.table-wrapper` was meant to give overflow-x — on the deployment its rule is dead (comment edit), so tables have no scroll path.
class .table / table.alt / .table-wrapper
states: default: horizontal rules only · alternate: 1px cell grid + same zebra
verify: table table.alt .table-wrapper
aliases: table, data table, ruled table, alternate table, spec table, rows
source: _raw/site/assets/css/main.css Table block; measured on elements.html
Tiles (project grid; deployed hover = flat pink veil, no zoom)
componentcomponent/tiles
Responsive image grid (3-up at 1280, 322×322px tiles; 1-up at 390). Image radius flattened to 0. Rest veils mostly alpha-0 (#efc5e900, #ffe2e500; faint #746ffa28 / #ffe2e524). Non-touch hover: the veil becomes an OPAQUE flat pink #eb84da (photo fully covered, 97.6% of the tile in the capture), transform stays scale(1) (no zoom), the cross/arrow overlay is disabled, and the white caption fades in (opacity 0→1, max-height 0→15em over 0.5s; white-on-#eb84da 2.37:1).
class .section.tiles > article (.style1-6) > .image + a
states: rest: plain photo (veils ~invisible), no caption/arrow · hover: opaque #eb84da wash + white caption, no zoom
verify: .tiles article .tiles article.style3
aliases: tiles, project grid, portfolio grid, project cards, image cards, photo grid
source: _raw/site/assets/css/main.css Tiles block (deployed); measured on index.html
Icon chips (square) & inline icons
componentcomponent/icon-row
ul.icons rows: style2 = square chip 2.65em (42.4px), 1px #c9c9c9 border, radius flattened to 0 (template 4px), glyph inherits the page ink (pink rgb(255,107,188)); hover = glyph + border #f2849e; active ground rgba(242,132,158,.1). style1 = bare glyph links (rendered green via the link colour). Icons from the bundled Font Awesome set; the index footer mixes an inline book glyph.
class .ul.icons li a.icon (style1|style2, solid|brands)
states: default: 1px #c9c9c9 square outline + pink glyph · hover: #f2849e glyph + border · active: rgba(242,132,158,.1) ground
verify: ul.icons li a.icon.style2
aliases: icons, social icons, social media icons, icon chips, follow row, social row
source: _raw/site/assets/css/main.css Icon block; measured on elements.html
Emblem & wordmark lock-up
componentcomponent/emblem-logo
Header lock-up: round emblem images/logo.svg at 2em (32×32px) + a 900 uppercase wordmark with 0.35em tracking in the page ink (pink on most pages; black on project pages). Deployed wordmarks differ per page group ('Zhen Wu YoYo 圳' / 'Phantom' / 'About Zhen' / 'Back to main'). The 圳 glyph has no declared CJK font — it falls to the OS (see fallback/cjk-system-fallback).
class .#header .logo .symbol img + .title
verify: #header .logo
aliases: logo, emblem, symbol, wordmark, site title, logo lockup
source: _raw/site/assets/css/main.css Header/logo; measured on index.html
Nav trigger (hamburger plate)
componentcomponent/nav-hamburger
Fixed top-right 4em×3em (64×48px) plate, background rgba(255,255,255,.5) (near-invisible on white), radius 4px kept; no visible label (text-indent trick, no aria-label). Icon = inline 3-line SVG: grey #585858 default, pink #f2849e on hover (opacity swap). Triggers the #menu panel.
class .#header nav ul li a[href='#menu']
states: default: grey lines on white-50% plate · hover: pink lines
verify: #header nav a[href='#menu']
aliases: hamburger, menu button, nav toggle, menu trigger, navigation button
source: _raw/site/assets/css/main.css Header nav; measured on index.html
Menu panel (neon-green slide-in)
componentcomponent/menu-panel
Slide-in nav: 22em (352px) fixed right, full height, ground #3ef900 lime (override of the template's #585858) with black text; inner padding 2.75em; heading in tracked caps; links black, 1em 0 padding, no hover colour, separators remain the template's rgba(255,255,255,.15) rules (faint on green). Opening (body.is-menu-visible) slides it in and dims #wrapper to opacity .25. Close = X (SVG) 6em left of the panel, grey #585858 → pink hover; it sits over the dimmed page.
class .#menu > .inner
states: closed: translateX(22em) · open: translateX(0); #wrapper dimmed to .25 (0.45s ease) · close control: grey X → pink on hover
verify: #menu body.is-menu-visible #wrapper
aliases: menu, main menu, navigation, nav panel, menu overlay, the main menu, slide menu
source: _raw/site/assets/css/main.css Menu block (deployed); measured on index.html
Random gallery carousel (index)
componentcomponent/carousel-gallery
Auto-advancing single-image carousel: #carouselGallery (max-width 1200, centred), one .carousel-item at a time = img fixed 640×360 object-fit cover + tracked-caps pink h3 title + empty desc p; the DOM item is replaced every 4000ms by an inline script; no controls (showPrev exists, unwired). The six deployed sources (randomgallery/*.jpg) all 404 — the live carousel is broken. Fixed 640px image + 700px collage cause 390px overflow (scrollWidth 700).
class .#carouselGallery .carousel-item
states: state A: ILIGHTUUP caption · state B: SEA, SENSE, AND MELODY caption · auto-advance 4s, no controls
verify: #carouselGallery
aliases: carousel, random gallery, gallery slider, autoplay gallery, image slider
source: index.html inline script/styles L82-86, L260-305; measured on index.html
Blockquote
componentcomponent/blockquote
Italic pull-quote (synthetic oblique — no italic face) with a 4px #c9c9c9 left rule, padding 0.5em 0 0.5em 2em, no quotation marks; text colour inherits the page ink.
class .blockquote
verify: blockquote
aliases: blockquote, pull quote, quotation block, quote
source: _raw/site/assets/css/main.css type block; measured on elements.html
Code & preformatted (blue chip)
componentcomponent/code-pre
Inline code: Courier New 0.9em (14.4px), padding 0.25em 0.65em, 1px #c9c9c9 border, radius 4px, ground rgba(46,90,249,.986) — a solid royal-blue chip with pink text (measured 1.99:1). Pre blocks stay transparent, no border, 1.75 line-height, horizontal scroll (lines clip at 390).
class .code / pre
verify: code pre
aliases: code, code block, code sample, preformatted, monospace, snippet
source: _raw/site/assets/css/main.css type block (deployed ground); measured on elements.html
Horizontal rule
componentcomponent/hr
1px #c9c9c9 rule with 2em vertical margin; the content divider used across the site.
class .hr
verify: hr
aliases: rule, divider, separator, hr
source: _raw/site/assets/css/main.css type block; measured on elements.html
Lists (default, alt, ordered)
componentcomponent/lists
Unordered lists with disc marks and 2em spacing; ul.alt drops marks; ol uses decimal counters; li item spacing 2em. Content primitives — they inherit the page ink (pink on default pages).
class .ul / ul.alt / ol
verify: ul ol
aliases: bulleted list, list, ordered list, numbered list, bullet points
source: _raw/site/assets/css/main.css List block; rendered on elements.html
Image treatments
componentcomponent/image
Images are structural: .image.main full-column block (2em margins, radius flattened to 0), .image.fit content-width, .left/.right floats ~40%. On index and project pages whole sections sit inside span.image.main wrappers (some 0px-high, empty); project galleries use .image1 float alternation instead (see layout/project-page). Many images carry hard-coded inline px widths (200–1000) that overflow mobile.
class ..image (.main .fit .left .right)
verify: .image.main
aliases: image, full width image, left image, right image, photo, figure, hero image
source: _raw/site/assets/css/main.css Box/Image blocks; rendered on index/light
Actions row (ul.actions)
componentcomponent/actions
Horizontal cluster of buttons/links (ul.actions) with 1em gaps, right-aligned by default; .fixed stacks full-width. Renders in elements' demo and carries the footer form submits.
class .ul.actions (.fixed)
verify: ul.actions
aliases: button row, action row, submit row, form actions, button group
source: _raw/site/assets/css/main.css Actions block; rendered on elements.html