Vibe documents

This commit is contained in:
6d486f49
2026-06-23 13:30:43 -04:00
parent 6eaf7b0980
commit 89bd1ca1f9
92 changed files with 69503 additions and 67 deletions
+325
View File
@@ -0,0 +1,325 @@
.docs-page {
padding: 1rem 2rem 3rem;
max-width: 1200px;
margin: 0 auto;
}
.docs-header {
margin-bottom: 2rem;
}
.docs-header h1 {
margin-bottom: 0.25rem;
}
.docs-header p {
font-size: 0.9rem;
margin: 0;
}
.docs-container {
display: grid;
grid-template-columns: 220px 1fr;
gap: 2.5rem;
}
.docs-sidebar {
position: sticky;
top: 2rem;
align-self: start;
}
.search-box {
position: relative;
margin-bottom: 1.5rem;
}
.search-box i {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
font-size: 0.85rem;
}
.search-box input {
width: 100%;
padding: 0.55rem 0.75rem 0.55rem 2.25rem;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text-primary);
font-size: 0.88rem;
font-family: inherit;
}
.search-box input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 2px var(--accent-glow);
}
.category-list {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.category-item {
padding: 0.45rem 0.75rem;
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 0.88rem;
color: var(--text-secondary);
transition: all var(--transition);
}
.category-item:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.category-item.active {
background: rgba(108, 99, 255, 0.12);
color: var(--accent);
font-weight: 600;
}
.doc-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.doc-card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.1rem 1.4rem;
cursor: pointer;
transition: all var(--transition);
}
.doc-card:hover {
border-color: var(--accent);
box-shadow: 0 0 15px var(--accent-glow);
transform: translateY(-1px);
}
.doc-card-category {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent);
font-weight: 600;
margin-bottom: 0.3rem;
}
.doc-card-title {
margin: 0 0 0.35rem;
font-size: 1.15rem;
font-weight: 600;
}
.doc-card-desc {
font-size: 0.88rem;
color: var(--text-secondary);
line-height: 1.5;
margin: 0;
}
.doc-article {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 2rem 2.5rem;
}
.btn-back {
background: none;
border: none;
color: var(--text-muted);
font-size: 0.88rem;
padding: 0;
margin-bottom: 1.5rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.4rem;
font-family: inherit;
transition: color var(--transition);
}
.btn-back:hover {
color: var(--text-primary);
}
.doc-header {
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--border);
}
.doc-meta {
font-size: 0.8rem;
color: var(--accent);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.4rem;
}
.doc-header h1 {
margin: 0 0 0.75rem;
font-size: 1.8rem;
font-weight: 700;
}
.doc-description {
font-size: 1.05rem;
line-height: 1.6;
color: var(--text-secondary);
margin: 0;
}
.doc-body {
line-height: 1.7;
font-size: 1rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
}
.doc-body p {
margin: 0 0 0.6rem;
}
.doc-body p:last-child {
margin-bottom: 0;
}
.doc-label {
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.4rem;
}
.doc-list-items {
margin: 0 0 0.8rem;
padding-left: 1.5rem;
list-style: none;
}
.doc-list-items li {
position: relative;
padding: 0.2rem 0;
color: var(--text-secondary);
font-size: 0.95rem;
}
.doc-list-items li::before {
content: "▸";
position: absolute;
left: -1.2rem;
color: var(--accent);
font-size: 0.75rem;
}
.doc-extra {
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid var(--border);
}
.doc-extra h3 {
font-size: 0.9rem;
font-weight: 600;
margin: 0 0 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.doc-frontmatter {
display: grid;
grid-template-columns: auto 1fr;
gap: 0.4rem 1rem;
padding: 0.75rem 1rem;
background: var(--bg-elevated);
border-radius: var(--radius);
border: 1px solid var(--border);
}
.fm-item {
display: contents;
}
.fm-key {
color: var(--text-muted);
font-weight: 500;
font-size: 0.85rem;
white-space: nowrap;
}
.fm-value {
color: var(--text-secondary);
font-size: 0.85rem;
}
.doc-link-btn {
background: none;
border: none;
padding: 0;
font-family: inherit;
font-size: inherit;
font-weight: 600;
color: var(--accent);
cursor: pointer;
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-color: rgba(108, 99, 255, 0.3);
transition: color var(--transition), text-decoration-color var(--transition);
}
.doc-link-btn:hover {
color: #7b73ff;
text-decoration-color: #7b73ff;
}
.empty-state {
text-align: center;
padding: 4rem 1rem;
color: var(--text-muted);
}
.empty-state i {
font-size: 3rem;
display: block;
margin-bottom: 1rem;
}
@media (max-width: 900px) {
.docs-container {
grid-template-columns: 1fr;
}
.docs-sidebar {
position: static;
}
.category-list {
flex-direction: row;
overflow-x: auto;
gap: 0.4rem;
padding-bottom: 0.5rem;
}
.category-item {
white-space: nowrap;
flex-shrink: 0;
}
.doc-article {
padding: 1.25rem;
}
}