docs: improve doc rendering
Change-Id: I6a6a6964b1def9e8e9109fbd9319fa32595f1b72
This commit is contained in:
parent
781e2b5534
commit
fd85edb582
10 changed files with 1442 additions and 43 deletions
40
docs/supplemental/css/override.css
Normal file
40
docs/supplemental/css/override.css
Normal 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;
|
||||
}
|
||||
}*/
|
||||
|
||||
1
docs/supplemental/js/vendor/highlight.js
vendored
1
docs/supplemental/js/vendor/highlight.js
vendored
File diff suppressed because one or more lines are too long
4
docs/supplemental/partials/footer-content.hbs
Normal file
4
docs/supplemental/partials/footer-content.hbs
Normal 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>
|
||||
2
docs/supplemental/partials/head-styles.hbs
Normal file
2
docs/supplemental/partials/head-styles.hbs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
|
||||
<link rel="stylesheet" href="{{{uiRootPath}}}/css/override.css">
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue