template
Explore creation
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A question-and-answer detail page with a warm paper palette, nested replies, vote control and an expandable accepted solution.
<!-- Original layout, SVG/CSS artwork and JavaScript © 2026 XXC Templates. MIT License.
Visual pattern references (original code, names and content; no affiliation):
Hacker News: https://news.ycombinator.com/
Dense ranked link lists, compact metadata, minimal ornament and nested conversation.
Discourse Meta: https://meta.discourse.org/
Discussion rows with category markers, reply counts and activity metadata.
Illustrative sample content and data; no real accounts, payments, reservations or messages. -->
<main>
<header><b>ask a maker.</b><span>good questions make good things.</span></header>
<nav>Questions / Woodworking / A beginner's first shelf</nav>
<article class="question">
<div class="vote">
<button id="change" aria-label="Upvote this question" aria-pressed="false">△</button
><strong id="votes">28</strong>
</div>
<div>
<span class="tag">WOODWORKING</span>
<h1>What would you tell someone<br />building their very first shelf?</h1>
<p>
I have a borrowed saw, a small workspace and more enthusiasm than experience. What should I
know before the first cut?
</p>
<small>asked by <b>fern</b> · 2 days ago · 8 answers</small>
</div>
</article>
<section class="answers">
<div class="answer-head">
<h2>From the workbench</h2>
<span>8 answers</span>
</div>
<article class="accepted">
<span>✓ A HELPFUL START</span>
<h3>Measure the wall before the wood.</h3>
<p>
Make a cardboard version first. It is cheaper to discover that your shelf blocks a light
switch before you have cut anything.
</p>
<button id="more" aria-expanded="false">Read the rest ↓</button>
<p id="rest" hidden>
Start with one straight, sturdy shelf. Pre-drill your holes, check the wall fixing and ask
an experienced person to inspect the result before loading it.
</p>
<small>oakandink · 42 people found this helpful</small>
</article>
<div class="reply">
<b>fern</b>
<p>The cardboard idea is exactly the kind of advice I needed.</p>
<small>1 day ago</small>
</div>
<div class="reply nested">
<b>oakandink</b>
<p>The best prototype is often the least impressive one.</p>
<small>1 day ago</small>
</div>
</section>
<output data-status aria-live="polite"></output>
<footer class="demo-note">Fictional brand · local interface demo · no information is sent</footer>
</main>
* {
box-sizing: border-box;
}
html {
scrollbar-gutter: stable;
}
body {
margin: 0;
font:
14px/1.5 Arial,
Helvetica,
sans-serif;
background: #fff;
color: #202622;
}
h1,
h2,
h3,
p,
figure {
margin: 0;
}
main,
section,
article,
aside,
header,
nav {
min-width: 0;
}
button,
input,
select,
textarea {
font: inherit;
max-width: 100%;
min-width: 0;
}
button,
a,
input,
select,
summary {
touch-action: manipulation;
}
button {
cursor: pointer;
}
a {
color: inherit;
}
img {
display: block;
max-width: 100%;
object-fit: cover;
}
svg {
display: block;
max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
outline: 3px solid #2781da;
outline-offset: 3px;
}
[hidden] {
display: none !important;
}
[data-status] {
display: block;
min-height: 24px;
font-size: 12px;
margin-top: 14px;
}
.demo-note {
font:
9px/1.6 ui-monospace,
monospace;
padding: 16px 0;
opacity: 0.75;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
dialog {
max-width: calc(100vw - 32px);
width: 480px;
border: 1px solid #666;
padding: 25px;
background: #fff;
color: #202622;
}
dialog::backdrop {
background: #0008;
}
dialog h2 {
margin-bottom: 15px;
}
dialog p {
margin: 12px 0;
}
dialog button {
margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
*,
*:before,
*:after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
body {
background: #f8f3e9;
color: #51493e;
}
main {
max-width: 900px;
margin: auto;
padding: 25px 35px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
border-bottom: 2px solid #756850;
padding-bottom: 18px;
}
header > b {
font:
29px Georgia,
serif;
letter-spacing: -1px;
}
header > span {
font:
italic 10px Georgia,
serif;
color: #a1927a;
}
nav {
font: 9px Arial;
color: #a5947d;
margin: 18px 0;
}
.question {
display: flex;
gap: 22px;
margin: 25px 0;
}
.vote {
display: flex;
flex-direction: column;
align-items: center;
color: #b09b77;
}
.vote button {
border: 0;
background: none;
color: #a08c68;
font-size: 30px;
padding: 0;
line-height: 1;
}
.vote button[aria-pressed="true"] {
color: #5e8250;
}
.vote strong {
font:
22px Georgia,
serif;
margin-top: 7px;
}
.tag {
font: 7px monospace;
color: #967e5b;
letter-spacing: 1px;
}
h1 {
font:
28px/1.18 Georgia,
serif;
letter-spacing: -0.5px;
margin: 12px 0;
}
.question p {
font-size: 11px;
line-height: 1.9;
max-width: 570px;
}
.question small {
display: block;
font-size: 8px;
color: #a89980;
margin-top: 15px;
}
.answer-head {
display: flex;
justify-content: space-between;
border-block: 1px solid #cfc2ab;
padding: 13px 0;
}
h2 {
font:
19px Georgia,
serif;
}
.answer-head > span {
font-size: 9px;
color: #a38f70;
}
.accepted {
background: #edeedc;
border-left: 3px solid #a4af7c;
padding: 20px;
margin-top: 18px;
}
.accepted > span {
font: 7px monospace;
color: #83945f;
letter-spacing: 1px;
}
h3 {
font:
20px Georgia,
serif;
margin: 12px 0;
}
.accepted p {
font:
12px/1.8 Georgia,
serif;
}
.accepted button {
background: none;
border: 0;
border-bottom: 1px solid #a4af7c;
padding: 5px 0;
color: #76864f;
font-size: 10px;
margin: 10px 0;
}
.accepted small {
display: block;
font-size: 8px;
color: #9c9f83;
margin-top: 8px;
}
.reply {
border-left: 1px solid #c8bda7;
margin: 16px 0 0 25px;
padding-left: 16px;
}
.reply b {
font-size: 9px;
color: #a18b66;
}
.reply p {
font:
11px/1.6 Georgia,
serif;
margin: 5px 0;
}
.reply small {
font-size: 7px;
color: #b1a28a;
}
.nested {
margin-left: 50px;
}
@media (max-width: 530px) {
main {
padding: 20px;
}
header > span {
display: none;
}
.question {
gap: 14px;
}
h1 {
font-size: 25px;
}
.accepted {
padding: 17px;
}
.nested {
margin-left: 35px;
}
}
(() => {
"use strict";
const $ = (s) => document.querySelector(s),
$$ = (s) => [...document.querySelectorAll(s)];
const status = (text) => {
const el = $("[data-status]");
if (el) el.textContent = text;
};
const escapeText = (s) =>
String(s).replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
function choose(selector, fn) {
$$(selector).forEach((b) =>
b.addEventListener("click", () => {
$$(selector).forEach((x) => x.setAttribute("aria-pressed", String(x === b)));
fn(b);
}),
);
}
function filter(selector, items, key) {
choose(selector, (b) => {
$$(items).forEach(
(el) => (el.hidden = b.dataset[key] !== "all" && el.dataset.kind !== b.dataset[key]),
);
status($$(items).filter((el) => !el.hidden).length + " results shown.");
});
}
function textList(target, values) {
$(target).replaceChildren(
...values.map((text) => {
const p = document.createElement("p");
p.textContent = text;
return p;
}),
);
}
$("#change").addEventListener("click", () => {
const on = $("#change").getAttribute("aria-pressed") !== "true";
$("#change").setAttribute("aria-pressed", String(on));
$("#votes").textContent = on ? "29" : "28";
status(on ? "Your local upvote was added." : "Your local upvote was removed.");
});
$("#more").addEventListener("click", () => {
const el = $("#rest");
el.hidden = !el.hidden;
$("#more").setAttribute("aria-expanded", String(!el.hidden));
$("#more").textContent = el.hidden ? "Read the rest ↓" : "Show less ↑";
status(el.hidden ? "Answer collapsed." : "Full sample answer shown.");
});
})();
A slate-blue platform map that connects visitors, an edge layer, services and storage with readable labe…
A warm paper diagram explaining sender, recipient and message relationships with key and envelope glyphs…
A pale violet delivery pipeline with branch and merge relationships, distinct gates and a selectable pro…