docs: simplify static book output
This commit is contained in:
1 parent
a4f04cfa7e
commit
1000b7a2de
3 files changed
+2
-59
No files matched your search
+2
-7
@@ -12,10 +12,5 @@ create-missing = false
|
||||
|
||||
[output.html]
|
||||
default-theme = "light"
|
||||
preferred-dark-theme = "navy"
|
||||
git-repository-url = "https://github.com/Orkavian/kaptan"
|
||||
edit-url-template = "https://github.com/Orkavian/kaptan/edit/main/{path}"
|
||||
additional-css = ["theme/kaptan.css"]
|
||||
additional-js = ["theme/kaptan.js"]
|
||||
fold = { enable = true, level = 1 }
|
||||
smart-punctuation = true
|
||||
fold = { enable = false }
|
||||
search = { enable = false }
|
||||
Vendored
-47
@@ -1,47 +0,0 @@
|
||||
:root {
|
||||
--kaptan-ink: #142033;
|
||||
--kaptan-blue: #1769aa;
|
||||
--kaptan-sky: #e8f3fb;
|
||||
--kaptan-border: #d4dfeb;
|
||||
}
|
||||
|
||||
.content main {
|
||||
max-width: 58rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.content h1,
|
||||
.content h2,
|
||||
.content h3 {
|
||||
color: var(--kaptan-ink);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.content h1 {
|
||||
border-bottom: 3px solid var(--kaptan-blue);
|
||||
padding-bottom: 0.45rem;
|
||||
}
|
||||
|
||||
.content a {
|
||||
color: var(--kaptan-blue);
|
||||
}
|
||||
|
||||
.content table {
|
||||
border: 1px solid var(--kaptan-border);
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.content blockquote {
|
||||
border-left-color: var(--kaptan-blue);
|
||||
background: var(--kaptan-sky);
|
||||
}
|
||||
|
||||
.sidebar .sidebar-scrollbox {
|
||||
border-right: 1px solid var(--kaptan-border);
|
||||
}
|
||||
|
||||
.nav-chapters {
|
||||
border-top: 1px solid var(--kaptan-border);
|
||||
}
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
// Keep a small stable hook for future theme enhancements without replacing
|
||||
// mdBook's built-in navigation, search, or theme picker.
|
||||
document.documentElement.classList.add("kaptan-docs");
|
||||
Reference in new issue
Block a user