Skip to content
Merged

Dev #21

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions src/app/docs/docs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* Docs page */
.docs-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.docs-toc { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.docs-toc a { padding: 7px 10px; border-radius: 8px; color: var(--text-2); font-size: 13px; transition: background .2s ease, color .2s ease; }
.docs-toc a:hover { background: #eef2fb; color: var(--brand); }
.docs-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.docs-section { color: #3b4458; font-size: 14px; line-height: 1.75; }
.docs-section h2 { font-size: 19px; letter-spacing: -.4px; margin-bottom: 14px; }
.docs-section h3 { margin: 22px 0 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.docs-section p { margin: 0 0 12px; }
.docs-section ul, .docs-section ol { margin: 0 0 12px; padding-left: 20px; }
.docs-section ul { list-style: disc; }
.docs-section ol { list-style: decimal; }
.docs-section li { margin-bottom: 4px; }
.docs-section code { padding: 1px 5px; border-radius: 5px; background: #f1f3f8; font-size: 12.5px; }
.docs-table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 10px; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.docs-table th { text-align: left; padding: 10px 14px; background: #f7f8fb; color: var(--text-2); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.docs-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.docs-table td:first-child { white-space: nowrap; width: 1%; padding-right: 24px; }
.docs-callout { display: flex; gap: 12px; margin: 4px 0 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid #c9d6f7; background: #f2f6ff; }
.docs-callout svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--brand); }
.docs-callout strong { display: block; color: var(--ink); font-size: 13.5px; }
.docs-callout p { margin: 4px 0 0; font-size: 13px; }
.docs-callout.is-warn { border-color: #f0d9a8; background: #fff9ec; }
.docs-callout.is-warn svg { color: #b7791f; }
@media (max-width: 900px) {
.docs-layout { grid-template-columns: 1fr; }
.docs-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.docs-toc .dash-nav-caption { width: 100%; margin: 0; }
.docs-toc a { border: 1px solid var(--line); background: #fff; }
.docs-table td:first-child { white-space: normal; }
}
.docs-page { padding-block: 56px 96px; }
.docs-hero { margin-bottom: 36px; }
.docs-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -1.3px; font-weight: 600; color: var(--ink); }
1 change: 1 addition & 0 deletions src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { AlertTriangle, Info } from "lucide-react";
import { Button } from "@/components/ui/button";
import { getCurrentUser } from "@/lib/session";
import { Icon, Mark } from "@/modules/landing/icons";
import "./docs.css";

export const metadata: Metadata = {
title: "Docs — Dotkeep",
Expand Down
36 changes: 0 additions & 36 deletions src/app/globals.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading