docs: simplify navigation and layout
This commit is contained in:
1 parent
01cc74b7e7
commit
b50fb52613
3 files changed
+10
-33
No files matched your search
+1
-1
@@ -13,6 +13,6 @@ create-missing = false
|
||||
[output.html]
|
||||
default-theme = "navy"
|
||||
preferred-dark-theme = "navy"
|
||||
additional-css = ["theme/lore.css"]
|
||||
additional-css = ["theme/layout.css"]
|
||||
fold = { enable = false }
|
||||
search = { enable = false }
|
||||
@@ -1,28 +1,13 @@
|
||||
# Summary
|
||||
|
||||
- [Overview](index.md)
|
||||
|
||||
# Start here
|
||||
|
||||
- [Getting started](getting-started.md)
|
||||
- [Development and verification](development.md)
|
||||
|
||||
# Design
|
||||
|
||||
- [Architecture](architecture.md)
|
||||
- [Safety boundary](safety-boundary.md)
|
||||
- [MAVLink and telemetry](mavlink.md)
|
||||
|
||||
# Platforms
|
||||
|
||||
- [Boards](boards/index.md)
|
||||
- [Kakute F7 Mini V3](boards/kakute-f7-mini-v3.md)
|
||||
- [GEPRC GEP-F722-HD V2](boards/geprc-f722-v2.md)
|
||||
|
||||
# Simulation
|
||||
|
||||
- [Host SITL](sitl.md)
|
||||
|
||||
# Reference
|
||||
|
||||
- [Reference](reference.md)
|
||||
+9
-17
@@ -1,7 +1,4 @@
|
||||
/*
|
||||
* A static documentation layout: kernel-docs navigation with lore-like
|
||||
* restraint. Colours follow Orkavian's black, silver, and green palette.
|
||||
*/
|
||||
/* Static documentation layout. */
|
||||
:root,
|
||||
html.light,
|
||||
html.rust,
|
||||
@@ -80,16 +77,6 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sidebar-scrollbox .part-title {
|
||||
color: var(--kaptan-muted);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
margin: 0;
|
||||
padding: 1rem 1rem 0.3rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.sidebar-scrollbox .chapter-item a {
|
||||
color: var(--kaptan-text);
|
||||
display: block;
|
||||
@@ -123,7 +110,12 @@ body {
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
max-width: 78ch;
|
||||
padding: 2rem 1.5rem 3rem;
|
||||
padding: 4rem 1.5rem 3rem;
|
||||
}
|
||||
|
||||
/* mdBook offsets this for its menu placeholder; this layout hides that menu. */
|
||||
.page {
|
||||
margin-block-start: 0 !important;
|
||||
}
|
||||
|
||||
.content main {
|
||||
@@ -202,8 +194,8 @@ code {
|
||||
}
|
||||
|
||||
pre {
|
||||
background: var(--kaptan-surface);
|
||||
border: 1px solid var(--kaptan-border);
|
||||
background: #1d1712;
|
||||
border: 1px solid #5b4935;
|
||||
overflow-x: auto;
|
||||
padding: 0;
|
||||
}
|
||||
Reference in new issue
Block a user