Skip to content

Commit 9fd4ced

Browse files
sigh, forgot the docs too, they need work done on them though
1 parent 31407a6 commit 9fd4ced

17 files changed

Lines changed: 1500 additions & 0 deletions

docs/assets/style.css

Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
:root {
2+
--bg: #f6f8fa;
3+
--surface: #fff;
4+
--border: #d0d7de;
5+
--text: #1f2328;
6+
--text-muted: #57606a;
7+
--link: #0969da;
8+
--tag-bg: #ddf4ff;
9+
--tag-text: #0550ae;
10+
--pre-bg: #f6f8fa;
11+
--th-bg: #f6f8fa;
12+
}
13+
14+
[data-theme="dark"] {
15+
--bg: #0d1117;
16+
--surface: #161b22;
17+
--border: #30363d;
18+
--text: #e6edf3;
19+
--text-muted: #8b949e;
20+
--link: #58a6ff;
21+
--tag-bg: #0d419d;
22+
--tag-text: #79c0ff;
23+
--pre-bg: #161b22;
24+
--th-bg: #21262d;
25+
}
26+
27+
* {
28+
box-sizing: border-box;
29+
}
30+
31+
body {
32+
margin: 0;
33+
font-family: "Segoe UI", Arial, sans-serif;
34+
line-height: 1.45;
35+
color: var(--text);
36+
background: var(--bg);
37+
transition: background 0.2s, color 0.2s;
38+
}
39+
40+
a {
41+
color: var(--link);
42+
text-decoration: none;
43+
}
44+
45+
a:hover {
46+
text-decoration: underline;
47+
}
48+
49+
.theme-toggle {
50+
position: fixed;
51+
bottom: 16px;
52+
right: 16px;
53+
z-index: 999;
54+
background: var(--surface);
55+
border: 1px solid var(--border);
56+
border-radius: 999px;
57+
padding: 8px 14px;
58+
font-size: 13px;
59+
cursor: pointer;
60+
color: var(--text);
61+
user-select: none;
62+
}
63+
64+
.theme-toggle:hover {
65+
border-color: var(--link);
66+
}
67+
68+
.layout {
69+
display: grid;
70+
grid-template-columns: 260px 1fr;
71+
min-height: 100vh;
72+
}
73+
74+
.sidebar {
75+
border-right: 1px solid var(--border);
76+
background: var(--surface);
77+
padding: 20px 16px;
78+
position: sticky;
79+
top: 0;
80+
height: 100vh;
81+
overflow-y: auto;
82+
}
83+
84+
.brand {
85+
font-size: 18px;
86+
font-weight: 700;
87+
margin: 0 0 14px 0;
88+
}
89+
90+
.nav-group {
91+
margin-bottom: 18px;
92+
}
93+
94+
.nav-group h3 {
95+
margin: 0 0 8px 0;
96+
font-size: 12px;
97+
letter-spacing: 0.04em;
98+
text-transform: uppercase;
99+
color: var(--text-muted);
100+
}
101+
102+
.nav-group ul {
103+
margin: 0;
104+
padding: 0;
105+
list-style: none;
106+
}
107+
108+
.nav-group li {
109+
margin: 6px 0;
110+
}
111+
112+
.content {
113+
padding: 28px 40px 52px;
114+
}
115+
116+
.card {
117+
background: var(--surface);
118+
border: 1px solid var(--border);
119+
border-radius: 8px;
120+
padding: 22px 24px;
121+
}
122+
123+
h1 {
124+
margin-top: 0;
125+
margin-bottom: 12px;
126+
font-size: 28px;
127+
}
128+
129+
h2 {
130+
margin-top: 26px;
131+
margin-bottom: 8px;
132+
font-size: 21px;
133+
}
134+
135+
h3 {
136+
margin-top: 18px;
137+
margin-bottom: 8px;
138+
font-size: 17px;
139+
}
140+
141+
p {
142+
margin: 0 0 12px 0;
143+
}
144+
145+
pre {
146+
background: var(--pre-bg);
147+
border: 1px solid var(--border);
148+
border-radius: 6px;
149+
padding: 12px;
150+
overflow: auto;
151+
}
152+
153+
code {
154+
font-family: Consolas, "Courier New", monospace;
155+
font-size: 0.92em;
156+
}
157+
158+
table {
159+
width: 100%;
160+
border-collapse: collapse;
161+
margin: 8px 0 16px;
162+
}
163+
164+
th,
165+
td {
166+
border: 1px solid var(--border);
167+
padding: 8px 10px;
168+
text-align: left;
169+
}
170+
171+
th {
172+
background: var(--th-bg);
173+
}
174+
175+
.tag {
176+
display: inline-block;
177+
font-size: 12px;
178+
background: var(--tag-bg);
179+
color: var(--tag-text);
180+
padding: 2px 8px;
181+
border-radius: 999px;
182+
margin-right: 6px;
183+
margin-bottom: 4px;
184+
}
185+
186+
.muted {
187+
color: var(--text-muted);
188+
}
189+
190+
@media (max-width: 900px) {
191+
.layout {
192+
grid-template-columns: 1fr;
193+
}
194+
195+
.sidebar {
196+
position: static;
197+
height: auto;
198+
border-right: none;
199+
border-bottom: 1px solid var(--border);
200+
}
201+
202+
.content {
203+
padding: 20px 14px 36px;
204+
}
205+
}

0 commit comments

Comments
 (0)