The documentation was assembled in the browser, so a client that runs no script saw an empty shell — including whoever fetches the terms and privacy links before approving an application, which is exactly what those pages are for. The wiki is now delivered as finished HTML, carries no script at all, and declares itself indexable, unlike the panel. Search works through a plain query string, an unknown page answers 404 rather than a blank page, and both legal pages are linked from the footer of every page. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
230 lines
4.0 KiB
CSS
230 lines
4.0 KiB
CSS
/* Public documentation site — reuses the dashboard tokens from styles.css (M17). */
|
|
|
|
.wiki-body {
|
|
background: var(--bg);
|
|
}
|
|
|
|
.wiki-shell {
|
|
display: grid;
|
|
grid-template-columns: 270px minmax(0, 1fr);
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.wiki-side {
|
|
border-right: 1px solid var(--border);
|
|
padding: 1.2rem 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.8rem;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wiki-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
color: var(--text);
|
|
}
|
|
.wiki-brand:hover {
|
|
text-decoration: none;
|
|
}
|
|
.wiki-brand strong {
|
|
display: block;
|
|
font-size: 1rem;
|
|
}
|
|
.wiki-brand span {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.wiki-nav,
|
|
.wiki-results {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
}
|
|
.wiki-nav a,
|
|
.wiki-results a {
|
|
display: block;
|
|
padding: 0.38rem 0.6rem;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text);
|
|
font-size: 0.88rem;
|
|
}
|
|
.wiki-nav a:hover,
|
|
.wiki-results a:hover {
|
|
background: var(--surface);
|
|
text-decoration: none;
|
|
}
|
|
.wiki-nav a.active {
|
|
background: color-mix(in srgb, var(--blue) 16%, transparent);
|
|
color: var(--blue-soft);
|
|
font-weight: 600;
|
|
box-shadow: inset 3px 0 0 var(--blue);
|
|
}
|
|
|
|
.wiki-main {
|
|
padding: 2rem 2.4rem 4rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wiki-article {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 200px;
|
|
gap: 2rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.wiki-article h1 {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
.wiki-summary {
|
|
color: var(--text-muted);
|
|
font-size: 1.02rem;
|
|
margin-bottom: 1.4rem;
|
|
}
|
|
|
|
/* Comfortable measure: long legal text is unreadable across a full screen. */
|
|
.wiki-content {
|
|
max-width: 72ch;
|
|
font-size: 0.97rem;
|
|
line-height: 1.7;
|
|
}
|
|
.wiki-content h2 {
|
|
font-size: 1.32rem;
|
|
margin: 2rem 0 0.7rem;
|
|
padding-top: 0.6rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.wiki-content h3 {
|
|
font-size: 1.08rem;
|
|
margin: 1.4rem 0 0.5rem;
|
|
}
|
|
.wiki-content h4 {
|
|
font-size: 0.97rem;
|
|
margin: 1.1rem 0 0.4rem;
|
|
color: var(--text-muted);
|
|
}
|
|
.wiki-content p {
|
|
margin: 0 0 0.9rem;
|
|
}
|
|
.wiki-content ul,
|
|
.wiki-content ol {
|
|
margin: 0 0 1rem;
|
|
padding-left: 1.35rem;
|
|
}
|
|
.wiki-content li {
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
.wiki-content blockquote {
|
|
margin: 1rem 0;
|
|
padding: 0.7rem 1rem;
|
|
border-left: 3px solid var(--blue);
|
|
background: var(--surface);
|
|
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
color: var(--text-muted);
|
|
}
|
|
.wiki-content hr {
|
|
border: none;
|
|
border-top: 1px solid var(--border);
|
|
margin: 2rem 0;
|
|
}
|
|
.wiki-content img {
|
|
max-width: 100%;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
.wiki-content .table-wrap {
|
|
margin-bottom: 1.2rem;
|
|
}
|
|
|
|
.wiki-search {
|
|
margin: 0;
|
|
}
|
|
|
|
.wiki-index {
|
|
list-style: none;
|
|
margin: 0 0 1.4rem;
|
|
padding: 0;
|
|
}
|
|
.wiki-index li {
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.wiki-index li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.wiki-footer {
|
|
margin-top: 3rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--border);
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
}
|
|
.wiki-footer a {
|
|
color: var(--text-muted);
|
|
}
|
|
.wiki-footer a:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.wiki-toc {
|
|
position: sticky;
|
|
top: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
border-left: 1px solid var(--border);
|
|
padding-left: 0.9rem;
|
|
}
|
|
.wiki-toc a {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
padding: 0.18rem 0;
|
|
}
|
|
.wiki-toc a:hover {
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
}
|
|
.wiki-toc a[data-level='3'] {
|
|
padding-left: 0.7rem;
|
|
}
|
|
|
|
.wiki-updated {
|
|
margin-top: 2.5rem;
|
|
padding-top: 0.8rem;
|
|
border-top: 1px solid var(--border);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.wiki-article {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.wiki-toc {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.wiki-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.wiki-side {
|
|
position: static;
|
|
height: auto;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.wiki-main {
|
|
padding: 1.2rem 1rem 3rem;
|
|
}
|
|
}
|