docs: improve doc rendering

Change-Id: I6a6a6964b1def9e8e9109fbd9319fa32595f1b72
This commit is contained in:
puck 2025-06-23 12:22:20 +00:00
parent 781e2b5534
commit fd85edb582
10 changed files with 1442 additions and 43 deletions

View file

@ -0,0 +1,40 @@
body {
padding-top: 0 !important;
}
.toolbar {
top: 0 !important;
}
.nav-container {
top: 0 !important;
}
@media screen and (min-width: 1024px) {
.nav {
top: 0 !important;
height: 100vh !important;
}
}
.doc pre {
font-size: .8rem !important;
}
.shiki {
margin-left: -0.875em !important;
}
/*
.doc {
max-width: none;
}
@media screen and (min-width: 1024px) {
.doc {
max-width: none;
}
.paragraph {
max-width: 40rem;
}
}*/

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
<footer class="footer">
<p>This page's theme is derived from the Antora default UI, with changes available in <a href="https://puck.moe/git/zilch/tree/docs">Git</a>.</p>
<p>The source code for the default UI is licensed under the terms of the MPL-2.0 license.</p>
</footer>

View file

@ -0,0 +1,2 @@
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/override.css">

View file

@ -1,17 +1 @@
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<div class="navbar-item">
zilch
</div>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
</div>
</nav>
</header>