Skip to content

Commit 688efba

Browse files
committed
landing: fix mobile responsive, fix doc links to GitHub
- Comprehensive mobile media query: nav wraps, whys stacks vertically, cmd-list wraps, pre blocks shrink, carousel min-height increased, install-block fills width, steps stack, table padding reduced, section padding reduced - Doc links now point to GitHub rendered markdown (github.com/BackendStack21/kode/blob/main/docs/...) instead of raw .md files that can't render
1 parent 374821e commit 688efba

1 file changed

Lines changed: 39 additions & 16 deletions

File tree

docs/index.html

Lines changed: 39 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,36 @@
246246
footer a { color: var(--accent); }
247247

248248
@media (max-width: 700px) {
249-
.hero h1 { font-size: 2.25rem; }
250-
.hero .install-block { flex-direction: column; padding: 16px; gap: 12px; }
251-
.hero .install-block .btn { margin-left: 0; }
249+
.hero h1 { font-size: 2rem; }
250+
.hero .sub { font-size: 1rem; }
251+
.hero .install-block {
252+
flex-direction: column; padding: 16px; gap: 12px; width: 100%;
253+
font-size: 0.75rem; overflow: hidden;
254+
}
255+
.hero .install-block code { word-break: break-all; }
256+
.hero .install-block .btn { margin-left: 0; width: 100%; text-align: center; }
252257
.hero .stats { gap: 24px; flex-wrap: wrap; }
258+
nav { flex-wrap: wrap; gap: 8px; justify-content: center; }
259+
nav div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
260+
nav a { margin-left: 0; font-size: 0.8125rem; padding: 4px 8px; }
261+
h2 { font-size: 1.4rem; }
253262
.features { grid-template-columns: 1fr; }
254263
.doc-links { grid-template-columns: 1fr; }
255-
.carousel .slide { font-size: 0.75rem; padding: 14px 16px; }
264+
.carousel .slides { min-height: 360px; }
265+
.carousel .slide { font-size: 0.6875rem; padding: 12px; line-height: 1.6; }
266+
.carousel .bar .label { font-size: 0.65rem; }
267+
.whys li { flex-direction: column; gap: 4px; }
268+
.whys li .q { min-width: 0; }
269+
.cmd-list li { flex-direction: column; gap: 2px; }
270+
.cmd-list li .cmd { min-width: 0; white-space: normal; word-break: break-all; }
271+
.steps li { flex-direction: column; gap: 8px; }
272+
.steps li .n { align-self: flex-start; }
273+
pre { padding: 14px; font-size: 0.75rem; }
274+
pre .clip { top: 8px; right: 8px; font-size: 0.625rem; padding: 3px 8px; }
275+
.compare { font-size: 0.75rem; }
276+
.compare th, .compare td { padding: 8px 10px; }
277+
.container { padding: 0 16px; }
278+
section { padding: 40px 0; }
256279
}
257280
</style>
258281
</head>
@@ -598,18 +621,18 @@ <h2>Everything else is <span class="hl">documented</span></h2>
598621
<p style="margin-bottom:20px">Deep-dive docs for every subsystem. Real detail, no fluff.</p>
599622

600623
<div class="doc-links">
601-
<a href="CLI.md">CLI Reference<span>All commands, subcommands, flags, examples</span></a>
602-
<a href="CONFIG.md">Configuration<span>Config files, env vars, priority chain</span></a>
603-
<a href="PROVIDERS.md">Providers & Models<span>Deepseek, OpenAI, Anthropic, Ollama, vLLM, more</span></a>
604-
<a href="MCP.md">MCP (Two-Way)<span>Serve tools + connect to external MCP servers</span></a>
605-
<a href="MEMORY.md">Memory System<span>Three-tier facts, buffer, episodes</span></a>
606-
<a href="SESSIONS.md">Multi-Turn Sessions<span>Save, resume, list, trim, cleanup</span></a>
607-
<a href="SANDBOXING.md">Sandboxing<span>Docker isolation, config, security model</span></a>
608-
<a href="SECURITY.md">Security<span>Prompt injection defense, threat model</span></a>
609-
<a href="SUBAGENTS.md">Sub-Agents<span>Task decomposition, delegation protocol</span></a>
610-
<a href="LEARNING.md">Self-Learning<span>Skill detection, LLM enhancement, curation</span></a>
611-
<a href="WEBUI.md">Web UI<span>kode serve, WebSocket protocol, @ resources</span></a>
612-
<a href="DEVELOPMENT.md">Development<span>Building, testing, contributing</span></a>
624+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/CLI.md">CLI Reference<span>All commands, subcommands, flags, examples</span></a>
625+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/CONFIG.md">Configuration<span>Config files, env vars, priority chain</span></a>
626+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/PROVIDERS.md">Providers & Models<span>Deepseek, OpenAI, Anthropic, Ollama, vLLM, more</span></a>
627+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/MCP.md">MCP (Two-Way)<span>Serve tools + connect to external MCP servers</span></a>
628+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/MEMORY.md">Memory System<span>Three-tier facts, buffer, episodes</span></a>
629+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/SESSIONS.md">Multi-Turn Sessions<span>Save, resume, list, trim, cleanup</span></a>
630+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/SANDBOXING.md">Sandboxing<span>Docker isolation, config, security model</span></a>
631+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/SECURITY.md">Security<span>Prompt injection defense, threat model</span></a>
632+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/SUBAGENTS.md">Sub-Agents<span>Task decomposition, delegation protocol</span></a>
633+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/LEARNING.md">Self-Learning<span>Skill detection, LLM enhancement, curation</span></a>
634+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/WEBUI.md">Web UI<span>kode serve, WebSocket protocol, @ resources</span></a>
635+
<a href="https://github.com/BackendStack21/kode/blob/main/docs/DEVELOPMENT.md">Development<span>Building, testing, contributing</span></a>
613636
</div>
614637
</section>
615638

0 commit comments

Comments
 (0)