Wiki — Infobox / Fact Sidebar Card
A Wikipedia-style infobox: a right-floated fact card that summarises an article at a glance. A header, a CSS-drawn emblem, and label/value rows grouped into Overview, Technical details, and Links sections with subtle dividers and footnote superscripts. Vanilla JS adds collapse/expand toggles per section, a show-more-fields expander, a copy-permalink button on the article title, plus a responsive sidebar drawer. Clean ink-on-white with link-blue values and accessible, keyboard-friendly controls.
MCP
Код
:root {
--bg: #ffffff;
--bg-2: #f7f8fa;
--panel: #ffffff;
--ink: #1a1a1f;
--ink-2: #3a3a42;
--muted: #6b7280;
--line: rgba(20, 20, 30, 0.10);
--line-2: rgba(20, 20, 30, 0.18);
--link: #2563eb;
--link-hover: #1d4ed8;
--accent: #2563eb;
--note: #2563eb;
--tip: #16a34a;
--warn: #d97706;
--danger: #dc2626;
--code-bg: #f4f4f6;
--kbd-bg: #eceef2;
--r-sm: 6px;
--r-md: 10px;
--r-lg: 14px;
--sans: "Inter", system-ui, -apple-system, sans-serif;
--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--topbar-h: 56px;
--sidebar-w: 248px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--sans);
font-size: 15px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: var(--r-sm);
}
.skip-link {
position: absolute;
left: -9999px;
top: 8px;
z-index: 100;
background: var(--ink);
color: #fff;
padding: 8px 14px;
border-radius: var(--r-sm);
}
.skip-link:focus { left: 12px; }
/* ===================== TOPBAR ===================== */
.topbar {
position: sticky;
top: 0;
z-index: 40;
height: var(--topbar-h);
display: flex;
align-items: center;
gap: 16px;
padding: 0 18px;
background: rgba(255, 255, 255, 0.92);
backdrop-filter: saturate(180%) blur(8px);
border-bottom: 1px solid var(--line);
}
.nav-toggle {
display: none;
flex-direction: column;
justify-content: center;
gap: 4px;
width: 36px;
height: 36px;
padding: 0 8px;
background: transparent;
border: 1px solid var(--line);
border-radius: var(--r-sm);
cursor: pointer;
}
.nav-toggle span {
display: block;
height: 2px;
background: var(--ink-2);
border-radius: 2px;
}
.brand {
display: flex;
align-items: center;
gap: 9px;
font-weight: 800;
font-size: 16px;
letter-spacing: -0.02em;
color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 18px; }
.brand-dim { color: var(--muted); font-weight: 600; }
.topbar-search {
display: flex;
align-items: center;
gap: 8px;
flex: 1;
max-width: 460px;
margin: 0 auto;
padding: 0 12px;
height: 38px;
background: var(--bg-2);
border: 1px solid var(--line);
border-radius: 999px;
}
.topbar-search:focus-within { border-color: var(--line-2); background: #fff; }
.topbar-search .search-ico { color: var(--muted); font-size: 17px; }
.topbar-search input {
flex: 1;
border: none;
background: transparent;
font: inherit;
font-size: 14px;
color: var(--ink);
outline: none;
}
.topbar-search input::placeholder { color: var(--muted); }
.topbar-links { display: flex; gap: 4px; }
.topbar-links a {
padding: 6px 11px;
border-radius: var(--r-sm);
color: var(--ink-2);
font-size: 14px;
font-weight: 500;
}
.topbar-links a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
kbd {
font-family: var(--mono);
font-size: 11px;
line-height: 1;
padding: 4px 6px;
background: var(--kbd-bg);
border: 1px solid var(--line-2);
border-bottom-width: 2px;
border-radius: 5px;
color: var(--ink-2);
}
/* ===================== LAYOUT ===================== */
.layout {
display: grid;
grid-template-columns: var(--sidebar-w) 1fr;
align-items: start;
max-width: 1180px;
margin: 0 auto;
}
/* ===================== SIDEBAR ===================== */
.sidebar {
position: sticky;
top: var(--topbar-h);
align-self: start;
height: calc(100vh - var(--topbar-h));
overflow-y: auto;
padding: 22px 16px 40px;
border-right: 1px solid var(--line);
}
.sidebar-section { margin-bottom: 22px; }
.sidebar-title {
margin: 0 0 8px;
padding: 0 8px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li a {
display: block;
padding: 6px 10px;
border-radius: var(--r-sm);
color: var(--ink-2);
font-size: 13.5px;
line-height: 1.4;
}
.sidebar li a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.sidebar li a.active {
background: rgba(37, 99, 235, 0.08);
color: var(--link);
font-weight: 600;
box-shadow: inset 2px 0 0 var(--accent);
}
.scrim {
position: fixed;
inset: 0;
z-index: 30;
background: rgba(15, 15, 25, 0.36);
}
/* ===================== CONTENT ===================== */
.content {
padding: 30px 40px 80px;
min-width: 0;
}
.article { max-width: 1100px; }
.breadcrumb {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 7px;
font-size: 13px;
color: var(--muted);
margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span[aria-current] { color: var(--ink-2); font-weight: 500; }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 6px; }
.article-head h1 {
margin: 0;
font-size: 34px;
font-weight: 700;
letter-spacing: -0.025em;
font-family: var(--serif);
display: flex;
align-items: center;
gap: 8px;
}
.permalink {
border: none;
background: transparent;
color: var(--line-2);
font-size: 20px;
cursor: pointer;
padding: 2px 6px;
border-radius: var(--r-sm);
transition: color 0.15s ease, background 0.15s ease;
}
.permalink:hover { color: var(--link); background: var(--bg-2); }
.permalink.copied { color: var(--tip); }
.article-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
/* ===================== INFOBOX ===================== */
.infobox {
float: right;
width: 300px;
margin: 8px 0 22px 28px;
background: var(--panel);
border: 1px solid var(--line-2);
border-radius: var(--r-lg);
box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 4px 18px rgba(20, 20, 30, 0.05);
overflow: hidden;
font-size: 13.5px;
}
.ib-head {
text-align: center;
padding: 14px 16px 12px;
background: linear-gradient(180deg, var(--bg-2), #fff);
border-bottom: 1px solid var(--line);
}
.ib-title {
margin: 0;
font-size: 17px;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--ink);
}
.ib-subtitle { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.ib-figure { margin: 0; padding: 16px 16px 12px; text-align: center; }
.ib-emblem {
position: relative;
width: 120px;
height: 120px;
margin: 0 auto 8px;
border-radius: 50%;
background: radial-gradient(circle at 50% 38%, #eef3ff, #dbe6ff 60%, #c8d6f7);
border: 1px solid var(--line);
overflow: hidden;
}
.emblem-arc {
position: absolute;
left: 50%;
border-radius: 50%;
border: 3px solid transparent;
transform: translateX(-50%);
}
.emblem-arc.a1 { width: 96px; height: 96px; top: 12px; border-top-color: #2563eb; border-right-color: #2563eb; transform: translateX(-50%) rotate(35deg); }
.emblem-arc.a2 { width: 70px; height: 70px; top: 25px; border-top-color: #7c3aed; border-left-color: #7c3aed; transform: translateX(-50%) rotate(-20deg); }
.emblem-arc.a3 { width: 44px; height: 44px; top: 38px; border-bottom-color: #0ea5e9; border-right-color: #0ea5e9; transform: translateX(-50%) rotate(60deg); }
.emblem-core {
position: absolute;
top: 50%;
left: 50%;
width: 18px;
height: 18px;
border-radius: 50%;
transform: translate(-50%, -50%);
background: radial-gradient(circle at 40% 35%, #fff, #2563eb 80%);
box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}
.ib-figure figcaption { font-size: 11px; color: var(--muted); line-height: 1.45; }
/* infobox sections */
.ib-section { border-top: 1px solid var(--line); }
.ib-section-head {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 9px 14px;
background: var(--bg-2);
border: none;
font: inherit;
font-weight: 700;
font-size: 12px;
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--ink-2);
cursor: pointer;
text-align: left;
}
.ib-section-head:hover { background: #eef0f4; }
.ib-caret {
font-size: 10px;
color: var(--muted);
transition: transform 0.18s ease;
}
.ib-section-head[aria-expanded="true"] .ib-caret { transform: rotate(90deg); }
.ib-rows {
overflow: hidden;
transition: max-height 0.24s ease, opacity 0.2s ease;
}
.ib-section.collapsed .ib-rows { max-height: 0 !important; opacity: 0; }
.ib-row {
display: grid;
grid-template-columns: 96px 1fr;
gap: 10px;
padding: 8px 14px;
border-bottom: 1px solid var(--line);
align-items: baseline;
}
.ib-row:last-of-type { border-bottom: none; }
.ib-label {
font-weight: 600;
font-size: 12px;
color: var(--muted);
line-height: 1.4;
}
.ib-value { color: var(--ink); line-height: 1.45; }
.ib-value a { font-weight: 500; }
.ib-meta { color: var(--muted); font-size: 12px; }
sup.fn { font-size: 10px; line-height: 0; }
sup.fn a { color: var(--link); font-weight: 600; }
.ib-extra { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ib-more {
display: block;
width: calc(100% - 28px);
margin: 8px 14px 10px;
padding: 7px;
background: #fff;
border: 1px dashed var(--line-2);
border-radius: var(--r-sm);
font: inherit;
font-size: 12px;
font-weight: 600;
color: var(--link);
cursor: pointer;
}
.ib-more:hover { background: var(--bg-2); border-style: solid; }
.ib-extlinks {
display: flex;
flex-wrap: wrap;
gap: 6px;
padding: 10px 14px 12px;
}
.ib-ext {
font-size: 12px;
font-weight: 600;
padding: 4px 9px;
background: rgba(37, 99, 235, 0.07);
border-radius: 999px;
}
.ib-ext:hover { background: rgba(37, 99, 235, 0.14); text-decoration: none; }
/* ===================== PROSE ===================== */
.prose {
font-family: var(--serif);
font-size: 17px;
line-height: 1.65;
color: var(--ink);
}
.prose p { margin: 0 0 16px; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose h2 {
font-family: var(--serif);
font-size: 23px;
font-weight: 700;
letter-spacing: -0.015em;
margin: 32px 0 12px;
padding-bottom: 6px;
border-bottom: 1px solid var(--line);
scroll-margin-top: calc(var(--topbar-h) + 10px);
}
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 5px 0; }
.prose code {
font-family: var(--mono);
font-size: 0.86em;
background: var(--code-bg);
padding: 2px 6px;
border-radius: var(--r-sm);
border: 1px solid var(--line);
}
.prose pre {
font-family: var(--mono);
background: var(--code-bg);
border: 1px solid var(--line);
border-radius: var(--r-md);
padding: 14px 16px;
overflow-x: auto;
margin: 0 0 18px;
font-size: 13.5px;
line-height: 1.6;
}
.prose pre code { background: none; border: none; padding: 0; font-size: inherit; }
.prose blockquote {
margin: 0 0 18px;
padding: 4px 18px;
border-left: 3px solid var(--accent);
background: var(--bg-2);
border-radius: 0 var(--r-sm) var(--r-sm) 0;
color: var(--ink-2);
}
.prose blockquote p { margin: 10px 0; font-size: 16px; }
.references {
font-family: var(--sans);
font-size: 13.5px;
color: var(--ink-2);
line-height: 1.6;
}
.references li { margin: 6px 0; scroll-margin-top: calc(var(--topbar-h) + 10px); }
.references li:target { background: rgba(37, 99, 235, 0.10); border-radius: var(--r-sm); padding: 2px 6px; }
.prose .references em { font-style: italic; }
/* ===================== TOAST ===================== */
.toast {
position: fixed;
left: 50%;
bottom: 26px;
transform: translate(-50%, 16px);
background: var(--ink);
color: #fff;
padding: 10px 18px;
border-radius: 999px;
font-size: 13.5px;
font-weight: 500;
box-shadow: 0 8px 26px rgba(20, 20, 30, 0.28);
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease, transform 0.2s ease;
z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ===================== RESPONSIVE ===================== */
@media (max-width: 820px) {
.topbar-links { display: none; }
.nav-toggle { display: flex; }
.layout { grid-template-columns: 1fr; }
.sidebar {
position: fixed;
top: var(--topbar-h);
left: 0;
z-index: 35;
width: min(80vw, 300px);
height: calc(100vh - var(--topbar-h));
background: var(--panel);
transform: translateX(-100%);
transition: transform 0.22s ease;
}
.sidebar.open { transform: translateX(0); box-shadow: 8px 0 28px rgba(20, 20, 30, 0.16); }
.content { padding: 24px 22px 70px; }
.infobox { width: 280px; margin-left: 20px; }
}
@media (max-width: 520px) {
.topbar-search { display: none; }
.infobox {
float: none;
width: 100%;
margin: 0 0 22px;
}
.article-head h1 { font-size: 27px; }
.prose { font-size: 16px; }
.content { padding: 20px 16px 60px; }
.ib-row { grid-template-columns: 88px 1fr; }
}(function () {
"use strict";
/* ---------- toast helper ---------- */
var toastEl = document.getElementById("toast");
var toastTimer = null;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 2200);
}
/* ---------- collapsible infobox sections ---------- */
var sections = document.querySelectorAll("[data-section]");
sections.forEach(function (section) {
var head = section.querySelector(".ib-section-head");
var rows = section.querySelector(".ib-rows");
if (!head || !rows) return;
// establish a measurable max-height for smooth transitions
function setOpenHeight() {
if (!section.classList.contains("collapsed")) {
rows.style.maxHeight = rows.scrollHeight + "px";
}
}
setOpenHeight();
head.addEventListener("click", function () {
var collapsed = section.classList.toggle("collapsed");
head.setAttribute("aria-expanded", String(!collapsed));
if (collapsed) {
rows.style.maxHeight = rows.scrollHeight + "px";
// force reflow then collapse
void rows.offsetHeight;
rows.style.maxHeight = "0px";
} else {
rows.style.maxHeight = rows.scrollHeight + "px";
}
});
// after content/height changes (e.g. show-more), recalc open height
section._recalc = setOpenHeight;
});
/* ---------- show more / fewer fields ---------- */
var moreBtn = document.getElementById("moreBtn");
if (moreBtn) {
var extras = Array.prototype.slice.call(document.querySelectorAll(".ib-extra"));
var hiddenCount = extras.length;
moreBtn.addEventListener("click", function () {
var expanded = moreBtn.getAttribute("aria-expanded") === "true";
extras.forEach(function (row) {
row.hidden = expanded; // if currently expanded -> hide again
});
moreBtn.setAttribute("aria-expanded", String(!expanded));
moreBtn.textContent = expanded
? "Show " + hiddenCount + " more fields"
: "Show fewer fields";
// recalc the height of the parent section so the transition stays correct
var parent = moreBtn.closest("[data-section]");
if (parent && parent._recalc) parent._recalc();
});
}
/* ---------- copy permalink on title ---------- */
var permalinkBtn = document.getElementById("permalinkBtn");
if (permalinkBtn) {
permalinkBtn.addEventListener("click", function () {
var base = location.href.split("#")[0];
var url = base + "#title-heading";
var done = function () {
permalinkBtn.classList.add("copied");
toast("Permalink copied to clipboard");
setTimeout(function () {
permalinkBtn.classList.remove("copied");
}, 1400);
};
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(url).then(done, function () {
fallbackCopy(url, done);
});
} else {
fallbackCopy(url, done);
}
});
}
function fallbackCopy(text, cb) {
var ta = document.createElement("textarea");
ta.value = text;
ta.setAttribute("readonly", "");
ta.style.position = "absolute";
ta.style.left = "-9999px";
document.body.appendChild(ta);
ta.select();
try {
document.execCommand("copy");
if (cb) cb();
} catch (e) {
toast("Could not copy permalink");
}
document.body.removeChild(ta);
}
/* ---------- mobile sidebar drawer ---------- */
var navToggle = document.getElementById("navToggle");
var sidebar = document.getElementById("sidebar");
var scrim = document.getElementById("scrim");
function closeNav() {
if (!sidebar) return;
sidebar.classList.remove("open");
if (navToggle) navToggle.setAttribute("aria-expanded", "false");
if (scrim) scrim.hidden = true;
}
function openNav() {
if (!sidebar) return;
sidebar.classList.add("open");
if (navToggle) navToggle.setAttribute("aria-expanded", "true");
if (scrim) scrim.hidden = false;
}
if (navToggle) {
navToggle.addEventListener("click", function () {
if (sidebar.classList.contains("open")) closeNav();
else openNav();
});
}
if (scrim) scrim.addEventListener("click", closeNav);
if (sidebar) {
sidebar.addEventListener("click", function (e) {
if (e.target.tagName === "A" && window.matchMedia("(max-width: 820px)").matches) {
closeNav();
}
});
}
document.addEventListener("keydown", function (e) {
if (e.key === "Escape") closeNav();
});
/* ---------- "/" focuses search ---------- */
var searchInput = document.querySelector(".topbar-search input");
document.addEventListener("keydown", function (e) {
if (e.key === "/" && document.activeElement !== searchInput) {
var tag = (document.activeElement && document.activeElement.tagName) || "";
if (tag !== "INPUT" && tag !== "TEXTAREA") {
e.preventDefault();
if (searchInput) searchInput.focus();
}
}
});
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Aurora DB — Knowledge Base</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=Inter:wght@400;500;600;700;800&family=Source+Serif+4:opsz,[email protected],400;8..60,500;8..60,600;8..60,700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a class="skip-link" href="#article">Skip to content</a>
<header class="topbar">
<button class="nav-toggle" id="navToggle" aria-label="Toggle navigation" aria-expanded="false" aria-controls="sidebar">
<span></span><span></span><span></span>
</button>
<a class="brand" href="#article">
<span class="brand-mark" aria-hidden="true">◈</span>
<span class="brand-name">Nimbus<span class="brand-dim">Wiki</span></span>
</a>
<div class="topbar-search" role="search">
<span class="search-ico" aria-hidden="true">⌕</span>
<input type="search" placeholder="Search the knowledge base…" aria-label="Search" />
<kbd>/</kbd>
</div>
<nav class="topbar-links" aria-label="Utility">
<a href="#article">Article</a>
<a href="#talk">Talk</a>
<a href="#history">History</a>
</nav>
</header>
<div class="layout">
<nav class="sidebar" id="sidebar" aria-label="Knowledge base navigation">
<div class="sidebar-section">
<p class="sidebar-title">Databases</p>
<ul>
<li><a href="#article" class="active" aria-current="page">Aurora DB</a></li>
<li><a href="#article">Verdant Store</a></li>
<li><a href="#article">Project Nimbus</a></li>
<li><a href="#article">Helios Cache</a></li>
</ul>
</div>
<div class="sidebar-section">
<p class="sidebar-title">Concepts</p>
<ul>
<li><a href="#article">Consensus protocols</a></li>
<li><a href="#article">Write-ahead logging</a></li>
<li><a href="#article">MVCC isolation</a></li>
<li><a href="#article">Sharding strategies</a></li>
</ul>
</div>
<div class="sidebar-section">
<p class="sidebar-title">Reference</p>
<ul>
<li><a href="#article">Glossary</a></li>
<li><a href="#article">Release timeline</a></li>
<li><a href="#article">Contributors</a></li>
</ul>
</div>
</nav>
<div class="scrim" id="scrim" hidden></div>
<main class="content" id="article">
<article class="article">
<nav class="breadcrumb" aria-label="Breadcrumb">
<a href="#">Home</a><span aria-hidden="true">/</span>
<a href="#">Databases</a><span aria-hidden="true">/</span>
<span aria-current="page">Aurora DB</span>
</nav>
<header class="article-head">
<h1 id="title-heading">
Aurora DB
<button class="permalink" id="permalinkBtn" type="button" aria-label="Copy permalink to this article" title="Copy permalink">¶</button>
</h1>
<p class="article-sub">Distributed relational database engine</p>
</header>
<!-- ============ INFOBOX ============ -->
<aside class="infobox" id="infobox" aria-labelledby="infobox-title">
<header class="ib-head">
<h2 class="ib-title" id="infobox-title">Aurora DB</h2>
<p class="ib-subtitle">Distributed SQL engine</p>
</header>
<figure class="ib-figure">
<div class="ib-emblem" role="img" aria-label="Stylised Aurora DB emblem: layered concentric arcs">
<span class="emblem-arc a1"></span>
<span class="emblem-arc a2"></span>
<span class="emblem-arc a3"></span>
<span class="emblem-core"></span>
</div>
<figcaption>Official emblem of the Aurora project (v3 brand refresh, fictional).</figcaption>
</figure>
<!-- Section: Overview -->
<section class="ib-section" data-section>
<button class="ib-section-head" type="button" aria-expanded="true">
<span class="ib-caret" aria-hidden="true">▸</span>
<span>Overview</span>
</button>
<div class="ib-rows">
<div class="ib-row">
<span class="ib-label">Developer</span>
<span class="ib-value"><a href="#">Nimbus Data Labs</a></span>
</div>
<div class="ib-row">
<span class="ib-label">Type</span>
<span class="ib-value">Distributed RDBMS</span>
</div>
<div class="ib-row">
<span class="ib-label">Initial release</span>
<span class="ib-value">14 Mar 2019 <sup class="fn"><a href="#fn1" id="ref1">[1]</a></sup></span>
</div>
<div class="ib-row">
<span class="ib-label">Stable release</span>
<span class="ib-value">3.8.2 <span class="ib-meta">/ 22 May 2026</span></span>
</div>
<div class="ib-row">
<span class="ib-label">License</span>
<span class="ib-value"><a href="#">Apache 2.0</a></span>
</div>
</div>
</section>
<!-- Section: Details -->
<section class="ib-section" data-section>
<button class="ib-section-head" type="button" aria-expanded="true">
<span class="ib-caret" aria-hidden="true">▸</span>
<span>Technical details</span>
</button>
<div class="ib-rows">
<div class="ib-row">
<span class="ib-label">Written in</span>
<span class="ib-value">Rust, C++</span>
</div>
<div class="ib-row">
<span class="ib-label">Engine</span>
<span class="ib-value">Aurora-LSM <sup class="fn"><a href="#fn2" id="ref2">[2]</a></sup></span>
</div>
<div class="ib-row">
<span class="ib-label">Replication</span>
<span class="ib-value">Raft consensus</span>
</div>
<div class="ib-row">
<span class="ib-label">Isolation</span>
<span class="ib-value">Snapshot (MVCC)</span>
</div>
<!-- extra fields, hidden by default -->
<div class="ib-row ib-extra" hidden>
<span class="ib-label">Query language</span>
<span class="ib-value">AuroraSQL (ANSI‑compatible)</span>
</div>
<div class="ib-row ib-extra" hidden>
<span class="ib-label">Storage format</span>
<span class="ib-value">Columnar + row hybrid</span>
</div>
<div class="ib-row ib-extra" hidden>
<span class="ib-label">Max cluster</span>
<span class="ib-value">512 nodes <span class="ib-meta">(tested)</span></span>
</div>
<div class="ib-row ib-extra" hidden>
<span class="ib-label">Platforms</span>
<span class="ib-value">Linux, macOS, BSD</span>
</div>
<button class="ib-more" type="button" id="moreBtn" aria-expanded="false">Show 4 more fields</button>
</div>
</section>
<!-- Section: Links -->
<section class="ib-section" data-section>
<button class="ib-section-head" type="button" aria-expanded="true">
<span class="ib-caret" aria-hidden="true">▸</span>
<span>Links</span>
</button>
<div class="ib-rows">
<div class="ib-row">
<span class="ib-label">Website</span>
<span class="ib-value"><a href="#">aurora.nimbus.dev</a></span>
</div>
<div class="ib-row">
<span class="ib-label">Repository</span>
<span class="ib-value"><a href="#">git.nimbus.dev/aurora</a></span>
</div>
<div class="ib-extlinks">
<a class="ib-ext" href="#">Docs ↗</a>
<a class="ib-ext" href="#">Forum ↗</a>
<a class="ib-ext" href="#">Status ↗</a>
</div>
</div>
</section>
</aside>
<!-- ========== /INFOBOX ========== -->
<div class="prose">
<p><strong>Aurora DB</strong> is a fictional distributed relational database engine
developed by <a href="#">Nimbus Data Labs</a>. Designed for horizontally scalable
online transaction processing, Aurora combines a log-structured storage layer with
<a href="#">Raft</a>-based replication to provide strong consistency across
geographically distributed clusters.<sup class="fn"><a href="#fn1">[1]</a></sup></p>
<p>First released in 2019, Aurora gained adoption among teams seeking
PostgreSQL-compatible semantics without sacrificing multi-region durability. Its
query layer speaks <em>AuroraSQL</em>, an ANSI-compatible dialect, while the engine
beneath uses a hybrid columnar/row store to accelerate both analytical scans and
point lookups.</p>
<h2 id="architecture">Architecture</h2>
<p>An Aurora cluster is composed of stateless <em>coordinator</em> nodes and stateful
<em>storage</em> nodes. Coordinators parse and plan queries, then route reads and
writes to the appropriate shard groups. Each shard group elects a leader via the
Raft protocol; writes are committed once a quorum of replicas has acknowledged the
write-ahead log entry.</p>
<pre><code>-- Create a sharded table in Aurora DB
CREATE TABLE orders (
id BIGINT PRIMARY KEY,
region TEXT NOT NULL,
total NUMERIC(12,2)
) SHARD BY HASH(region) REPLICAS 3;</code></pre>
<blockquote>
<p>“Aurora's snapshot isolation makes correctness reasoning far simpler than the
ad-hoc locking we replaced.” — fictional adopter case study</p>
</blockquote>
<h2 id="features">Features</h2>
<ul>
<li>Synchronous quorum replication with automatic failover</li>
<li>Online schema changes without table locks</li>
<li>Point-in-time recovery from the continuous WAL archive</li>
<li>Built-in <code>EXPLAIN ANALYZE</code> with per-shard cost breakdown</li>
</ul>
<h2 id="references">References</h2>
<ol class="references">
<li id="fn1">Nimbus Data Labs (2019). <em>Aurora DB Release Notes 1.0</em>. <a href="#ref1">↩</a></li>
<li id="fn2">“The Aurora-LSM storage engine”, <em>Nimbus Engineering Blog</em>, 2021. <a href="#ref2">↩</a></li>
</ol>
</div>
</article>
</main>
</div>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>Infobox / Fact Sidebar Card
A Wikipedia-style infobox that floats to the right of an encyclopedic article and condenses
its key facts into a single scannable card. The card opens with a centered title header and a
CSS-drawn circular emblem, then lists label/value rows split into three labelled sections —
Overview, Technical details, and Links — each separated by hairline dividers. Values
use the standard link-blue treatment, with small superscript footnote markers ([1], [2]) that
jump to the references list at the foot of the article.
Every section header is a button: click it to collapse or expand that group of rows, with a smooth height transition and a rotating caret. The Technical details section hides four extra fields behind a Show more fields expander that toggles to Show fewer. The article title carries a paragraph-mark permalink button that copies a deep link to the clipboard and flashes a toast on success. On narrow screens the persistent left sidebar collapses into a drawer, the infobox drops to full width below the heading, and pressing / focuses the search box.
Illustrative UI only — fictional articles, products, and data.