Brutalist Websites Raw Index
Unapologetic raw HTML showcase index: 0px radii, cobalt underlined links, monospace numbering, and zero ornament.
Inspired by Brutalist Websites ↗
WHY THIS AESTHETIC IS UNIQUE
Strips web design back to its structural bones: raw default-inspired cobalt hyperlinks, unvarnished monospace cataloging, instant raw-table vs grid switching, and stark inversion toggles.
BEST FOR
TAGS
COLOR PALETTE (CLICK TO COPY HEX)
TYPOGRAPHY
- Display
- Space Mono, Courier New, monospace
- Body
- IBM Plex Mono, Courier New, monospace
- Mono
- IBM Plex Mono, ui-monospace, monospace
- Scale
- All-monospace hierarchy relying on weight, uppercase tracking, underlines, and stark border boxes.
ARCHITECTURE & MOBILE NOTES
LAYOUT
Raw manifesto header with exposed site count and controls, filter strip by style/year, toggleable 3-column wireframe showcase grid or dense archival table, and zero border-radius everywhere.
INTERACTION
Instant Grid vs Raw-Table view switcher, full-page Invert (white-on-black) mode toggle, live tag/year filtering, and inline manifesto drawer.
MOBILE
Single-column raw index cards and horizontally safe compact table rows on 390px viewports with >=44px blocky filter buttons.
AI AGENT GUARDRAILS
DO
- Enforce 0px border-radius and 1px-2px solid black borders across every component
- Use pure #0000FF underlined links for interactive anchors
- Expose raw metadata (index numbers, dates, locations) directly in monospace
DON'T
- Do not add smooth easing animations, gradients, or rounded corners
- Do not disguise links as subtle gray text
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RAW INDEX — Brutalist Web Archive (2021–2026)</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--canvas: #FFFFFF;
--surface: #F2F2F2;
--ink: #000000;
--accent: #0000FF;
--muted: #555555;
--hairline: #000000;
--font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
body.inverted {
--canvas: #000000;
--surface: #141414;
--ink: #FFFFFF;
--accent: #7DA2FF;
--muted: #AAAAAA;
--hairline: #FFFFFF;
}
*, *::before, *::after {
box-sizing: border-box;
border-radius: 0;
}
html, body {
margin: 0;
padding: 0;
background: var(--canvas);
color: var(--ink);
font-family: var(--font-mono);
font-size: 14px;
line-height: 1.5;
overflow-x: hidden;
}
a {
color: var(--accent);
text-decoration: underline;
text-underline-offset: 2px;
}
a:hover {
background: var(--accent);
color: var(--canvas);
text-decoration: none;
}
button, select {
font-family: var(--font-mono);
font-size: 13px;
color: var(--ink);
background: var(--canvas);
border: 1px solid var(--hairline);
min-height: 44px;
padding: 0 0.85rem;
cursor: pointer;
}
button:hover, select:hover {
background: var(--surface);
}
button.active {
background: var(--ink);
color: var(--canvas);
font-weight: 700;
}
/* Structural Top Bar */
.topbar {
border-bottom: 1px solid var(--hairline);
padding: 1rem 1.25rem;
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
}
.title-block h1 {
margin: 0;
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.02em;
text-transform: uppercase;
}
.title-block p {
margin: 0.25rem 0 0;
color: var(--muted);
font-size: 0.85rem;
max-width: 64ch;
}
.mode-controls {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
/* Filter Matrix Bar */
.filter-strip {
border-bottom: 1px solid var(--hairline);
background: var(--surface);
padding: 0.85rem 1.25rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
}
.filter-group {
display: flex;
align-items: center;
gap: 0.4rem;
}
.filter-group label {
font-size: 0.78rem;
text-transform: uppercase;
color: var(--muted);
font-weight: 600;
}
.status-readout {
margin-left: auto;
font-size: 0.82rem;
font-weight: 600;
}
/* Main Container */
main {
padding: 0;
}
/* Grid View */
.archive-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-bottom: 1px solid var(--hairline);
}
.entry-card {
border-right: 1px solid var(--hairline);
border-bottom: 1px solid var(--hairline);
padding: 1.15rem 1.25rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
background: var(--canvas);
}
.entry-card:nth-child(3n) {
border-right: none;
}
.entry-head {
display: flex;
justify-content: space-between;
align-items: baseline;
font-size: 0.8rem;
color: var(--muted);
}
.entry-num {
color: var(--ink);
font-weight: 700;
}
.wireframe-box {
border: 1px solid var(--hairline);
background: var(--surface);
aspect-ratio: 16 / 10;
width: 100%;
overflow: hidden;
}
.wireframe-box svg {
width: 100%;
height: 100%;
display: block;
}
.entry-title {
margin: 0;
font-size: 1rem;
font-weight: 700;
}
.entry-note {
margin: 0;
font-size: 0.84rem;
color: var(--muted);
flex: 1;
}
.entry-meta {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
padding-top: 0.65rem;
border-top: 1px dashed var(--hairline);
font-size: 0.78rem;
}
.tag-raw {
border: 1px solid var(--hairline);
padding: 0.1rem 0.4rem;
text-transform: uppercase;
font-size: 0.72rem;
}
.inspect-btn {
min-height: 36px;
padding: 0 0.65rem;
font-size: 0.78rem;
}
/* Raw Table View */
.table-wrap {
display: none;
width: 100%;
}
.table-wrap.active {
display: block;
}
.archive-grid.hidden {
display: none;
}
table.raw-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
table.raw-table th,
table.raw-table td {
border-bottom: 1px solid var(--hairline);
border-right: 1px solid var(--hairline);
padding: 0.7rem 0.85rem;
text-align: left;
vertical-align: top;
word-wrap: break-word;
}
table.raw-table th {
background: var(--surface);
font-size: 0.78rem;
text-transform: uppercase;
font-weight: 700;
}
table.raw-table th:last-child,
table.raw-table td:last-child {
border-right: none;
}
table.raw-table tbody tr:hover {
background: var(--surface);
}
/* Empty state */
.empty-state {
padding: 3rem 1.25rem;
text-align: center;
border-bottom: 1px solid var(--hairline);
}
/* Spec Drawer / Inspector Modal */
.inspector-bar {
display: none;
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: var(--canvas);
border-top: 2px solid var(--hairline);
padding: 1rem 1.25rem;
z-index: 50;
}
.inspector-bar.open {
display: block;
}
.inspector-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.inspector-specs {
display: flex;
flex-wrap: wrap;
gap: 1.25rem;
font-size: 0.84rem;
}
/* Footer */
footer {
padding: 1.5rem 1.25rem;
background: var(--surface);
font-size: 0.8rem;
color: var(--muted);
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.75rem;
}
/* Responsive */
@media (max-width: 960px) {
.archive-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.entry-card:nth-child(3n) {
border-right: 1px solid var(--hairline);
}
.entry-card:nth-child(2n) {
border-right: none;
}
}
@media (max-width: 640px) {
.archive-grid {
grid-template-columns: 1fr;
}
.entry-card {
border-right: none !important;
}
.status-readout {
margin-left: 0;
width: 100%;
}
.inspect-btn {
min-height: 44px;
}
/* Stack raw table cleanly on mobile without horizontal overflow */
table.raw-table thead {
display: none;
}
table.raw-table,
table.raw-table tbody,
table.raw-table tr,
table.raw-table td {
display: block;
width: 100%;
}
table.raw-table tr {
border-bottom: 2px solid var(--hairline);
padding: 0.5rem 0;
}
table.raw-table td {
border: none;
padding: 0.3rem 1.25rem;
}
table.raw-table td::before {
content: attr(data-label) ": ";
font-weight: 700;
color: var(--muted);
text-transform: uppercase;
font-size: 0.75rem;
}
}
</style>
</head>
<body>
<header class="topbar">
<div class="title-block">
<h1>RAW INDEX // BRUTALIST WEB ARCHIVE</h1>
<p>An unstyled catalogue of rugged, honest, structural HTML websites. No smooth scroll. No hero gradients. Pure document architecture.</p>
</div>
<div class="mode-controls">
<button type="button" id="gridViewBtn" class="active" aria-pressed="true">[GRID VIEW]</button>
<button type="button" id="tableViewBtn" aria-pressed="false">[RAW TABLE]</button>
<button type="button" id="invertBtn" aria-pressed="false">[INVERT]</button>
</div>
</header>
<section class="filter-strip" aria-label="Archive filters">
<div class="filter-group">
<label for="yearFilter">Year</label>
<select id="yearFilter">
<option value="ALL">ALL</option>
<option value="2026">2026</option>
<option value="2025">2025</option>
<option value="2024">2024</option>
<option value="2023">2023</option>
<option value="2022">2022</option>
</select>
</div>
<div class="filter-group">
<label for="countryFilter">Country</label>
<select id="countryFilter">
<option value="ALL">ALL</option>
<option value="CH">CH — Switzerland</option>
<option value="DE">DE — Germany</option>
<option value="JP">JP — Japan</option>
<option value="NL">NL — Netherlands</option>
<option value="UK">UK — United Kingdom</option>
<option value="US">US — United States</option>
</select>
</div>
<div class="filter-group">
<label for="styleFilter">Style</label>
<select id="styleFilter">
<option value="ALL">ALL</option>
<option value="Hypertext">Hypertext</option>
<option value="Swiss Raw">Swiss Raw</option>
<option value="Terminal">Terminal</option>
<option value="Anti-Grid">Anti-Grid</option>
</select>
</div>
<button type="button" id="resetFiltersBtn">RESET</button>
<div class="status-readout" id="statusReadout">SHOWING 9 / 9 ENTRIES</div>
</section>
<main>
<div class="archive-grid" id="archiveGrid"></div>
<div class="table-wrap" id="tableWrap">
<table class="raw-table">
<thead>
<tr>
<th style="width:8%">#</th>
<th style="width:24%">SITE / URL</th>
<th style="width:10%">YEAR</th>
<th style="width:10%">LOC</th>
<th style="width:14%">STYLE</th>
<th style="width:24%">NOTES</th>
<th style="width:10%">SPEC</th>
</tr>
</thead>
<tbody id="tableBody"></tbody>
</table>
</div>
<div class="empty-state" id="emptyState" hidden>
<p>0 ARCHIVE ENTRIES MATCH CURRENT FILTER PARAMETERS.</p>
<button type="button" id="emptyResetBtn">CLEAR FILTERS</button>
</div>
</main>
<aside class="inspector-bar" id="inspectorBar" aria-label="Entry colophon inspector">
<div class="inspector-inner">
<div class="inspector-specs" id="inspectorSpecs"></div>
<button type="button" id="closeInspectorBtn">[CLOSE SPEC]</button>
</div>
</aside>
<footer>
<div>RAW INDEX — CURATED STATIC HTML ARCHIVE (14.2 KB TRANSFER)</div>
<div>SUBMIT A URL: <a href="#top" id="submitHintLink">archive@raw-index.example</a> • <a href="#top">TOP ↑</a></div>
</footer>
<script>
(function () {
const ENTRIES = [
{
num: '001',
name: 'KUNSTHALLE BASEL ARCHIVE',
url: 'kunsthalle-raw.ch',
year: '2026',
country: 'CH',
style: 'Swiss Raw',
weight: '18 KB',
stack: 'HTML5 + 1px CSS Grid',
note: 'Rigid 12-column exhibition ledger using only system monospace and raw blue anchors.',
wireframe: 'grid'
},
{
num: '002',
name: 'TOKYO SOUND SYNDICATE',
url: 'tss-fm.jp/index.txt',
year: '2026',
country: 'JP',
style: 'Terminal',
weight: '9 KB',
stack: 'Plain HTML + Preformatted ASCII',
note: 'Broadcast schedule rendered as live ASCII tables with zero images and instant track links.',
wireframe: 'terminal'
},
{
num: '003',
name: 'BETON ARCHITECTURE PRESS',
url: 'betonpress.de',
year: '2025',
country: 'DE',
style: 'Swiss Raw',
weight: '24 KB',
stack: 'Static SSG + Inline SVG',
note: 'Concrete typography catalogue featuring oversized index numerals and exposed border hairlines.',
wireframe: 'blocks'
},
{
num: '004',
name: 'LOW-TECH HYPERTEXT RING',
url: 'smallweb-directory.org',
year: '2025',
country: 'US',
style: 'Hypertext',
weight: '6 KB',
stack: 'Hand-coded HTML 4.01 Strict',
note: 'Dense multi-column directory of 400+ personal homepages with default browser link states.',
wireframe: 'columns'
},
{
num: '005',
name: 'AMSTERDAM RISO CO-OP',
url: 'riso-rotterdam.nl',
year: '2024',
country: 'NL',
style: 'Anti-Grid',
weight: '31 KB',
stack: 'HTML + Raw CSS Tables',
note: 'Overlapping print proofs, exposed table cells, and zero-padding brutalist spec sheets.',
wireframe: 'antigrid'
},
{
num: '006',
name: 'LONDON SYNTHESIS LAB',
url: 'synthlab-uk.net',
year: '2024',
country: 'UK',
style: 'Terminal',
weight: '11 KB',
stack: 'Vanilla JS + Web Audio',
note: 'Patchbay documentation presented as a monospaced manual with clickable schematic diagrams.',
wireframe: 'schematic'
},
{
num: '007',
name: 'BERLIN TYPE SPECIMEN 09',
url: 'grotesk-09.de',
year: '2023',
country: 'DE',
style: 'Swiss Raw',
weight: '22 KB',
stack: 'CSS Subgrid + Variable Font',
note: 'Unfiltered glyph waterfall with live kerning table and black-and-white contrast.',
wireframe: 'specimen'
},
{
num: '008',
name: 'KYOTO HARDWARE JOURNAL',
url: 'khj-archive.jp',
year: '2023',
country: 'JP',
style: 'Hypertext',
weight: '12 KB',
stack: 'Plain HTML + Footnotes',
note: 'Long-form essays on repairable electronics with numbered inline citations and zero JS.',
wireframe: 'columns'
},
{
num: '009',
name: 'NEW YORK ZINE EXCHANGE',
url: 'nyzx-list.us',
year: '2022',
country: 'US',
style: 'Anti-Grid',
weight: '15 KB',
stack: 'CGI Perl + Raw HTML',
note: 'Chronological swap board for self-published booklets with stark 1px outlines.',
wireframe: 'antigrid'
}
];
function makeWireframeSVG(kind, num) {
const stroke = 'currentColor';
if (kind === 'grid') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.2" aria-hidden="true">
<line x1="0" y1="36" x2="320" y2="36"/>
<line x1="106" y1="36" x2="106" y2="200"/>
<line x1="212" y1="36" x2="212" y2="200"/>
<line x1="0" y1="118" x2="320" y2="118"/>
<text x="12" y="24" fill="${stroke}" stroke="none" font-family="monospace" font-size="12">[${num}] INDEX_GRID</text>
<rect x="14" y="50" width="78" height="54"/>
<line x1="14" y1="50" x2="92" y2="104"/>
<line x1="92" y1="50" x2="14" y2="104"/>
<line x1="120" y1="56" x2="196" y2="56"/>
<line x1="120" y1="72" x2="184" y2="72"/>
<line x1="226" y1="134" x2="302" y2="134"/>
<line x1="226" y1="150" x2="288" y2="150"/>
</svg>`;
}
if (kind === 'terminal') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.2" aria-hidden="true">
<rect x="14" y="14" width="292" height="172"/>
<line x1="14" y1="38" x2="306" y2="38"/>
<text x="24" y="30" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">TERM://RAW_${num}</text>
<text x="24" y="64" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">> ls -la /archive</text>
<text x="24" y="86" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">01_broadcast.txt 4.2K</text>
<text x="24" y="108" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">02_schedule.txt 2.1K</text>
<text x="24" y="130" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">03_manifest.html 1.8K</text>
<rect x="24" y="148" width="9" height="14" fill="${stroke}"/>
</svg>`;
}
if (kind === 'blocks') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.4" aria-hidden="true">
<rect x="16" y="16" width="136" height="168"/>
<text x="28" y="96" fill="${stroke}" stroke="none" font-family="monospace" font-size="52" font-weight="700">${num}</text>
<rect x="164" y="16" width="140" height="76"/>
<rect x="164" y="104" width="140" height="80"/>
<line x1="176" y1="42" x2="290" y2="42"/>
<line x1="176" y1="60" x2="260" y2="60"/>
<line x1="176" y1="130" x2="288" y2="130"/>
<line x1="176" y1="148" x2="248" y2="148"/>
</svg>`;
}
if (kind === 'columns') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.2" aria-hidden="true">
<text x="16" y="28" fill="${stroke}" stroke="none" font-family="monospace" font-size="12" font-weight="700">HYPERTEXT DIRECTORY</text>
<line x1="16" y1="38" x2="304" y2="38"/>
<line x1="16" y1="60" x2="96" y2="60"/><line x1="114" y1="60" x2="196" y2="60"/><line x1="214" y1="60" x2="296" y2="60"/>
<line x1="16" y1="80" x2="88" y2="80"/><line x1="114" y1="80" x2="188" y2="80"/><line x1="214" y1="80" x2="286" y2="80"/>
<line x1="16" y1="100" x2="94" y2="100"/><line x1="114" y1="100" x2="192" y2="100"/><line x1="214" y1="100" x2="298" y2="100"/>
<line x1="16" y1="120" x2="78" y2="120"/><line x1="114" y1="120" x2="176" y2="120"/><line x1="214" y1="120" x2="278" y2="120"/>
<line x1="16" y1="140" x2="90" y2="140"/><line x1="114" y1="140" x2="194" y2="140"/><line x1="214" y1="140" x2="290" y2="140"/>
</svg>`;
}
if (kind === 'schematic') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.3" aria-hidden="true">
<rect x="24" y="42" width="76" height="50"/>
<text x="36" y="72" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">OSC_01</text>
<line x1="100" y1="67" x2="146" y2="67"/>
<rect x="146" y="42" width="76" height="50"/>
<text x="158" y="72" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">VCF_LP</text>
<line x1="222" y1="67" x2="254" y2="67"/>
<circle cx="272" cy="67" r="18"/>
<polyline points="24,154 64,126 104,154 144,126 184,154 224,126 264,154 296,138"/>
</svg>`;
}
if (kind === 'specimen') {
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.2" aria-hidden="true">
<text x="18" y="78" fill="${stroke}" stroke="none" font-family="monospace" font-size="56" font-weight="700">AaBbCc</text>
<line x1="18" y1="94" x2="302" y2="94"/>
<text x="18" y="124" fill="${stroke}" stroke="none" font-family="monospace" font-size="18">0123456789 !@#$%</text>
<line x1="18" y1="140" x2="302" y2="140"/>
<text x="18" y="168" fill="${stroke}" stroke="none" font-family="monospace" font-size="11">TRACKING: 0.00EM / MONO</text>
</svg>`;
}
return `<svg viewBox="0 0 320 200" stroke="${stroke}" fill="none" stroke-width="1.3" aria-hidden="true">
<rect x="18" y="20" width="144" height="96"/>
<rect x="122" y="64" width="176" height="114"/>
<line x1="18" y1="20" x2="162" y2="116"/>
<text x="136" y="110" fill="${stroke}" stroke="none" font-family="monospace" font-size="14" font-weight="700">RAW_LAYER_${num}</text>
<line x1="136" y1="132" x2="278" y2="132"/>
<line x1="136" y1="150" x2="246" y2="150"/>
</svg>`;
}
const yearFilter = document.getElementById('yearFilter');
const countryFilter = document.getElementById('countryFilter');
const styleFilter = document.getElementById('styleFilter');
const archiveGrid = document.getElementById('archiveGrid');
const tableWrap = document.getElementById('tableWrap');
const tableBody = document.getElementById('tableBody');
const emptyState = document.getElementById('emptyState');
const statusReadout = document.getElementById('statusReadout');
const gridViewBtn = document.getElementById('gridViewBtn');
const tableViewBtn = document.getElementById('tableViewBtn');
const invertBtn = document.getElementById('invertBtn');
const inspectorBar = document.getElementById('inspectorBar');
const inspectorSpecs = document.getElementById('inspectorSpecs');
let currentView = 'grid';
function getFiltered() {
const y = yearFilter.value;
const c = countryFilter.value;
const s = styleFilter.value;
return ENTRIES.filter(item =>
(y === 'ALL' || item.year === y) &&
(c === 'ALL' || item.country === c) &&
(s === 'ALL' || item.style === s)
);
}
function render() {
const list = getFiltered();
statusReadout.textContent = `SHOWING ${list.length} / ${ENTRIES.length} ENTRIES`;
if (list.length === 0) {
archiveGrid.innerHTML = '';
tableBody.innerHTML = '';
emptyState.hidden = false;
return;
}
emptyState.hidden = true;
archiveGrid.innerHTML = list.map(item => `
<article class="entry-card">
<div class="entry-head">
<span class="entry-num">#${item.num}</span>
<span>${item.country} • ${item.year}</span>
</div>
<div class="wireframe-box">${makeWireframeSVG(item.wireframe, item.num)}</div>
<h2 class="entry-title"><a href="#spec-${item.num}" data-inspect="${item.num}">${item.name}</a></h2>
<p class="entry-note">${item.note}</p>
<div class="entry-meta">
<span class="tag-raw">${item.style}</span>
<button type="button" class="inspect-btn" data-inspect="${item.num}">SPEC [${item.weight}]</button>
</div>
</article>
`).join('');
tableBody.innerHTML = list.map(item => `
<tr>
<td data-label="#"><strong>${item.num}</strong></td>
<td data-label="Site"><a href="#spec-${item.num}" data-inspect="${item.num}">${item.name}</a><br><span style="color:var(--muted);font-size:0.78rem;">${item.url}</span></td>
<td data-label="Year">${item.year}</td>
<td data-label="Loc">${item.country}</td>
<td data-label="Style"><span class="tag-raw">${item.style}</span></td>
<td data-label="Notes">${item.note}</td>
<td data-label="Spec"><button type="button" class="inspect-btn" data-inspect="${item.num}">${item.weight}</button></td>
</tr>
`).join('');
}
function openInspector(num) {
const item = ENTRIES.find(e => e.num === num);
if (!item) return;
inspectorSpecs.innerHTML = `
<span><strong>#${item.num} ${item.name}</strong></span>
<span>URL: <code>https://${item.url}</code></span>
<span>WEIGHT: <strong>${item.weight}</strong></span>
<span>STACK: ${item.stack}</span>
<span>ORIGIN: ${item.country} (${item.year})</span>
`;
inspectorBar.classList.add('open');
}
function setView(view) {
currentView = view;
const isGrid = view === 'grid';
archiveGrid.classList.toggle('hidden', !isGrid);
tableWrap.classList.toggle('active', !isGrid);
gridViewBtn.classList.toggle('active', isGrid);
tableViewBtn.classList.toggle('active', !isGrid);
gridViewBtn.setAttribute('aria-pressed', String(isGrid));
tableViewBtn.setAttribute('aria-pressed', String(!isGrid));
}
function resetFilters() {
yearFilter.value = 'ALL';
countryFilter.value = 'ALL';
styleFilter.value = 'ALL';
render();
}
yearFilter.addEventListener('change', render);
countryFilter.addEventListener('change', render);
styleFilter.addEventListener('change', render);
document.getElementById('resetFiltersBtn').addEventListener('click', resetFilters);
document.getElementById('emptyResetBtn').addEventListener('click', resetFilters);
gridViewBtn.addEventListener('click', () => setView('grid'));
tableViewBtn.addEventListener('click', () => setView('table'));
invertBtn.addEventListener('click', () => {
const inverted = document.body.classList.toggle('inverted');
invertBtn.classList.toggle('active', inverted);
invertBtn.setAttribute('aria-pressed', String(inverted));
invertBtn.textContent = inverted ? '[NORMAL]' : '[INVERT]';
});
document.addEventListener('click', e => {
const target = e.target.closest('[data-inspect]');
if (target) {
e.preventDefault();
openInspector(target.dataset.inspect);
}
});
document.getElementById('closeInspectorBtn').addEventListener('click', () => {
inspectorBar.classList.remove('open');
});
document.addEventListener('keydown', e => {
if (e.key === 'Escape') inspectorBar.classList.remove('open');
});
render();
})();
</script>
</body>
</html>