Molodetz blogrol volgens DPP-template
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.admin-layout { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--space-xl); }
|
||||
|
||||
.admin-nav { display: grid; gap: var(--space-xs); align-content: start; font-family: var(--font-sans); font-size: var(--text-sm); }
|
||||
.admin-nav a { text-decoration: none; color: var(--muted); padding: var(--space-xs) 0; border-bottom: var(--border); }
|
||||
.admin-nav a.active, .admin-nav a:hover { color: var(--ink); }
|
||||
|
||||
.admin-main { min-width: 0; }
|
||||
.admin-main h1 { font-weight: 500; font-size: var(--text-xl); margin: 0 0 var(--space-lg); }
|
||||
|
||||
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--space-md); margin-bottom: var(--space-xl); }
|
||||
.stat-card { border: var(--border); padding: var(--space-md); display: grid; gap: var(--space-xs); }
|
||||
.stat-card .value { font-size: var(--text-xl); }
|
||||
.stat-card .name { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
|
||||
.admin-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: var(--text-sm); }
|
||||
.admin-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; border-bottom: var(--border-strong); padding: var(--space-sm); }
|
||||
.admin-table td { border-bottom: var(--border); padding: var(--space-sm); vertical-align: top; overflow-wrap: anywhere; }
|
||||
.table-wrap { overflow-x: auto; }
|
||||
|
||||
.status { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
.status.running, .status.done, .status.published, .status.accepted { color: var(--success); }
|
||||
.status.stalled, .status.failed, .status.declined { color: var(--danger); }
|
||||
.status.stopped, .status.draft, .status.pending, .status.open { color: var(--warning); }
|
||||
|
||||
.log-tail { background: var(--bg-sunken); border: var(--border); padding: var(--space-md); font-family: var(--font-mono); font-size: var(--text-xs); max-height: 24rem; overflow: auto; white-space: pre-wrap; }
|
||||
|
||||
.tabs { display: flex; gap: var(--space-lg); border-bottom: var(--border); margin-bottom: var(--space-lg); font-family: var(--font-sans); font-size: var(--text-sm); }
|
||||
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; padding: var(--space-sm) 0; cursor: pointer; border-bottom: 1px solid transparent; }
|
||||
.tabs button.active { color: var(--ink); border-bottom-color: var(--accent); }
|
||||
|
||||
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
|
||||
.editor textarea { min-height: 28rem; }
|
||||
.editor .preview { border: var(--border); padding: var(--space-md) var(--space-lg); min-height: 28rem; overflow: auto; }
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.editor { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.admin-layout { grid-template-columns: minmax(0, 1fr); }
|
||||
.admin-nav { grid-auto-flow: column; overflow-x: auto; }
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--font-serif);
|
||||
font-size: var(--text-base);
|
||||
line-height: var(--leading-body);
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
a { color: var(--ink); text-decoration-color: rgba(var(--accent-rgb), 0.6); text-underline-offset: 0.2em; }
|
||||
a:hover { color: var(--accent); }
|
||||
|
||||
img, video { max-width: 100%; height: auto; display: block; }
|
||||
|
||||
::selection { background: rgba(var(--accent-rgb), 0.35); color: var(--ink); }
|
||||
|
||||
.hidden, [hidden] { display: none !important; }
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-xs);
|
||||
letter-spacing: var(--tracking-label);
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.muted { color: var(--muted); }
|
||||
|
||||
time { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--muted); }
|
||||
|
||||
.response-time {
|
||||
position: fixed;
|
||||
right: var(--space-sm);
|
||||
bottom: var(--space-sm);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--faint);
|
||||
z-index: var(--z-floating-button);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
dp-toast {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: var(--space-xl);
|
||||
transform: translateX(-50%);
|
||||
z-index: var(--z-toast);
|
||||
display: grid;
|
||||
gap: var(--space-sm);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.toast {
|
||||
background: var(--bg-raised);
|
||||
border: var(--border-strong);
|
||||
color: var(--ink);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-sm);
|
||||
padding: var(--space-sm) var(--space-lg);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.modal-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(var(--shade-rgb), 0.7);
|
||||
z-index: var(--z-modal);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: var(--space-lg);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.modal-overlay.visible { display: flex; }
|
||||
|
||||
.modal {
|
||||
background: var(--bg);
|
||||
border: var(--border-strong);
|
||||
max-width: 32rem;
|
||||
width: 100%;
|
||||
padding: var(--space-lg);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.modal.wide { max-width: 56rem; }
|
||||
.modal header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-md); }
|
||||
.modal h2 { margin: 0; font-weight: 500; font-size: var(--text-lg); }
|
||||
.modal-close { background: none; border: 0; color: var(--muted); font-size: var(--text-lg); cursor: pointer; }
|
||||
|
||||
dp-dialog.modal-overlay { z-index: var(--z-dialog); }
|
||||
|
||||
dp-code { display: block; position: relative; }
|
||||
|
||||
.lightbox-close { position: absolute; top: var(--space-md); right: var(--space-md); color: var(--ink); }
|
||||
|
||||
dp-lightbox {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: var(--z-lightbox);
|
||||
background: rgba(var(--shade-rgb), 0.92);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: var(--space-xl);
|
||||
cursor: zoom-out;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
dp-lightbox.visible { display: flex; }
|
||||
dp-lightbox img { max-height: 90vh; max-width: 100%; border: var(--border-strong); }
|
||||
dp-lightbox .caption { position: absolute; bottom: var(--space-lg); left: 0; right: 0; text-align: center; color: var(--ink-soft); font-size: var(--text-base); }
|
||||
|
||||
dp-context-menu {
|
||||
position: fixed;
|
||||
z-index: var(--z-menu);
|
||||
background: var(--bg-raised);
|
||||
border: var(--border-strong);
|
||||
box-shadow: var(--shadow-soft);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-sm);
|
||||
min-width: 10rem;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
dp-context-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--ink); padding: var(--space-sm) var(--space-md); font: inherit; cursor: pointer; }
|
||||
dp-context-menu button:hover { background: rgba(var(--accent-rgb), 0.12); }
|
||||
|
||||
dp-upload { display: block; border: 1px dashed var(--rule-strong); padding: var(--space-lg); text-align: center; color: var(--muted); font-family: var(--font-sans); font-size: var(--text-sm); }
|
||||
dp-upload.dragging { border-color: var(--accent); color: var(--ink); }
|
||||
|
||||
dp-chat { display: grid; gap: var(--space-sm); border: var(--border); padding: var(--space-md); }
|
||||
dp-chat .chat-log { display: grid; gap: var(--space-sm); max-height: 20rem; overflow-y: auto; }
|
||||
dp-chat .chat-line { border-left: 2px solid var(--rule-strong); padding-left: var(--space-sm); }
|
||||
@@ -0,0 +1,128 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.hero { padding: var(--space-xl) 0 var(--space-lg); border-bottom: var(--border); margin-bottom: var(--space-xl); }
|
||||
|
||||
.hero h1 {
|
||||
font-size: var(--text-hero);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--tracking-hero);
|
||||
line-height: var(--leading-tight);
|
||||
margin: var(--space-sm) 0 var(--space-md);
|
||||
}
|
||||
|
||||
.hero .lead { font-size: var(--text-lg); color: var(--ink-soft); max-width: 30em; margin: 0; }
|
||||
.hero .lead em { color: var(--ink); font-style: italic; }
|
||||
|
||||
.section-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
gap: var(--space-md);
|
||||
margin: var(--space-xl) 0 var(--space-sm);
|
||||
}
|
||||
|
||||
.section-head a { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); text-decoration: none; letter-spacing: 0.08em; }
|
||||
|
||||
.post-card { border-top: var(--border); padding: var(--space-lg) 0; display: grid; gap: var(--space-xs); min-width: 0; }
|
||||
.post-card:last-child { border-bottom: var(--border); }
|
||||
.post-card h3, .post-card h2 { font-size: var(--text-xl); font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
|
||||
.post-card h3 a, .post-card h2 a { text-decoration: none; }
|
||||
.post-card p { color: var(--ink-soft); margin: 0; }
|
||||
|
||||
.post-meta { display: flex; gap: var(--space-md); align-items: baseline; flex-wrap: wrap; }
|
||||
|
||||
.tag-placeholder {
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-xs);
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
border: var(--border-strong);
|
||||
padding: 0 var(--space-sm);
|
||||
}
|
||||
|
||||
.tag-draft { color: var(--warning); border-color: rgba(var(--accent-rgb), 0.5); }
|
||||
|
||||
.article-header { margin-bottom: var(--space-xl); }
|
||||
.article-header h1 { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: var(--space-sm) 0; }
|
||||
|
||||
.byline { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-sans); font-size: var(--text-sm); color: var(--muted); }
|
||||
.byline a { color: var(--ink-soft); text-decoration: none; }
|
||||
|
||||
.prose { font-size: var(--text-lg); line-height: 1.65; overflow-wrap: anywhere; min-width: 0; }
|
||||
.prose p { margin: 0 0 var(--space-md); }
|
||||
.prose blockquote { margin: var(--space-lg) 0; padding: var(--space-sm) var(--space-lg); border-left: 2px solid var(--accent); color: var(--ink-soft); font-style: italic; }
|
||||
.prose blockquote p:last-child { margin-bottom: 0; }
|
||||
.prose h2, .prose h3 { font-weight: 500; margin: var(--space-xl) 0 var(--space-sm); }
|
||||
.prose img { margin: var(--space-lg) 0; border: var(--border); cursor: zoom-in; }
|
||||
.prose table { border-collapse: collapse; width: 100%; font-size: var(--text-base); }
|
||||
.prose th, .prose td { border-bottom: var(--border); padding: var(--space-sm); text-align: left; }
|
||||
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--code-bg); padding: 0 var(--space-xs); }
|
||||
.prose pre { background: var(--code-bg); border: var(--border); padding: var(--space-md); overflow-x: auto; position: relative; font-size: var(--text-sm); }
|
||||
.prose pre code { background: none; padding: 0; }
|
||||
.prose hr { border: 0; border-top: var(--border); margin: var(--space-xl) 0; }
|
||||
.prose a.mention { color: var(--accent); text-decoration: none; }
|
||||
|
||||
.copy-button {
|
||||
position: absolute;
|
||||
top: var(--space-xs);
|
||||
right: var(--space-xs);
|
||||
background: var(--bg-raised);
|
||||
color: var(--muted);
|
||||
border: var(--border);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-xs);
|
||||
padding: 0 var(--space-sm);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hljs-keyword, .hljs-selector-tag, .hljs-built_in { color: var(--code-keyword); }
|
||||
.hljs-string, .hljs-attr, .hljs-template-variable { color: var(--code-string); }
|
||||
.hljs-comment, .hljs-quote { color: var(--code-comment); font-style: italic; }
|
||||
.hljs-number, .hljs-literal { color: var(--code-number); }
|
||||
.hljs-title, .hljs-section, .hljs-name { color: var(--code-title); }
|
||||
|
||||
.featured { margin: var(--space-xl) 0; border-top: var(--border); padding-top: var(--space-lg); }
|
||||
.featured figure { margin: 0; }
|
||||
.featured figcaption { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-sm); letter-spacing: 0.06em; }
|
||||
|
||||
.closing { margin-top: var(--space-2xl); border-top: var(--border); padding-top: var(--space-lg); display: grid; gap: var(--space-md); }
|
||||
.closing p { font-size: var(--text-lg); color: var(--ink-soft); margin: 0; max-width: 30em; }
|
||||
|
||||
.person-row { display: flex; align-items: center; gap: var(--space-md); border-top: var(--border); padding: var(--space-md) 0; min-width: 0; }
|
||||
.person-row:last-child { border-bottom: var(--border); }
|
||||
.person-row .who { display: grid; min-width: 0; flex: 1; }
|
||||
.person-row .who b { font-weight: 500; font-size: var(--text-lg); }
|
||||
.person-row .who span { color: var(--muted); font-size: var(--text-sm); }
|
||||
.person-row .count { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); }
|
||||
|
||||
.avatar { border: var(--border-strong); background: var(--bg-raised); flex-shrink: 0; }
|
||||
|
||||
.presence-host { position: relative; display: inline-block; }
|
||||
.presence-dot {
|
||||
position: absolute;
|
||||
right: calc(var(--space-xs) * -1);
|
||||
bottom: calc(var(--space-xs) * -1);
|
||||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--faint);
|
||||
border: 2px solid var(--bg);
|
||||
}
|
||||
.presence-dot.online { background: var(--success); }
|
||||
|
||||
.empty { color: var(--muted); font-style: italic; padding: var(--space-lg) 0; border-top: var(--border); }
|
||||
|
||||
.load-more { display: flex; justify-content: center; margin-top: var(--space-lg); }
|
||||
|
||||
.notice { border: var(--border-strong); padding: var(--space-md) var(--space-lg); margin: var(--space-lg) 0; background: var(--bg-raised); }
|
||||
.notice.success { border-color: rgba(var(--accent-rgb), 0.6); }
|
||||
.notice.error { border-color: var(--danger); }
|
||||
.notice ul { margin: 0; padding-left: var(--space-lg); }
|
||||
|
||||
.error-page { padding: var(--space-2xl) 0; }
|
||||
.error-page .code { font-size: var(--text-hero); letter-spacing: var(--tracking-hero); line-height: 1; color: var(--faint); }
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.article-header h1 { font-size: var(--text-xl); }
|
||||
.prose { font-size: var(--text-base); }
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.docs-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-xl); }
|
||||
|
||||
.docs-sidebar { font-family: var(--font-sans); font-size: var(--text-sm); display: grid; gap: var(--space-lg); align-content: start; }
|
||||
.docs-sidebar h4 { margin: 0 0 var(--space-xs); font-size: var(--text-xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent); font-weight: 500; }
|
||||
.docs-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
|
||||
.docs-sidebar a { color: var(--muted); text-decoration: none; }
|
||||
.docs-sidebar a.active, .docs-sidebar a:hover { color: var(--ink); }
|
||||
|
||||
.docs-content { min-width: 0; }
|
||||
.docs-content .permalink { text-decoration: none; color: inherit; }
|
||||
.docs-content .permalink:hover::after { content: " #"; color: var(--faint); }
|
||||
|
||||
.endpoint { border-top: var(--border); padding: var(--space-lg) 0; display: grid; gap: var(--space-sm); min-width: 0; }
|
||||
.endpoint .signature { font-family: var(--font-mono); font-size: var(--text-sm); display: flex; gap: var(--space-sm); flex-wrap: wrap; }
|
||||
.endpoint .method { color: var(--accent); }
|
||||
.endpoint .auth { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
|
||||
.endpoint pre { background: var(--code-bg); border: var(--border); padding: var(--space-sm) var(--space-md); overflow-x: auto; font-size: var(--text-xs); margin: 0; }
|
||||
.endpoint .tester { display: grid; gap: var(--space-sm); }
|
||||
.endpoint .allowed { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--faint); }
|
||||
|
||||
.search-hit { border-top: var(--border); padding: var(--space-md) 0; }
|
||||
.search-hit mark { background: rgba(var(--accent-rgb), 0.3); color: var(--ink); }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.docs-layout { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.form { display: grid; gap: var(--space-lg); max-width: 34rem; }
|
||||
.form.wide { max-width: none; }
|
||||
|
||||
.field { display: grid; gap: var(--space-xs); min-width: 0; }
|
||||
.field label { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
|
||||
.field .help { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--faint); }
|
||||
|
||||
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], select, textarea {
|
||||
width: 100%;
|
||||
background: var(--bg-sunken);
|
||||
color: var(--ink);
|
||||
border: var(--border-strong);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
font: inherit;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
textarea { min-height: 10rem; line-height: var(--leading-body); resize: vertical; font-family: var(--font-mono); font-size: var(--text-sm); }
|
||||
|
||||
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
|
||||
|
||||
.check { display: flex; gap: var(--space-sm); align-items: center; font-family: var(--font-sans); font-size: var(--text-sm); color: var(--ink-soft); }
|
||||
|
||||
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
|
||||
|
||||
.button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
background: var(--accent);
|
||||
color: var(--accent-ink);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--space-sm) var(--space-lg);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.06em;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button:hover { color: var(--accent-ink); filter: brightness(1.08); }
|
||||
.button.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); font-weight: 500; }
|
||||
.button.ghost:hover { border-color: var(--ink-soft); }
|
||||
.button.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
|
||||
.button.small { padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); }
|
||||
|
||||
.button.is-loading { opacity: 0.6; pointer-events: none; }
|
||||
.button .spinner {
|
||||
width: 0.8em;
|
||||
height: 0.8em;
|
||||
border: 2px solid currentColor;
|
||||
border-right-color: transparent;
|
||||
border-radius: var(--radius-pill);
|
||||
animation: spin 700ms linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
.actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }
|
||||
.actions form { margin: 0; }
|
||||
@@ -0,0 +1,31 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.gallery-intro { color: var(--ink-soft); max-width: 34em; margin: 0 0 var(--space-xl); }
|
||||
|
||||
.gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: var(--space-xl) var(--space-lg);
|
||||
}
|
||||
|
||||
.gallery figure { margin: 0; min-width: 0; }
|
||||
|
||||
.gallery a.frame { display: block; border: var(--border); background: var(--bg-sunken); cursor: zoom-in; }
|
||||
.gallery a.frame:hover { border-color: rgba(var(--accent-rgb), 0.7); }
|
||||
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
|
||||
|
||||
.gallery figcaption {
|
||||
margin-top: var(--space-sm);
|
||||
font-size: var(--text-base);
|
||||
color: var(--ink-soft);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.gallery figcaption .index { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--faint); letter-spacing: 0.08em; }
|
||||
|
||||
.gallery.flyers { grid-template-columns: minmax(0, 1fr); }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.gallery { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
.site-header {
|
||||
border-bottom: var(--border);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--bg);
|
||||
z-index: var(--z-nav);
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
max-width: var(--wide);
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: var(--space-lg);
|
||||
padding: var(--space-md) var(--space-lg);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-sm);
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.site-nav a { text-decoration: none; color: var(--ink-soft); padding-bottom: var(--space-xs); border-bottom: 1px solid transparent; }
|
||||
.site-nav a:hover { color: var(--ink); }
|
||||
.site-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
|
||||
|
||||
.brand { margin-right: auto; font-weight: 700; letter-spacing: var(--tracking-label); color: var(--accent); }
|
||||
.site-nav .brand { color: var(--accent); border-bottom: 0; }
|
||||
|
||||
.nav-links { display: flex; gap: var(--space-lg); align-items: baseline; min-width: 0; }
|
||||
|
||||
.nav-toggle {
|
||||
display: none;
|
||||
background: transparent;
|
||||
color: var(--ink);
|
||||
border: var(--border-strong);
|
||||
font: inherit;
|
||||
padding: var(--space-xs) var(--space-sm);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-account { display: flex; gap: var(--space-md); align-items: baseline; }
|
||||
.nav-account form { margin: 0; }
|
||||
.nav-account button { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; letter-spacing: inherit; }
|
||||
.nav-account button:hover { color: var(--ink); }
|
||||
|
||||
.badge-count {
|
||||
display: inline-block;
|
||||
min-width: 1.4em;
|
||||
padding: 0 var(--space-xs);
|
||||
margin-left: var(--space-xs);
|
||||
background: var(--accent);
|
||||
color: var(--accent-ink);
|
||||
font-size: var(--text-xs);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main.page {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
max-width: var(--measure);
|
||||
margin: 0 auto;
|
||||
padding: var(--space-xl) var(--space-lg) var(--space-2xl);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
main.page.wide { max-width: var(--wide); }
|
||||
|
||||
.site-footer {
|
||||
border-top: var(--border);
|
||||
padding: var(--space-lg);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--faint);
|
||||
}
|
||||
|
||||
.site-footer .inner {
|
||||
max-width: var(--wide);
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
gap: var(--space-lg);
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.site-footer a { color: var(--muted); text-decoration: none; }
|
||||
.site-footer .tagline { margin-right: auto; }
|
||||
|
||||
.breadcrumbs { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-lg); display: flex; gap: var(--space-sm); flex-wrap: wrap; }
|
||||
.breadcrumbs a { color: var(--muted); text-decoration: none; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.nav-toggle { display: inline-block; }
|
||||
.nav-links {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
padding: var(--space-lg);
|
||||
background: var(--bg);
|
||||
border-bottom: var(--border);
|
||||
z-index: var(--z-nav-panel);
|
||||
}
|
||||
.nav-links.open { display: flex; }
|
||||
.site-nav { position: relative; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
main.page { padding: var(--space-lg) var(--space-md) var(--space-xl); }
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
main.page { padding: var(--space-md) var(--space-sm) var(--space-lg); }
|
||||
.site-nav { padding-left: var(--space-sm); padding-right: var(--space-sm); }
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
:root {
|
||||
--bg: #0d0c0a;
|
||||
--bg-raised: #15130f;
|
||||
--bg-sunken: #090807;
|
||||
--ink: #ece6da;
|
||||
--ink-soft: #cfc8ba;
|
||||
--muted: #8c857a;
|
||||
--faint: #5b564e;
|
||||
--rule: #2a2722;
|
||||
--rule-strong: #3d3932;
|
||||
--accent: #d4a020;
|
||||
--accent-ink: #120f08;
|
||||
--accent-rgb: 212, 160, 32;
|
||||
--ink-rgb: 236, 230, 218;
|
||||
--shade-rgb: 0, 0, 0;
|
||||
--success: #7fa36b;
|
||||
--warning: #d4a020;
|
||||
--danger: #c8644f;
|
||||
--info: #7f9eb0;
|
||||
--code-bg: #12110e;
|
||||
--code-keyword: #d9a441;
|
||||
--code-string: #a9b97c;
|
||||
--code-comment: #6c675e;
|
||||
--code-number: #c98f6a;
|
||||
--code-title: #e8d9b5;
|
||||
|
||||
--font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
|
||||
--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||
--font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
|
||||
|
||||
--text-xs: 0.75rem;
|
||||
--text-sm: 0.875rem;
|
||||
--text-base: 1.0625rem;
|
||||
--text-lg: 1.25rem;
|
||||
--text-xl: 1.75rem;
|
||||
--text-2xl: 2.5rem;
|
||||
--text-hero: clamp(3.25rem, 9vw, 6.5rem);
|
||||
--leading-tight: 1.1;
|
||||
--leading-body: 1.6;
|
||||
--tracking-label: 0.18em;
|
||||
--tracking-hero: -0.04em;
|
||||
|
||||
--space-xs: 0.25rem;
|
||||
--space-sm: 0.5rem;
|
||||
--space-md: 1rem;
|
||||
--space-lg: 1.5rem;
|
||||
--space-xl: 2.5rem;
|
||||
--space-2xl: 4.5rem;
|
||||
|
||||
--radius: 0;
|
||||
--radius-pill: 999px;
|
||||
--border: 1px solid var(--rule);
|
||||
--border-strong: 1px solid var(--rule-strong);
|
||||
--shadow-soft: 0 12px 40px rgba(var(--shade-rgb), 0.45);
|
||||
|
||||
--measure: 42rem;
|
||||
--wide: 68rem;
|
||||
--nav-height: 3.5rem;
|
||||
--duration: 160ms;
|
||||
|
||||
--z-floating-button: 900;
|
||||
--z-nav-overlay: 998;
|
||||
--z-nav-panel: 999;
|
||||
--z-nav: 1000;
|
||||
--z-nav-dropdown: 1001;
|
||||
--z-modal: 2000;
|
||||
--z-popover: 2100;
|
||||
--z-lightbox: 10000;
|
||||
--z-floating-windows: 2147480000;
|
||||
--z-toast: 2147483400;
|
||||
--z-menu: 2147483500;
|
||||
--z-dialog: 2147483647;
|
||||
}
|
||||
Reference in New Issue
Block a user