minecraft-datapack-language 17.0.10__py3-none-any.whl → 17.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- minecraft_datapack_language/_embedded/docs/404.html +42 -0
- minecraft_datapack_language/_embedded/docs/Gemfile +26 -0
- minecraft_datapack_language/_embedded/docs/README.md +84 -0
- minecraft_datapack_language/_embedded/docs/_config.yml +74 -0
- minecraft_datapack_language/_embedded/docs/_data/version.yml +3 -0
- minecraft_datapack_language/_embedded/docs/_docs/cli-reference.md +506 -0
- minecraft_datapack_language/_embedded/docs/_docs/contributing.md +352 -0
- minecraft_datapack_language/_embedded/docs/_docs/docs-hub.md +266 -0
- minecraft_datapack_language/_embedded/docs/_docs/documentation.md +135 -0
- minecraft_datapack_language/_embedded/docs/_docs/examples.md +194 -0
- minecraft_datapack_language/_embedded/docs/_docs/getting-started.md +230 -0
- minecraft_datapack_language/_embedded/docs/_docs/language-reference.md +1637 -0
- minecraft_datapack_language/_embedded/docs/_docs/multi-file-projects.md +221 -0
- minecraft_datapack_language/_embedded/docs/_docs/python-bindings.md +446 -0
- minecraft_datapack_language/_embedded/docs/_docs/vscode-extension.md +381 -0
- minecraft_datapack_language/_embedded/docs/_includes/head-custom.html +983 -0
- minecraft_datapack_language/_embedded/docs/_includes/navigation.html +362 -0
- minecraft_datapack_language/_embedded/docs/_layouts/default.html +27 -0
- minecraft_datapack_language/_embedded/docs/_layouts/page.html +281 -0
- minecraft_datapack_language/_embedded/docs/_plugins/test_version.rb +13 -0
- minecraft_datapack_language/_embedded/docs/_plugins/version_reader.rb +37 -0
- minecraft_datapack_language/_embedded/docs/assets/css/style.css +211 -0
- minecraft_datapack_language/_embedded/docs/docs.md +134 -0
- minecraft_datapack_language/_embedded/docs/downloads.md +444 -0
- minecraft_datapack_language/_embedded/docs/icons/favicon-16.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/favicon-32.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/favicon-48.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/favicon-64.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/icon-1024.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/icon-128.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/icon-256.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/icon-512.png +0 -0
- minecraft_datapack_language/_embedded/docs/icons/icon-64.png +0 -0
- minecraft_datapack_language/_embedded/docs/index.md +378 -0
- minecraft_datapack_language/_version.py +2 -2
- minecraft_datapack_language/cli.py +5 -1
- {minecraft_datapack_language-17.0.10.dist-info → minecraft_datapack_language-17.0.12.dist-info}/METADATA +1 -1
- minecraft_datapack_language-17.0.12.dist-info/RECORD +56 -0
- minecraft_datapack_language-17.0.10.dist-info/RECORD +0 -22
- {minecraft_datapack_language-17.0.10.dist-info → minecraft_datapack_language-17.0.12.dist-info}/WHEEL +0 -0
- {minecraft_datapack_language-17.0.10.dist-info → minecraft_datapack_language-17.0.12.dist-info}/entry_points.txt +0 -0
- {minecraft_datapack_language-17.0.10.dist-info → minecraft_datapack_language-17.0.12.dist-info}/licenses/LICENSE +0 -0
- {minecraft_datapack_language-17.0.10.dist-info → minecraft_datapack_language-17.0.12.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,983 @@
|
|
1
|
+
<!-- Custom head content -->
|
2
|
+
<!-- viewport is defined in layouts; avoid duplicates that can cause inconsistencies -->
|
3
|
+
|
4
|
+
<!-- Favicon -->
|
5
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/icons/favicon-32.png' | relative_url }}">
|
6
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/icons/favicon-16.png' | relative_url }}">
|
7
|
+
<link rel="icon" type="image/png" sizes="64x64" href="{{ '/icons/favicon-64.png' | relative_url }}">
|
8
|
+
<link rel="icon" type="image/png" sizes="48x48" href="{{ '/icons/favicon-48.png' | relative_url }}">
|
9
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/icons/icon-128.png' | relative_url }}">
|
10
|
+
<meta name="theme-color" content="#0366d6">
|
11
|
+
|
12
|
+
<!-- Syntax highlighting for code blocks -->
|
13
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css">
|
14
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" id="prism-dark-theme" disabled>
|
15
|
+
|
16
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
|
17
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
18
|
+
|
19
|
+
<script>
|
20
|
+
// Configure Prism autoloader
|
21
|
+
window.Prism = window.Prism || {};
|
22
|
+
Prism.plugins = Prism.plugins || {};
|
23
|
+
Prism.plugins.autoloader = Prism.plugins.autoloader || {};
|
24
|
+
Prism.plugins.autoloader.languages_path = 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/';
|
25
|
+
|
26
|
+
// Custom MDL language definition
|
27
|
+
console.log('Defining MDL language patterns...');
|
28
|
+
Prism.languages.mdl = {
|
29
|
+
'comment': [
|
30
|
+
{
|
31
|
+
pattern: /\/\*[\s\S]*?\*\//,
|
32
|
+
greedy: true
|
33
|
+
},
|
34
|
+
{
|
35
|
+
pattern: /\/\/.*/,
|
36
|
+
greedy: true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
'string': [
|
40
|
+
{
|
41
|
+
pattern: /"([^"\\]|\\.)*"/,
|
42
|
+
greedy: true
|
43
|
+
},
|
44
|
+
{
|
45
|
+
pattern: /'([^'\\]|\\.)*'/,
|
46
|
+
greedy: true
|
47
|
+
}
|
48
|
+
],
|
49
|
+
'raw-block': {
|
50
|
+
pattern: /\$!raw[\s\S]*?raw!\$/,
|
51
|
+
greedy: true,
|
52
|
+
inside: {
|
53
|
+
'raw-keyword': /\$!raw|raw!\$/
|
54
|
+
}
|
55
|
+
},
|
56
|
+
'keyword': {
|
57
|
+
pattern: /\b(pack|namespace|function|on_tick|on_load|tag|if|else|while|scheduledwhile|var|num|exec|with|recipe|loot_table|advancement|predicate|item_modifier|structure)\b/
|
58
|
+
},
|
59
|
+
'builtin': {
|
60
|
+
pattern: /\b(say|tellraw|effect|particle|execute|scoreboard|data|function|tag|tp|kill|summon|give|clear|enchant|gamemode|weather|time|difficulty|gamerule|title|playsound|stopsound|kick|ban|ban-ip|pardon|pardon-ip|whitelist|op|deop|save-all|save-off|save-on|list|me|msg|team|trigger|advancement|recipe|loot|schedule|return|run|fill|setblock|clone|teleport|spreadplayers|worldborder|xp|experience|replaceitem|clear|testfor|testforblock|testforblocks|stats|blockdata|entitydata|setworldspawn|setidletimeout|stop|save|save-all|save-off|save-on|whitelist|ban|ban-ip|pardon|pardon-ip|kick|op|deop|list|me|msg|tell|w|say|broadcast|help|version|reload|debug|seed|defaultgamemode|difficulty|gamemode|gamerule|publish|spawnpoint|setworldspawn|time|toggledownfall|weather|xp|experience|achievement|advancement|bossbar|clear|clone|data|datapack|debug|defaultgamemode|difficulty|effect|enchant|execute|experience|fill|forceload|function|gamemode|gamerule|give|help|item|kick|kill|list|locate|me|msg|op|pardon|particle|playsound|publish|recipe|reload|replaceitem|save|save-all|save-off|save-on|say|schedule|scoreboard|seed|setblock|setidletimeout|setworldspawn|spawnpoint|spreadplayers|stop|summon|tag|team|teleport|tell|tellraw|time|title|toggledownfall|tp|trigger|weather|whitelist|worldborder|xp)\b/
|
61
|
+
},
|
62
|
+
'selector': {
|
63
|
+
pattern: /\b(@p|@r|@a|@e|@s|@initiator|@c|@v|@d|@w)\b/
|
64
|
+
},
|
65
|
+
'boolean': {
|
66
|
+
pattern: /\b(true|false|null|undefined)\b/
|
67
|
+
},
|
68
|
+
'number': {
|
69
|
+
pattern: /\b\d+(?:\.\d+)?\b/
|
70
|
+
},
|
71
|
+
'operator-comparison': {
|
72
|
+
pattern: /(==|!=|<=|>=|<|>)/
|
73
|
+
},
|
74
|
+
'operator-logical': {
|
75
|
+
pattern: /(&&|\|\||!)/
|
76
|
+
},
|
77
|
+
'operator-assignment': {
|
78
|
+
pattern: /=/
|
79
|
+
},
|
80
|
+
'operator-arithmetic': {
|
81
|
+
pattern: /(\+|\-|\*|\/)/
|
82
|
+
},
|
83
|
+
'range': {
|
84
|
+
pattern: /\.\./
|
85
|
+
},
|
86
|
+
// Scope blocks like <global> or <@e[tag=...]>
|
87
|
+
'scope': {
|
88
|
+
pattern: /<[^>]+>/,
|
89
|
+
inside: {
|
90
|
+
'global': /\bglobal\b/,
|
91
|
+
'selector': /@p|@r|@a|@e|@s|@initiator|@c|@v|@d|@w/,
|
92
|
+
'selector-args': /\[[^\]]*\]/,
|
93
|
+
'tag-attr': /tag\s*=\s*[A-Za-z0-9_\-]+/
|
94
|
+
}
|
95
|
+
},
|
96
|
+
// Variable substitution like $var<scope>$
|
97
|
+
'varsub': {
|
98
|
+
pattern: /\$[A-Za-z_][A-Za-z0-9_]*<[^>]+>\$/,
|
99
|
+
inside: {
|
100
|
+
'punctuation': /\$|<|>/,
|
101
|
+
'variable': /[A-Za-z_][A-Za-z0-9_]*/,
|
102
|
+
'scope': {
|
103
|
+
pattern: /<[^>]+>/,
|
104
|
+
inside: {
|
105
|
+
'global': /\bglobal\b/,
|
106
|
+
'selector': /@p|@r|@a|@e|@s|@initiator|@c|@v|@d|@w/,
|
107
|
+
'selector-args': /\[[^\]]*\]/,
|
108
|
+
'tag-attr': /tag\s*=\s*[A-Za-z0-9_\-]+/
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
},
|
113
|
+
// Macro line (single-line) starting with $ but not $!raw
|
114
|
+
'macro-line': {
|
115
|
+
pattern: /^\s*\$(?!!raw).*$/m
|
116
|
+
},
|
117
|
+
'punctuation': /[{}();[\]]/
|
118
|
+
};
|
119
|
+
|
120
|
+
console.log('MDL language patterns defined:', Object.keys(Prism.languages.mdl));
|
121
|
+
|
122
|
+
// mcfunction fallback
|
123
|
+
Prism.languages.mcfunction = Prism.languages.none;
|
124
|
+
|
125
|
+
// Simple theme management
|
126
|
+
function initializeTheme() {
|
127
|
+
const html = document.documentElement;
|
128
|
+
const savedTheme = localStorage.getItem('theme');
|
129
|
+
const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
130
|
+
|
131
|
+
// Set initial theme
|
132
|
+
if (savedTheme) {
|
133
|
+
html.setAttribute('data-theme', savedTheme);
|
134
|
+
} else if (systemPrefersDark) {
|
135
|
+
html.setAttribute('data-theme', 'dark');
|
136
|
+
} else {
|
137
|
+
html.setAttribute('data-theme', 'light');
|
138
|
+
}
|
139
|
+
|
140
|
+
// Update Prism theme
|
141
|
+
updatePrismTheme();
|
142
|
+
|
143
|
+
// Highlight all code blocks
|
144
|
+
if (typeof Prism !== 'undefined') {
|
145
|
+
console.log('Prism found, highlighting all...');
|
146
|
+
Prism.highlightAll();
|
147
|
+
|
148
|
+
// Debug: Check for MDL code blocks
|
149
|
+
const mdlBlocks = document.querySelectorAll('pre code.language-mdl');
|
150
|
+
console.log('Found MDL code blocks:', mdlBlocks.length);
|
151
|
+
|
152
|
+
// Force highlight MDL blocks specifically
|
153
|
+
mdlBlocks.forEach(function(block, index) {
|
154
|
+
console.log('Highlighting MDL block', index, ':', block.textContent.substring(0, 50));
|
155
|
+
Prism.highlightElement(block);
|
156
|
+
|
157
|
+
// Debug: Analyze the highlighted tokens
|
158
|
+
console.log('=== MDL Block', index, 'Token Analysis ===');
|
159
|
+
const tokens = block.querySelectorAll('.token');
|
160
|
+
console.log('Total tokens found:', tokens.length);
|
161
|
+
|
162
|
+
tokens.forEach(function(token, tokenIndex) {
|
163
|
+
const classes = Array.from(token.classList);
|
164
|
+
const tokenTypes = classes.filter(cls => cls !== 'token' && cls.startsWith('token-')).map(cls => cls.replace('token-', ''));
|
165
|
+
console.log(`Token ${tokenIndex}: "${token.textContent}" -> Types: [${tokenTypes.join(', ')}] -> Classes: [${classes.join(', ')}]`);
|
166
|
+
});
|
167
|
+
console.log('=== End Block', index, '===');
|
168
|
+
});
|
169
|
+
} else {
|
170
|
+
console.log('Prism not found!');
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
function updatePrismTheme() {
|
175
|
+
const darkTheme = document.getElementById('prism-dark-theme');
|
176
|
+
const lightTheme = document.querySelector('link[href*="prism.min.css"]');
|
177
|
+
const isDark = document.documentElement.getAttribute('data-theme') === 'dark';
|
178
|
+
|
179
|
+
if (isDark) {
|
180
|
+
if (lightTheme) lightTheme.disabled = true;
|
181
|
+
if (darkTheme) darkTheme.disabled = false;
|
182
|
+
} else {
|
183
|
+
if (lightTheme) lightTheme.disabled = false;
|
184
|
+
if (darkTheme) darkTheme.disabled = true;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
// Initialize when DOM is ready
|
189
|
+
if (document.readyState === 'loading') {
|
190
|
+
document.addEventListener('DOMContentLoaded', initializeTheme);
|
191
|
+
} else {
|
192
|
+
initializeTheme();
|
193
|
+
}
|
194
|
+
|
195
|
+
// Listen for theme changes
|
196
|
+
document.addEventListener('themeChanged', updatePrismTheme);
|
197
|
+
</script>
|
198
|
+
|
199
|
+
<!-- Professional Header Styling - Override Cayman Theme -->
|
200
|
+
<style>
|
201
|
+
/* Override Cayman theme's cartoony fonts with professional system fonts */
|
202
|
+
body, html {
|
203
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
204
|
+
font-weight: 400 !important;
|
205
|
+
line-height: 1.6 !important;
|
206
|
+
}
|
207
|
+
|
208
|
+
h1, h2, h3, h4, h5, h6 {
|
209
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
210
|
+
color: #24292e !important;
|
211
|
+
font-weight: 600 !important;
|
212
|
+
text-shadow: none !important;
|
213
|
+
letter-spacing: -0.025em !important;
|
214
|
+
}
|
215
|
+
|
216
|
+
h1 {
|
217
|
+
color: #1a1a1a !important;
|
218
|
+
font-weight: 700 !important;
|
219
|
+
font-size: 2.25rem !important;
|
220
|
+
}
|
221
|
+
|
222
|
+
h2 {
|
223
|
+
color: #24292e !important;
|
224
|
+
font-weight: 600 !important;
|
225
|
+
font-size: 1.875rem !important;
|
226
|
+
}
|
227
|
+
|
228
|
+
h3 {
|
229
|
+
color: #2f363d !important;
|
230
|
+
font-weight: 600 !important;
|
231
|
+
font-size: 1.5rem !important;
|
232
|
+
}
|
233
|
+
|
234
|
+
h4, h5, h6 {
|
235
|
+
color: #586069 !important;
|
236
|
+
font-weight: 600 !important;
|
237
|
+
font-size: 1.25rem !important;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Page header styling */
|
241
|
+
.page-header {
|
242
|
+
background: linear-gradient(135deg, #0366d6 0%, #1f4e79 100%) !important;
|
243
|
+
color: #ffffff !important;
|
244
|
+
}
|
245
|
+
|
246
|
+
.page-header h1 {
|
247
|
+
color: #ffffff !important;
|
248
|
+
border-bottom: none !important;
|
249
|
+
text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
|
250
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
251
|
+
}
|
252
|
+
|
253
|
+
.page-header h2 {
|
254
|
+
color: #e6f3ff !important;
|
255
|
+
border-bottom: none !important;
|
256
|
+
text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
|
257
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
258
|
+
}
|
259
|
+
|
260
|
+
/* Override any remaining Cayman theme fonts */
|
261
|
+
.main-content, .post, .page-content {
|
262
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
263
|
+
}
|
264
|
+
|
265
|
+
/* Navigation and sidebar fonts */
|
266
|
+
.nav, .sidebar, .breadcrumb, .doc-card, .feature {
|
267
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
268
|
+
}
|
269
|
+
|
270
|
+
/* Code blocks keep monospace fonts */
|
271
|
+
pre, code, .highlight {
|
272
|
+
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace !important;
|
273
|
+
}
|
274
|
+
|
275
|
+
/* Dark mode header overrides */
|
276
|
+
[data-theme="dark"] h1,
|
277
|
+
[data-theme="dark"] h2,
|
278
|
+
[data-theme="dark"] h3,
|
279
|
+
[data-theme="dark"] h4,
|
280
|
+
[data-theme="dark"] h5,
|
281
|
+
[data-theme="dark"] h6 {
|
282
|
+
color: #e6edf3 !important;
|
283
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
|
284
|
+
}
|
285
|
+
|
286
|
+
/* Remove all underlines from headers - override Cayman theme defaults */
|
287
|
+
.post-title {
|
288
|
+
border-bottom: none !important;
|
289
|
+
padding-bottom: 0 !important;
|
290
|
+
margin-bottom: 0 !important;
|
291
|
+
}
|
292
|
+
|
293
|
+
[data-theme="dark"] .page-header {
|
294
|
+
background: linear-gradient(135deg, #0d1117 0%, #161b22 100%) !important;
|
295
|
+
}
|
296
|
+
|
297
|
+
[data-theme="dark"] .page-header h1 {
|
298
|
+
color: #ffffff !important;
|
299
|
+
}
|
300
|
+
|
301
|
+
[data-theme="dark"] .page-header h2 {
|
302
|
+
color: #c9d1d9 !important;
|
303
|
+
}
|
304
|
+
|
305
|
+
/* Dark mode styles */
|
306
|
+
[data-theme="dark"] {
|
307
|
+
background-color: #0d1117 !important;
|
308
|
+
color: #c9d1d9 !important;
|
309
|
+
}
|
310
|
+
|
311
|
+
[data-theme="dark"] body {
|
312
|
+
background-color: #0d1117 !important;
|
313
|
+
color: #c9d1d9 !important;
|
314
|
+
}
|
315
|
+
|
316
|
+
[data-theme="dark"] .main-content {
|
317
|
+
background-color: #0d1117 !important;
|
318
|
+
color: #c9d1d9 !important;
|
319
|
+
}
|
320
|
+
|
321
|
+
[data-theme="dark"] .post {
|
322
|
+
background-color: #0d1117 !important;
|
323
|
+
color: #c9d1d9 !important;
|
324
|
+
}
|
325
|
+
|
326
|
+
[data-theme="dark"] .post h1,
|
327
|
+
[data-theme="dark"] .post h2,
|
328
|
+
[data-theme="dark"] .post h3,
|
329
|
+
[data-theme="dark"] .post h4,
|
330
|
+
[data-theme="dark"] .post h5,
|
331
|
+
[data-theme="dark"] .post h6 {
|
332
|
+
color: #e6edf3 !important;
|
333
|
+
}
|
334
|
+
|
335
|
+
[data-theme="dark"] .post p,
|
336
|
+
[data-theme="dark"] .post li {
|
337
|
+
color: #c9d1d9 !important;
|
338
|
+
}
|
339
|
+
|
340
|
+
[data-theme="dark"] .post a {
|
341
|
+
color: #ffffff !important;
|
342
|
+
}
|
343
|
+
|
344
|
+
[data-theme="dark"] .post a:hover {
|
345
|
+
color: #e6edf3 !important;
|
346
|
+
}
|
347
|
+
|
348
|
+
[data-theme="dark"] h1,
|
349
|
+
[data-theme="dark"] h2,
|
350
|
+
[data-theme="dark"] h3,
|
351
|
+
[data-theme="dark"] h4,
|
352
|
+
[data-theme="dark"] h5,
|
353
|
+
[data-theme="dark"] h6 {
|
354
|
+
color: #e6edf3 !important;
|
355
|
+
}
|
356
|
+
|
357
|
+
[data-theme="dark"] p,
|
358
|
+
[data-theme="dark"] li {
|
359
|
+
color: #c9d1d9 !important;
|
360
|
+
}
|
361
|
+
|
362
|
+
[data-theme="dark"] a {
|
363
|
+
color: #ffffff !important;
|
364
|
+
}
|
365
|
+
|
366
|
+
[data-theme="dark"] a:hover {
|
367
|
+
color: #e6edf3 !important;
|
368
|
+
}
|
369
|
+
|
370
|
+
[data-theme="dark"] code {
|
371
|
+
color: #e6edf3 !important;
|
372
|
+
}
|
373
|
+
|
374
|
+
[data-theme="dark"] pre {
|
375
|
+
background-color: #161b22 !important;
|
376
|
+
border-color: #30363d !important;
|
377
|
+
color: #e6edf3 !important;
|
378
|
+
}
|
379
|
+
|
380
|
+
[data-theme="dark"] .highlight {
|
381
|
+
background-color: #161b22 !important;
|
382
|
+
border-color: #30363d !important;
|
383
|
+
}
|
384
|
+
|
385
|
+
[data-theme="dark"] .highlight pre {
|
386
|
+
background-color: #161b22 !important;
|
387
|
+
color: #e6edf3 !important;
|
388
|
+
}
|
389
|
+
|
390
|
+
[data-theme="dark"] .highlight code {
|
391
|
+
background-color: transparent !important;
|
392
|
+
color: #e6edf3 !important;
|
393
|
+
}
|
394
|
+
|
395
|
+
[data-theme="dark"] table {
|
396
|
+
background-color: #161b22 !important;
|
397
|
+
border-color: #30363d !important;
|
398
|
+
}
|
399
|
+
|
400
|
+
[data-theme="dark"] th {
|
401
|
+
background-color: #21262d !important;
|
402
|
+
border-color: #30363d !important;
|
403
|
+
color: #e6edf3 !important;
|
404
|
+
}
|
405
|
+
|
406
|
+
[data-theme="dark"] td {
|
407
|
+
border-color: #30363d !important;
|
408
|
+
color: #c9d1d9 !important;
|
409
|
+
}
|
410
|
+
|
411
|
+
[data-theme="dark"] blockquote {
|
412
|
+
background-color: #161b22 !important;
|
413
|
+
border-left-color: #58a6ff !important;
|
414
|
+
color: #c9d1d9 !important;
|
415
|
+
}
|
416
|
+
|
417
|
+
[data-theme="dark"] hr {
|
418
|
+
border-color: #30363d !important;
|
419
|
+
}
|
420
|
+
|
421
|
+
[data-theme="dark"] .site-footer {
|
422
|
+
background-color: #161b22 !important;
|
423
|
+
color: #c9d1d9 !important;
|
424
|
+
border-top-color: #30363d !important;
|
425
|
+
}
|
426
|
+
|
427
|
+
[data-theme="dark"] .site-footer a {
|
428
|
+
color: #ffffff !important;
|
429
|
+
}
|
430
|
+
|
431
|
+
[data-theme="dark"] .site-footer a:hover {
|
432
|
+
color: #e6edf3 !important;
|
433
|
+
}
|
434
|
+
|
435
|
+
/* MDL Syntax Highlighting - Light Mode */
|
436
|
+
pre code.language-mdl .token.keyword,
|
437
|
+
code.language-mdl .token.keyword,
|
438
|
+
.language-mdl .token.keyword {
|
439
|
+
color: #d73a49 !important;
|
440
|
+
font-weight: 600 !important;
|
441
|
+
}
|
442
|
+
|
443
|
+
pre code.language-mdl .token.builtin,
|
444
|
+
code.language-mdl .token.builtin,
|
445
|
+
.language-mdl .token.builtin {
|
446
|
+
color: #6f42c1 !important;
|
447
|
+
font-weight: 500 !important;
|
448
|
+
}
|
449
|
+
|
450
|
+
pre code.language-mdl .token.selector,
|
451
|
+
code.language-mdl .token.selector,
|
452
|
+
.language-mdl .token.selector {
|
453
|
+
color: #e36209 !important;
|
454
|
+
font-weight: 600 !important;
|
455
|
+
}
|
456
|
+
|
457
|
+
pre code.language-mdl .token.string,
|
458
|
+
code.language-mdl .token.string,
|
459
|
+
.language-mdl .token.string {
|
460
|
+
color: #032f62 !important;
|
461
|
+
}
|
462
|
+
|
463
|
+
pre code.language-mdl .token.comment,
|
464
|
+
code.language-mdl .token.comment,
|
465
|
+
.language-mdl .token.comment {
|
466
|
+
color: #6a737d !important;
|
467
|
+
font-style: italic !important;
|
468
|
+
}
|
469
|
+
|
470
|
+
pre code.language-mdl .token.number,
|
471
|
+
code.language-mdl .token.number,
|
472
|
+
.language-mdl .token.number {
|
473
|
+
color: #005cc5 !important;
|
474
|
+
font-weight: 500 !important;
|
475
|
+
}
|
476
|
+
|
477
|
+
pre code.language-mdl .token.boolean,
|
478
|
+
code.language-mdl .token.boolean,
|
479
|
+
.language-mdl .token.boolean {
|
480
|
+
color: #005cc5 !important;
|
481
|
+
font-weight: 500 !important;
|
482
|
+
}
|
483
|
+
|
484
|
+
pre code.language-mdl .token.operator,
|
485
|
+
code.language-mdl .token.operator,
|
486
|
+
.language-mdl .token.operator {
|
487
|
+
color: #d73a49 !important;
|
488
|
+
font-weight: 500 !important;
|
489
|
+
}
|
490
|
+
|
491
|
+
pre code.language-mdl .token.punctuation,
|
492
|
+
code.language-mdl .token.punctuation,
|
493
|
+
.language-mdl .token.punctuation {
|
494
|
+
color: #24292e !important;
|
495
|
+
}
|
496
|
+
|
497
|
+
/* MDL Syntax Highlighting - Dark Mode */
|
498
|
+
[data-theme="dark"] pre code.language-mdl .token.keyword,
|
499
|
+
[data-theme="dark"] code.language-mdl .token.keyword,
|
500
|
+
[data-theme="dark"] .language-mdl .token.keyword {
|
501
|
+
color: #ff7b72 !important;
|
502
|
+
}
|
503
|
+
|
504
|
+
[data-theme="dark"] pre code.language-mdl .token.builtin,
|
505
|
+
[data-theme="dark"] code.language-mdl .token.builtin,
|
506
|
+
[data-theme="dark"] .language-mdl .token.builtin {
|
507
|
+
color: #d2a8ff !important;
|
508
|
+
}
|
509
|
+
|
510
|
+
[data-theme="dark"] pre code.language-mdl .token.selector,
|
511
|
+
[data-theme="dark"] code.language-mdl .token.selector,
|
512
|
+
[data-theme="dark"] .language-mdl .token.selector {
|
513
|
+
color: #ffa657 !important;
|
514
|
+
}
|
515
|
+
|
516
|
+
[data-theme="dark"] pre code.language-mdl .token.string,
|
517
|
+
[data-theme="dark"] code.language-mdl .token.string,
|
518
|
+
[data-theme="dark"] .language-mdl .token.string {
|
519
|
+
color: #a5d6ff !important;
|
520
|
+
}
|
521
|
+
|
522
|
+
[data-theme="dark"] pre code.language-mdl .token.comment,
|
523
|
+
[data-theme="dark"] code.language-mdl .token.comment,
|
524
|
+
[data-theme="dark"] .language-mdl .token.comment {
|
525
|
+
color: #8b949e !important;
|
526
|
+
}
|
527
|
+
|
528
|
+
[data-theme="dark"] pre code.language-mdl .token.number,
|
529
|
+
[data-theme="dark"] code.language-mdl .token.number,
|
530
|
+
[data-theme="dark"] .language-mdl .token.number {
|
531
|
+
color: #79c0ff !important;
|
532
|
+
}
|
533
|
+
|
534
|
+
[data-theme="dark"] pre code.language-mdl .token.boolean,
|
535
|
+
[data-theme="dark"] code.language-mdl .token.boolean,
|
536
|
+
[data-theme="dark"] .language-mdl .token.boolean {
|
537
|
+
color: #79c0ff !important;
|
538
|
+
}
|
539
|
+
|
540
|
+
[data-theme="dark"] pre code.language-mdl .token.operator,
|
541
|
+
[data-theme="dark"] code.language-mdl .token.operator,
|
542
|
+
[data-theme="dark"] .language-mdl .token.operator {
|
543
|
+
color: #ff7b72 !important;
|
544
|
+
}
|
545
|
+
|
546
|
+
[data-theme="dark"] pre code.language-mdl .token.punctuation,
|
547
|
+
[data-theme="dark"] code.language-mdl .token.punctuation,
|
548
|
+
[data-theme="dark"] .language-mdl .token.punctuation {
|
549
|
+
color: #c9d1d9 !important;
|
550
|
+
}
|
551
|
+
|
552
|
+
/* Override any default Prism colors for MDL */
|
553
|
+
.language-mdl .token {
|
554
|
+
color: #24292e !important;
|
555
|
+
}
|
556
|
+
|
557
|
+
[data-theme="dark"] .language-mdl .token {
|
558
|
+
color: #c9d1d9 !important;
|
559
|
+
}
|
560
|
+
|
561
|
+
/* Raw Block Highlighting */
|
562
|
+
pre code.language-mdl .token.raw-block,
|
563
|
+
code.language-mdl .token.raw-block,
|
564
|
+
.language-mdl .token.raw-block {
|
565
|
+
display: block !important;
|
566
|
+
background-color: #f6f8fa !important;
|
567
|
+
border: 1px solid #e1e4e8 !important;
|
568
|
+
border-radius: 4px !important;
|
569
|
+
padding: 0.25rem 0.5rem !important;
|
570
|
+
margin: 0.125rem 0 !important;
|
571
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
|
572
|
+
position: relative !important;
|
573
|
+
}
|
574
|
+
|
575
|
+
[data-theme="dark"] pre code.language-mdl .token.raw-block,
|
576
|
+
[data-theme="dark"] code.language-mdl .token.raw-block,
|
577
|
+
[data-theme="dark"] .language-mdl .token.raw-block {
|
578
|
+
background-color: #21262d !important;
|
579
|
+
border-color: #30363d !important;
|
580
|
+
}
|
581
|
+
|
582
|
+
pre code.language-mdl .token.raw-keyword,
|
583
|
+
code.language-mdl .token.raw-keyword,
|
584
|
+
.language-mdl .token.raw-keyword {
|
585
|
+
color: #d73a49 !important;
|
586
|
+
font-weight: 600 !important;
|
587
|
+
}
|
588
|
+
|
589
|
+
[data-theme="dark"] pre code.language-mdl .token.raw-keyword,
|
590
|
+
[data-theme="dark"] code.language-mdl .token.raw-keyword,
|
591
|
+
[data-theme="dark"] .language-mdl .token.raw-keyword {
|
592
|
+
color: #ff7b72 !important;
|
593
|
+
}
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
pre code.language-mdl .token.function,
|
598
|
+
code.language-mdl .token.function,
|
599
|
+
.language-mdl .token.function {
|
600
|
+
color: #6f42c1 !important;
|
601
|
+
font-weight: 600 !important;
|
602
|
+
}
|
603
|
+
|
604
|
+
[data-theme="dark"] pre code.language-mdl .token.function,
|
605
|
+
[data-theme="dark"] code.language-mdl .token.function,
|
606
|
+
[data-theme="dark"] .language-mdl .token.function {
|
607
|
+
color: #d2a8ff !important;
|
608
|
+
}
|
609
|
+
|
610
|
+
pre code.language-mdl .token.variable,
|
611
|
+
code.language-mdl .token.variable,
|
612
|
+
.language-mdl .token.variable {
|
613
|
+
color: #e36209 !important;
|
614
|
+
font-weight: 500 !important;
|
615
|
+
}
|
616
|
+
|
617
|
+
[data-theme="dark"] pre code.language-mdl .token.variable,
|
618
|
+
[data-theme="dark"] code.language-mdl .token.variable,
|
619
|
+
[data-theme="dark"] .language-mdl .token.variable {
|
620
|
+
color: #ffa657 !important;
|
621
|
+
}
|
622
|
+
|
623
|
+
pre code.language-mdl .token.property,
|
624
|
+
code.language-mdl .token.property,
|
625
|
+
.language-mdl .token.property {
|
626
|
+
color: #005cc5 !important;
|
627
|
+
font-weight: 500 !important;
|
628
|
+
}
|
629
|
+
|
630
|
+
[data-theme="dark"] pre code.language-mdl .token.property,
|
631
|
+
[data-theme="dark"] code.language-mdl .token.property,
|
632
|
+
[data-theme="dark"] .language-mdl .token.property {
|
633
|
+
color: #79c0ff !important;
|
634
|
+
}
|
635
|
+
|
636
|
+
/* mcfunction Syntax Highlighting */
|
637
|
+
pre code.language-mcfunction .token.keyword,
|
638
|
+
code.language-mcfunction .token.keyword,
|
639
|
+
.language-mcfunction .token.keyword {
|
640
|
+
color: #d73a49 !important;
|
641
|
+
font-weight: 600 !important;
|
642
|
+
}
|
643
|
+
|
644
|
+
[data-theme="dark"] pre code.language-mcfunction .token.keyword,
|
645
|
+
[data-theme="dark"] code.language-mcfunction .token.keyword,
|
646
|
+
[data-theme="dark"] .language-mcfunction .token.keyword {
|
647
|
+
color: #ff7b72 !important;
|
648
|
+
}
|
649
|
+
|
650
|
+
pre code.language-mcfunction .token.builtin,
|
651
|
+
code.language-mcfunction .token.builtin,
|
652
|
+
.language-mcfunction .token.builtin {
|
653
|
+
color: #6f42c1 !important;
|
654
|
+
font-weight: 500 !important;
|
655
|
+
}
|
656
|
+
|
657
|
+
[data-theme="dark"] pre code.language-mcfunction .token.builtin,
|
658
|
+
[data-theme="dark"] code.language-mcfunction .token.builtin,
|
659
|
+
[data-theme="dark"] .language-mcfunction .token.builtin {
|
660
|
+
color: #d2a8ff !important;
|
661
|
+
}
|
662
|
+
|
663
|
+
pre code.language-mcfunction .token.selector,
|
664
|
+
code.language-mcfunction .token.selector,
|
665
|
+
.language-mcfunction .token.selector {
|
666
|
+
color: #e36209 !important;
|
667
|
+
font-weight: 600 !important;
|
668
|
+
}
|
669
|
+
|
670
|
+
[data-theme="dark"] pre code.language-mcfunction .token.selector,
|
671
|
+
[data-theme="dark"] code.language-mcfunction .token.selector,
|
672
|
+
[data-theme="dark"] .language-mcfunction .token.selector {
|
673
|
+
color: #ffa657 !important;
|
674
|
+
}
|
675
|
+
|
676
|
+
pre code.language-mcfunction .token.string,
|
677
|
+
code.language-mcfunction .token.string,
|
678
|
+
.language-mcfunction .token.string {
|
679
|
+
color: #032f62 !important;
|
680
|
+
}
|
681
|
+
|
682
|
+
[data-theme="dark"] pre code.language-mcfunction .token.string,
|
683
|
+
[data-theme="dark"] code.language-mcfunction .token.string,
|
684
|
+
[data-theme="dark"] .language-mcfunction .token.string {
|
685
|
+
color: #a5d6ff !important;
|
686
|
+
}
|
687
|
+
|
688
|
+
pre code.language-mcfunction .token.comment,
|
689
|
+
code.language-mcfunction .token.comment,
|
690
|
+
.language-mcfunction .token.comment {
|
691
|
+
color: #6a737d !important;
|
692
|
+
font-style: italic !important;
|
693
|
+
}
|
694
|
+
|
695
|
+
[data-theme="dark"] pre code.language-mcfunction .token.comment,
|
696
|
+
[data-theme="dark"] code.language-mcfunction .token.comment,
|
697
|
+
[data-theme="dark"] .language-mcfunction .token.comment {
|
698
|
+
color: #8b949e !important;
|
699
|
+
}
|
700
|
+
|
701
|
+
pre code.language-mcfunction .token.number,
|
702
|
+
code.language-mcfunction .token.number,
|
703
|
+
.language-mcfunction .token.number {
|
704
|
+
color: #005cc5 !important;
|
705
|
+
font-weight: 500 !important;
|
706
|
+
}
|
707
|
+
|
708
|
+
[data-theme="dark"] pre code.language-mcfunction .token.number,
|
709
|
+
[data-theme="dark"] code.language-mcfunction .token.number,
|
710
|
+
[data-theme="dark"] .language-mcfunction .token.number {
|
711
|
+
color: #79c0ff !important;
|
712
|
+
}
|
713
|
+
|
714
|
+
pre code.language-mcfunction .token.operator,
|
715
|
+
code.language-mcfunction .token.operator,
|
716
|
+
.language-mcfunction .token.operator {
|
717
|
+
color: #d73a49 !important;
|
718
|
+
font-weight: 500 !important;
|
719
|
+
}
|
720
|
+
|
721
|
+
[data-theme="dark"] pre code.language-mcfunction .token.operator,
|
722
|
+
[data-theme="dark"] code.language-mcfunction .token.operator,
|
723
|
+
[data-theme="dark"] .language-mcfunction .token.operator {
|
724
|
+
color: #ff7b72 !important;
|
725
|
+
}
|
726
|
+
|
727
|
+
pre code.language-mcfunction .token.punctuation,
|
728
|
+
code.language-mcfunction .token.punctuation,
|
729
|
+
.language-mcfunction .token.punctuation {
|
730
|
+
color: #24292e !important;
|
731
|
+
}
|
732
|
+
|
733
|
+
[data-theme="dark"] pre code.language-mcfunction .token.punctuation,
|
734
|
+
[data-theme="dark"] code.language-mcfunction .token.punctuation,
|
735
|
+
[data-theme="dark"] .language-mcfunction .token.punctuation {
|
736
|
+
color: #c9d1d9 !important;
|
737
|
+
}
|
738
|
+
|
739
|
+
/* Override any default Prism colors for mcfunction */
|
740
|
+
.language-mcfunction .token {
|
741
|
+
color: #24292e !important;
|
742
|
+
}
|
743
|
+
|
744
|
+
[data-theme="dark"] .language-mcfunction .token {
|
745
|
+
color: #c9d1d9 !important;
|
746
|
+
}
|
747
|
+
|
748
|
+
/* Breadcrumb Navigation Styles */
|
749
|
+
.breadcrumb-nav {
|
750
|
+
background: transparent;
|
751
|
+
border-bottom: none;
|
752
|
+
padding: 1rem 0 0.5rem 0;
|
753
|
+
margin-bottom: 1rem;
|
754
|
+
}
|
755
|
+
|
756
|
+
.breadcrumb {
|
757
|
+
display: flex;
|
758
|
+
align-items: center;
|
759
|
+
list-style: none;
|
760
|
+
margin: 0;
|
761
|
+
padding: 0;
|
762
|
+
gap: 0.5rem;
|
763
|
+
max-width: 1200px;
|
764
|
+
margin: 0 auto;
|
765
|
+
padding: 0 1rem;
|
766
|
+
font-size: 0.9rem;
|
767
|
+
}
|
768
|
+
|
769
|
+
.breadcrumb-item {
|
770
|
+
display: flex;
|
771
|
+
align-items: center;
|
772
|
+
}
|
773
|
+
|
774
|
+
.breadcrumb-item:not(:last-child)::after {
|
775
|
+
content: '›';
|
776
|
+
color: #586069;
|
777
|
+
margin-left: 0.5rem;
|
778
|
+
font-weight: 400;
|
779
|
+
font-size: 1.1rem;
|
780
|
+
}
|
781
|
+
|
782
|
+
[data-theme="dark"] .breadcrumb-item:not(:last-child)::after {
|
783
|
+
color: #8b949e;
|
784
|
+
}
|
785
|
+
|
786
|
+
.breadcrumb-link {
|
787
|
+
display: flex;
|
788
|
+
align-items: center;
|
789
|
+
gap: 0.25rem;
|
790
|
+
color: #586069;
|
791
|
+
text-decoration: none;
|
792
|
+
font-weight: 400;
|
793
|
+
transition: color 0.2s;
|
794
|
+
}
|
795
|
+
|
796
|
+
[data-theme="dark"] .breadcrumb-link {
|
797
|
+
color: #8b949e;
|
798
|
+
}
|
799
|
+
|
800
|
+
.breadcrumb-link:hover {
|
801
|
+
color: #0366d6;
|
802
|
+
text-decoration: none;
|
803
|
+
}
|
804
|
+
|
805
|
+
[data-theme="dark"] .breadcrumb-link:hover {
|
806
|
+
color: #58a6ff;
|
807
|
+
}
|
808
|
+
|
809
|
+
.breadcrumb-icon {
|
810
|
+
width: 16px;
|
811
|
+
height: 16px;
|
812
|
+
flex-shrink: 0;
|
813
|
+
}
|
814
|
+
|
815
|
+
.breadcrumb-item.active {
|
816
|
+
color: #24292e;
|
817
|
+
font-weight: 500;
|
818
|
+
}
|
819
|
+
|
820
|
+
[data-theme="dark"] .breadcrumb-item.active {
|
821
|
+
color: #e6edf3;
|
822
|
+
}
|
823
|
+
|
824
|
+
/* Quick Navigation Styles */
|
825
|
+
.quick-nav {
|
826
|
+
margin: 2rem 0;
|
827
|
+
}
|
828
|
+
|
829
|
+
.doc-card {
|
830
|
+
background: #ffffff;
|
831
|
+
border: 1px solid #e1e4e8;
|
832
|
+
border-radius: 8px;
|
833
|
+
padding: 1.5rem;
|
834
|
+
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
835
|
+
transition: transform 0.2s, box-shadow 0.2s;
|
836
|
+
}
|
837
|
+
|
838
|
+
[data-theme="dark"] .doc-card {
|
839
|
+
background: #161b22;
|
840
|
+
border-color: #30363d;
|
841
|
+
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
842
|
+
}
|
843
|
+
|
844
|
+
.doc-card:hover {
|
845
|
+
transform: translateY(-2px);
|
846
|
+
box-shadow: 0 6px 20px rgba(0,0,0,0.2);
|
847
|
+
}
|
848
|
+
|
849
|
+
[data-theme="dark"] .doc-card:hover {
|
850
|
+
box-shadow: 0 6px 20px rgba(0,0,0,0.4);
|
851
|
+
}
|
852
|
+
|
853
|
+
.doc-card h3 {
|
854
|
+
margin: 0 0 0.5rem 0;
|
855
|
+
color: #24292e;
|
856
|
+
font-size: 1.1rem;
|
857
|
+
}
|
858
|
+
|
859
|
+
[data-theme="dark"] .doc-card h3 {
|
860
|
+
color: #e6edf3;
|
861
|
+
}
|
862
|
+
|
863
|
+
.doc-card p {
|
864
|
+
color: #586069;
|
865
|
+
margin-bottom: 1rem;
|
866
|
+
}
|
867
|
+
|
868
|
+
[data-theme="dark"] .doc-card p {
|
869
|
+
color: #c9d1d9;
|
870
|
+
}
|
871
|
+
|
872
|
+
.doc-meta {
|
873
|
+
display: flex;
|
874
|
+
gap: 0.5rem;
|
875
|
+
margin-bottom: 1rem;
|
876
|
+
flex-wrap: wrap;
|
877
|
+
}
|
878
|
+
|
879
|
+
.category {
|
880
|
+
background: #f1f3f4;
|
881
|
+
color: #586069;
|
882
|
+
padding: 0.25rem 0.5rem;
|
883
|
+
border-radius: 12px;
|
884
|
+
font-size: 0.75rem;
|
885
|
+
font-weight: 500;
|
886
|
+
}
|
887
|
+
|
888
|
+
[data-theme="dark"] .category {
|
889
|
+
background: #21262d;
|
890
|
+
color: #c9d1d9;
|
891
|
+
}
|
892
|
+
|
893
|
+
.doc-link {
|
894
|
+
display: inline-block;
|
895
|
+
color: #0366d6;
|
896
|
+
text-decoration: none;
|
897
|
+
font-weight: 600;
|
898
|
+
border: 2px solid #0366d6;
|
899
|
+
padding: 0.5rem 1rem;
|
900
|
+
border-radius: 6px;
|
901
|
+
transition: all 0.2s ease;
|
902
|
+
}
|
903
|
+
|
904
|
+
[data-theme="dark"] .doc-link {
|
905
|
+
color: #58a6ff;
|
906
|
+
border-color: #58a6ff;
|
907
|
+
}
|
908
|
+
|
909
|
+
.doc-link:hover {
|
910
|
+
background: #0366d6;
|
911
|
+
color: #ffffff;
|
912
|
+
text-decoration: none;
|
913
|
+
}
|
914
|
+
|
915
|
+
[data-theme="dark"] .doc-link:hover {
|
916
|
+
background: #58a6ff;
|
917
|
+
color: #0d1117;
|
918
|
+
}
|
919
|
+
|
920
|
+
/* Feature grid styles */
|
921
|
+
.features {
|
922
|
+
display: grid;
|
923
|
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
924
|
+
gap: 2rem;
|
925
|
+
margin: 2rem 0;
|
926
|
+
}
|
927
|
+
|
928
|
+
.feature {
|
929
|
+
padding: 1.5rem;
|
930
|
+
border: 1px solid #e1e4e8;
|
931
|
+
border-radius: 6px;
|
932
|
+
background: #f6f8fa;
|
933
|
+
text-align: center;
|
934
|
+
}
|
935
|
+
|
936
|
+
[data-theme="dark"] .feature {
|
937
|
+
background: #161b22;
|
938
|
+
border-color: #30363d;
|
939
|
+
}
|
940
|
+
|
941
|
+
.feature h3 {
|
942
|
+
margin-top: 0;
|
943
|
+
color: #24292e;
|
944
|
+
}
|
945
|
+
|
946
|
+
[data-theme="dark"] .feature h3 {
|
947
|
+
color: #e6edf3;
|
948
|
+
}
|
949
|
+
|
950
|
+
.feature p {
|
951
|
+
margin-bottom: 0;
|
952
|
+
color: #586069;
|
953
|
+
}
|
954
|
+
|
955
|
+
[data-theme="dark"] .feature p {
|
956
|
+
color: #c9d1d9;
|
957
|
+
}
|
958
|
+
|
959
|
+
/* Docs grid styles */
|
960
|
+
.docs-grid {
|
961
|
+
display: grid;
|
962
|
+
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
963
|
+
gap: 1.5rem;
|
964
|
+
margin: 2rem 0;
|
965
|
+
}
|
966
|
+
|
967
|
+
/* Responsive design */
|
968
|
+
@media (max-width: 768px) {
|
969
|
+
.features,
|
970
|
+
.docs-grid {
|
971
|
+
grid-template-columns: 1fr;
|
972
|
+
}
|
973
|
+
|
974
|
+
.breadcrumb {
|
975
|
+
flex-wrap: wrap;
|
976
|
+
gap: 0.25rem;
|
977
|
+
}
|
978
|
+
|
979
|
+
.breadcrumb-item:not(:last-child)::after {
|
980
|
+
margin-left: 0.25rem;
|
981
|
+
}
|
982
|
+
}
|
983
|
+
</style>
|