Webmaster supplements Tailwind CSS with a set of hand-written utility classes inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/webmaster/llms.txt
Use this file to discover all available pages before exploring further.
assets/main.css. These classes handle the distinctly retro effects that Tailwind’s design-system utilities don’t cover out of the box: Windows 98-style bevel borders, animated selection outlines, cycling rainbow text, a CRT scanline overlay, and custom font assignments. Each class below is documented with its full CSS definition and a JSX usage example.
Bevel Border Classes
The bevel classes simulate the 3D raised and sunken borders that Windows 98 applied to all dialog boxes, panels, and buttons. The illusion is achieved purely with asymmetric border colors — nobox-shadow required.
.bevel-container — Raised Windows 98 Panel
.bevel-container — Raised Windows 98 Panel
What it does: Gives an element a silver background and a raised 3D appearance: bright white borders on the top and left edges catch simulated “light,” while medium-gray borders on the bottom and right edges create shadow.Usage:
.bevel-container-inset — Sunken Windows 98 Panel
.bevel-container-inset — Sunken Windows 98 Panel
What it does: The inverse of Usage:
.bevel-container. Dark borders on top/left, white on bottom/right — the element appears pressed into the page. Useful for input fields, code display areas, or recessed info blocks. Background defaults to white..bevel-button — Clickable Bevel Button
.bevel-button — Clickable Bevel Button
Retro Border Classes
Two decorative border utilities that use the project’s hot-pink and turquoise brand colors..retro-dashed — Hot-Pink Dashed Border
.retro-dashed — Hot-Pink Dashed Border
What it does: Applies a 2px dashed border in Usage:
var(--color-hotpink) (#FF69B4). Great for calling out special sections, image frames, or sidebar notes that need to feel hand-annotated..retro-dotted — Turquoise Dotted Border
.retro-dotted — Turquoise Dotted Border
What it does: Applies a 3px dotted border in Usage:
var(--color-turquoise) (#00CED1). The slightly heavier stroke (3px vs 2px on dashed) makes the dots read clearly at small sizes.Text Effect Classes
.rainbow-text — Animated Rainbow Gradient Text
.rainbow-text — Animated Rainbow Gradient Text
What it does: Renders text with a full-spectrum rainbow gradient that cycles continuously. It works by applying a wide The underlying Usage:
linear-gradient to the background, clipping it to the text shape with background-clip: text, setting color: transparent so the gradient shows through, and animating background-position via the rainbow-bg keyframe.rainbow-bg keyframe shifts background-position from 0% to 200%, creating the illusion that the rainbow slides across the text:Animated Border Classes
.marching-ants — Animated Selection-Style Dashed Border
.marching-ants — Animated Selection-Style Dashed Border
What it does: Recreates the “marching ants” dashed outline familiar from selection tools in MS Paint and Photoshop. It draws four 2px dashed lines (top, bottom, left, right) using The Usage:
background gradients instead of a real border, then animates their background-position in sync via the border-dance keyframe to make the dashes appear to march around the element perimeter.border-dance keyframe advances each of the four background layers by exactly one dash segment (15px) per cycle:The built-in
padding: 10px gives the marching-ant border visual breathing room from the content inside. Add extra padding classes if you need more interior space.Typography Classes
.font-pixel — VT323 Pixel Font
.font-pixel — VT323 Pixel Font
What it does: Switches the element’s font to VT323, a bitmap-style typeface modeled on the DEC VT320 terminal. Every character is drawn on a pixel grid, giving text an authentic 8-bit or command-line appearance.Usage:
.font-comic — Comic Neue Casual Font
.font-comic — Comic Neue Casual Font
What it does: Applies Comic Neue, a refined revival of Comic Sans. It retains the loose, hand-drawn quality of the original while improving letter spacing and rendering at smaller sizes. Loaded at weights 400 and 700.Usage:
Overlay Classes
.scanlines — CRT Scanline Overlay
.scanlines — CRT Scanline Overlay
What it does: Adds a subtle CRT monitor effect to any element by inserting a Usage:
::before pseudo-element that covers the entire parent with two layered gradients: a repeating horizontal stripe (simulating the dark gap between scan rows at 4px intervals) and a subtle RGB channel separation (simulating phosphor bleeding). The overlay uses z-index: 50 and pointer-events: none so it sits visually on top without blocking interaction.The scanline pseudo-element is completely hidden when
prefers-reduced-motion: reduce is active (.scanlines::before { display: none }). This ensures users sensitive to flickering overlays see a clean display.Quick Reference
| Class | Effect | Key Colors |
|---|---|---|
.bevel-container | Raised 3D silver panel | #C0C0C0 bg, #fff / #808080 borders |
.bevel-container-inset | Sunken 3D white panel | #fff bg, #808080 / #fff borders |
.bevel-button | Clickable raised button, depresses on :active | #C0C0C0 bg |
.retro-dashed | 2px dashed hot-pink border | var(--color-hotpink) |
.retro-dotted | 3px dotted turquoise border | var(--color-turquoise) |
.rainbow-text | Cycling animated rainbow gradient on text | Full spectrum |
.marching-ants | Animated marching-ant selection border | #000 / transparent |
.font-pixel | VT323 terminal/pixel font | — |
.font-comic | Comic Neue casual font | — |
.scanlines | CRT scanline ::before overlay | Semi-transparent black + RGB |