Avriea.css
The wiki in the clothes of auriea.art — "stylesheet": "Avriea.css" in config.json, with "nav": "rail" so the navigation runs up the left side instead of along the top. White ground, one typeface (Michelangelus), small-caps labels, no colour of its own; the four grounds of the site — white, terracotta, lapis, dark — are chosen with the dots under the mark and remembered per visitor. The tokens below are copied from the site's css/AVRIEA.css, so a change there should be made here too. Edit this page and the whole wiki changes the moment it is saved.
/* Avriea — auriea.org dressed like auriea.art. Layered over the base
skin: the rail, the type, the four grounds. */
@font-face {
font-family: Michelangelus;
src: url("/static/Michelangelus-Regular.ttf") format("truetype");
font-display: swap;
}
/* ------------------------------------------------------------ grounds --
--bg/--ink/--quiet/--hair/--link are the base skin's names; --body,
--faint and --line are the site's extra steps. */
:root, :root[data-ground="white"] {
--bg: #ffffff;
--ink: #111111;
--body: #2a2624;
--quiet: #6b6461;
--faint: #8a8380;
--hair: #ece8e6; /* rules that may vanish */
--line: #cfc8c4; /* hairlines that must show */
--link: #111111;
--missing: #b0483a;
--accent: #6b6461;
color-scheme: light;
}
:root[data-ground="terra"] {
--bg: #ad5236;
--ink: #fbf3e6;
--body: #f3e6d4;
--quiet: #e8d8c8;
--faint: #dfcab8;
--hair: #9c4930;
--line: #d9a68c;
--link: #fbf3e6;
--missing: #ffd9c4;
--accent: #e8d8c8;
color-scheme: light;
}
/* lapis: the ultramarine of Giotto's Scrovegni ceiling, gold-leaf headings, bone text */
:root[data-ground="lapis"] {
--bg: #1f3d80;
--ink: #ecc977;
--body: #ece3cf;
--quiet: #c3c8d8;
--faint: #a8b0cb;
--hair: #19336c;
--line: #5d70a8;
--link: #ecc977;
--missing: #e0a890;
--accent: #c3c8d8;
color-scheme: dark;
}
:root[data-ground="dark"] {
--bg: #121110;
--ink: #ece8e6;
--body: #d4cdc8;
--quiet: #a39b97;
--faint: #827b77;
--hair: #262321;
--line: #4a4542;
--link: #ece8e6;
--missing: #c98a7a;
--accent: #a39b97;
color-scheme: dark;
}
/* the mark is black letters on transparency: a filter turns them cream,
gold, or white on the coloured grounds (no blend mode — a sticky rail
has no backdrop to blend with) */
:root[data-ground="terra"] nav .mark { filter: invert(1) sepia(0.25); }
:root[data-ground="lapis"] nav .mark { filter: invert(1) sepia(1) saturate(1.8) brightness(0.95); }
:root[data-ground="dark"] nav .mark { filter: invert(1); }
.grounds button::before { box-shadow: 0 0 0 1px var(--line); }
/* ------------------------------------------------------------- the page -- */
/* text size: the A buttons in the rail set --ts (1 … 1.75) on <html>; the
reading column's sizes carry it, the rail and the footer don't */
html { font-size: calc(16px * var(--ts, 1)); }
body {
font: calc(17px * var(--ts, 1))/1.6 Michelangelus, Georgia, serif;
-webkit-font-smoothing: antialiased;
display: grid;
grid-template-columns: 240px minmax(0, 1fr);
grid-template-rows: 1fr auto;
min-height: 100vh;
min-height: 100dvh;
}
::selection { background: color-mix(in srgb, var(--ink) 18%, transparent); }
/* small-caps labels, used everywhere: nav, category, footer */
nav, p.category, footer, .label {
font-family: Michelangelus, Georgia, serif;
font-size: 12px;
letter-spacing: 2.5px;
text-transform: uppercase;
}
/* ---------------------------------------------------------------- the rail -- */
nav {
grid-column: 1;
grid-row: 1 / -1;
position: sticky;
top: 0;
align-self: start;
max-height: 100vh;
max-height: 100dvh;
overflow-y: auto;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 14px;
padding: 32px 32px 40px 32px;
padding-left: calc(32px + env(safe-area-inset-left));
border: none;
}
nav a { color: var(--quiet); padding: 0; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); }
/* the brand: the mark, under it the two names stacked */
nav .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
nav .names { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
nav .site { color: var(--ink); font-weight: normal; font-size: 13px; letter-spacing: 2.5px; }
nav .mark { height: 48px; width: auto; }
nav .sibling { font-size: 13px; color: var(--faint); }
nav .controls { margin: -8px 0 26px -8px; }
nav .textsize { margin-left: 6px; }
nav .textsize button { color: var(--faint); }
nav .textsize button:hover { color: var(--ink); }
nav form.searchform { margin: 0 0 26px; width: 100%; }
nav .search-toggle { display: none; }
nav form.searchform input, nav form.searchform.open input {
width: 100%;
opacity: 1;
padding: 6px 0;
border-bottom: 1px solid var(--line);
font-family: Michelangelus, Georgia, serif;
font-size: 15px;
letter-spacing: 0;
text-transform: none;
}
nav form.searchform input::placeholder { color: var(--faint); }
nav form.searchform input:focus { border-color: var(--ink); }
/* a group ("categories:") stands open as an indented list */
nav details.navdrop { position: static; }
nav details.navdrop summary { color: var(--faint); cursor: default; }
nav details.navdrop summary::after { content: none; }
nav details.navdrop[open] summary { color: var(--faint); }
nav details.navdrop .navdrop-menu {
position: static;
margin: 12px 0 0 0;
padding: 0 0 0 16px;
gap: 12px;
min-width: 0;
background: none;
border: none;
border-left: 1px solid var(--hair);
border-radius: 0;
box-shadow: none;
}
nav details.navdrop .navdrop-menu a { padding: 0; }
nav details.navdrop .navdrop-menu a:hover { background: none; color: var(--ink); }
/* ------------------------------------------------------- the reading column -- */
main {
grid-column: 2;
grid-row: 1;
max-width: none;
width: 100%;
margin: 0;
padding: 40px 48px 80px 56px;
padding-right: calc(48px + env(safe-area-inset-right));
color: var(--body);
}
/* the measure: the title, the text, and everything else in the page */
main > * { max-width: 680px; }
main > .wall, main > .calendar, main > .index, main > table.listing,
main > .listing, main > .gallery, main > .rows { max-width: none; }
p.category { margin: 0 0 24px; font-size: calc(12px * var(--ts, 1)); }
p.category a.wikilink { color: var(--quiet); border: none; }
p.category a.wikilink:hover { color: var(--ink); }
p.category + h1.pagetitle { margin-top: 0; }
h1.pagetitle { font-weight: normal; font-size: calc(30px * var(--ts, 1)); line-height: 1.2; margin: 0 0 24px; color: var(--ink); }
h1, h2, h3, h4 { font-weight: normal; color: var(--ink); }
h2 { font-size: calc(22px * var(--ts, 1)); margin: 32px 0 12px; }
h3 { font-size: calc(18px * var(--ts, 1)); margin: 24px 0 8px; }
h4 { font-size: calc(12px * var(--ts, 1)); letter-spacing: 2.5px; text-transform: uppercase; color: var(--quiet); margin: 24px 0 8px; }
p { margin: 0 0 18px; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a.wikilink { text-decoration: none; border-bottom: 1px solid var(--line); }
a.wikilink:hover { border-color: var(--ink); }
a.wikilink.missing { color: var(--missing); border-color: var(--missing); border-bottom-style: dashed; }
hr { border: none; border-top: 1px solid var(--hair); margin: 40px 0; }
blockquote { margin: 24px 0 24px 24px; padding-left: 24px; border-left: 1px solid var(--line); color: var(--quiet); }
img { border-radius: 0; }
.thumb img, main img { display: block; }
figcaption, .thumb .cap { font-size: calc(14px * var(--ts, 1)); line-height: 1.3; color: var(--quiet); }
pre, code, tt { color: var(--body); }
pre { border-color: var(--hair); }
table.user td { border-color: var(--hair); }
.tag { color: var(--quiet); text-decoration: none; }
.tag:hover { color: var(--ink); }
ol.footnotes { border-color: var(--hair); color: var(--quiet); }
/* -------------------------------------------------------------- the foot -- */
footer {
grid-column: 2;
grid-row: 2;
max-width: none;
margin: 0;
padding: 24px 48px 48px 56px;
padding-bottom: calc(48px + env(safe-area-inset-bottom));
border-top: 1px solid var(--hair);
flex-wrap: wrap;
gap: 12px 24px;
font-size: 11px;
letter-spacing: 1.6px;
color: var(--faint);
}
footer .quiet { color: var(--faint); }
footer a { color: var(--faint); text-decoration: none; margin: 0 0 0 24px; }
footer a:hover { color: var(--ink); }
footer .actions a:first-child { margin-left: 0; }
.quiet { color: var(--quiet); }
/* ----------------------------------------------------- editor, forms, buttons -- */
.editform button, .editbar button, .loginform button, .uploadform button {
background: var(--ink); color: var(--bg); font-family: Michelangelus, Georgia, serif;
}
.editbar { font-family: Michelangelus, Georgia, serif; font-size: 14px; }
.editbar input:focus, .editform input[name=summary]:focus { border-color: var(--ink); }
h1.pagetitle.editing { border-bottom-color: var(--line); }
.editor-host .cm-editor .cm-content { font-family: Michelangelus, Georgia, serif; line-height: 1.6; }
.editor-host .cm-editor .cm-selectionBackground,
.editor-host .cm-editor.cm-focused .cm-selectionBackground { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pastbanner { border-color: var(--line); font-family: Michelangelus, Georgia, serif; }
#lightbox { background: color-mix(in srgb, var(--bg) 94%, transparent); }
#lightbox figcaption { font-family: Michelangelus, Georgia, serif; }
/* --------------------------------------------------------- the small screen --
the rail folds into a bar across the top: mark and dots on one line, the
search under them, the links wrapping in rows */
@media (max-width: 760px) {
body { display: block; }
nav {
position: static;
max-height: none;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
gap: 12px 24px;
padding: 20px 20px 24px;
padding-left: calc(20px + env(safe-area-inset-left));
padding-right: calc(20px + env(safe-area-inset-right));
border-bottom: 1px solid var(--hair);
}
/* the mark on the left, the two names stacked beside it */
nav .brand { flex-direction: row; align-items: center; gap: 12px; }
nav .names { gap: 2px; }
nav .mark { height: 36px; }
nav .controls { margin: 0 0 0 auto; }
nav form.searchform { flex: 1 1 100%; margin: 0; }
nav details.navdrop { flex: 1 1 100%; }
nav details.navdrop .navdrop-menu { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }
main { padding: 32px 20px 64px; padding-left: calc(20px + env(safe-area-inset-left)); padding-right: calc(20px + env(safe-area-inset-right)); }
footer { padding: 20px 20px 32px; flex-direction: column; }
h1.pagetitle { font-size: calc(28px * var(--ts, 1)); }
}