331 lines
5.8 KiB
CSS
331 lines
5.8 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #fbf7ef;
|
|
--panel: rgba(255, 255, 255, 0.82);
|
|
--panel-strong: #ffffff;
|
|
--text: #18202a;
|
|
--muted: #5b6675;
|
|
--accent: #0f5bd8;
|
|
--accent-soft: rgba(15, 91, 216, 0.1);
|
|
--border: rgba(24, 32, 42, 0.12);
|
|
--shadow: 0 16px 48px rgba(24, 32, 42, 0.08);
|
|
--radius-lg: 24px;
|
|
--radius-md: 16px;
|
|
--radius-sm: 10px;
|
|
font-family: "Charter", "Iowan Old Style", "Palatino Linotype", serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at top left, rgba(15, 91, 216, 0.16), transparent 34%),
|
|
radial-gradient(circle at bottom right, rgba(14, 163, 125, 0.13), transparent 28%),
|
|
linear-gradient(180deg, #fdfaf5 0%, #f5efe6 100%);
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, monospace;
|
|
}
|
|
|
|
.site-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.42);
|
|
background: rgba(251, 247, 239, 0.92);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.site-header__inner,
|
|
.site-main {
|
|
width: min(1080px, calc(100vw - 2rem));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.site-header__inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 72px;
|
|
}
|
|
|
|
.site-brand {
|
|
color: var(--text);
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.site-nav {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.site-nav a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.site-main {
|
|
padding: 2rem 0 4rem;
|
|
}
|
|
|
|
.document-shell,
|
|
.error-panel,
|
|
.empty-preview {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.error-panel,
|
|
.empty-preview {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.document-shell {
|
|
padding: 1.5rem 2rem;
|
|
}
|
|
|
|
.workspace-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(20rem, 0.42fr) minmax(0, 1fr);
|
|
gap: 1rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.workspace-shell--empty {
|
|
grid-template-columns: minmax(22rem, 1fr) minmax(18rem, 0.45fr);
|
|
}
|
|
|
|
.miller-browser {
|
|
display: grid;
|
|
grid-auto-columns: minmax(12rem, 1fr);
|
|
grid-auto-flow: column;
|
|
overflow-x: auto;
|
|
min-height: 22rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--panel);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.miller-column {
|
|
min-width: 12rem;
|
|
border-left: 1px solid var(--border);
|
|
}
|
|
|
|
.miller-column:first-child {
|
|
border-left: 0;
|
|
}
|
|
|
|
.miller-column h2 {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
margin: 0;
|
|
padding: 0.75rem 0.85rem;
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.72);
|
|
color: var(--muted);
|
|
font: 700 0.76rem/1.2 ui-monospace, SFMono-Regular, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.miller-column ul {
|
|
margin: 0;
|
|
padding: 0.35rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.miller-column a {
|
|
display: flex;
|
|
min-height: 2.25rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.45rem 0.55rem;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.miller-column a:hover,
|
|
.miller-column a.is-active {
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.miller-column a span:first-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 0.8rem;
|
|
color: var(--accent);
|
|
font: 700 0.78rem/1.2 ui-monospace, SFMono-Regular, monospace;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.lede {
|
|
max-width: 44rem;
|
|
color: var(--muted);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.tag-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.tag-list a {
|
|
display: inline-flex;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 999px;
|
|
background: var(--accent-soft);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.document-meta {
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.document-meta h1 {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 1.85rem;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.meta-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.meta-grid div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.meta-grid dt {
|
|
margin: 0 0 0.2rem;
|
|
color: var(--muted);
|
|
font: 700 0.68rem/1.2 ui-monospace, SFMono-Regular, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.meta-grid dd {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.86rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.markdown-body {
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
overflow-x: auto;
|
|
padding: 1rem;
|
|
border-radius: var(--radius-md);
|
|
background: #18202a;
|
|
color: #f7f9fc;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
margin-left: 0;
|
|
padding: 0.9rem 1rem;
|
|
border-left: 4px solid var(--accent);
|
|
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
background: rgba(15, 91, 216, 0.05);
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.version-notice {
|
|
position: fixed;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.85rem;
|
|
max-width: min(28rem, calc(100vw - 2rem));
|
|
padding: 0.75rem 0.85rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--panel-strong);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.version-notice[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.version-notice p {
|
|
margin: 0;
|
|
color: var(--text);
|
|
}
|
|
|
|
.version-notice button {
|
|
min-height: 2.2rem;
|
|
padding: 0 0.8rem;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
color: white;
|
|
background: var(--accent);
|
|
font: 700 0.9rem/1 ui-monospace, SFMono-Regular, monospace;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.site-header__inner {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 0;
|
|
}
|
|
|
|
.workspace-shell,
|
|
.workspace-shell--empty {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.miller-browser {
|
|
min-height: 14rem;
|
|
}
|
|
|
|
.document-shell {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.meta-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|