huge doc rewrite

This commit is contained in:
2026-10-07 20:03:38 -07:00
parent d6ec1f93b8
commit c28308c389
47 changed files with 3185 additions and 6304 deletions

1944
assets/styling/base.css Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,140 @@
html.dark pre[class*="language-"],
html.dark code[class*="language-"] {
color: #abb2bf;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #6a737d;
font-style: italic;
}
html.dark .token.comment,
html.dark .token.prolog,
html.dark .token.doctype,
html.dark .token.cdata {
color: #5c6370;
font-style: italic;
}
.token.punctuation {
color: #24292e;
}
html.dark .token.punctuation {
color: #abb2bf;
}
.token.function,
.token.function-name {
color: #6f42c1;
font-weight: 500;
}
html.dark .token.function,
html.dark .token.function-name {
color: #61afef;
font-weight: 500;
}
.token.keyword,
.token.selector {
color: #d73a49;
font-weight: 600;
}
html.dark .token.keyword,
html.dark .token.selector {
color: #c678dd;
font-weight: 600;
}
.token.string,
.token.url {
color: #22863a;
}
html.dark .token.string,
html.dark .token.url {
color: #98c379;
}
.token.variable,
.token.attr-name,
.token.property {
color: #e36209;
}
html.dark .token.variable,
html.dark .token.attr-name,
html.dark .token.property {
color: #e06c75;
}
.token.operator,
.token.entity {
color: #d73a49;
}
html.dark .token.operator,
html.dark .token.entity {
color: #56b6c2;
}
.token.number,
.token.boolean,
.token.constant {
color: #005cc5;
}
html.dark .token.number,
html.dark .token.boolean,
html.dark .token.constant {
color: #d19a66;
}
.token.parameter {
color: #b08800;
}
html.dark .token.parameter {
color: #d19a66;
}
.token.class-name {
color: #6f42c1;
}
html.dark .token.class-name {
color: #e5c07b;
}
.token.tag {
color: #22863a;
}
html.dark .token.tag {
color: #e06c75;
}
.token.deleted {
color: #b31d28;
background-color: #ffeef0;
}
html.dark .token.deleted {
color: #e06c75;
background-color: rgba(224, 108, 117, 0.15);
}
.token.inserted {
color: #22863a;
background-color: #f0fff4;
}
html.dark .token.inserted {
color: #98c379;
background-color: rgba(152, 195, 121, 0.15);
}

3
assets/styling/main.css Normal file
View File

@@ -0,0 +1,3 @@
@import "roots.css";
@import "base.css";
@import "highlight.css";

60
assets/styling/roots.css Normal file
View File

@@ -0,0 +1,60 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root {
--primary: #000000;
--bg-light: #ffffff;
--bg-dark: #000000;
--text-light: #0b0b0c;
--text-dark: #f3f3f3;
--muted-light: #6b7280;
--muted-dark: #a3a3a3;
--sidebar-width: 256px;
--toc-width: 240px;
--header-height: 148px;
--font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
--border-light: #e5e7eb;
--border-dark: #2b2b2b98;
}
body.banner-dismissed {
--header-height: 109px;
}
* {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
min-height: 100%;
margin: 0;
font-family: var(--font);
background: var(--bg-light);
color: var(--text-light);
line-height: 1.65;
overflow-x: hidden;
}
html.dark body {
background: var(--bg-dark);
color: var(--text-dark);
}
.video-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
a {
color: inherit;
text-decoration: none;
}